Bug 159221 - RFE: track libtool .la dependencies
RFE: track libtool .la dependencies
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Paul Nasrat
Mike McLean
: FutureFeature
Depends On:
Blocks: 153935
  Show dependency treegraph
Reported: 2005-05-31 13:54 EDT by Nalin Dahyabhai
Modified: 2007-11-30 17:11 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-11-06 10:44:49 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Nalin Dahyabhai 2005-05-31 13:54:26 EDT
Description of problem:
A libtool .la file lists the .la files on which it depends using their exact
paths -- if the depended-on .la files is removed, the dependent .la file is
rendered useless.  This causes bugs like bug #159144 to just pop up from time to

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Remove /usr/lib/libxml2.la from your system, or move it elsewhere.
2. Verify that /usr/lib/libxmlsec1-openssl.la lists /usr/lib/libxml2.la in its
   dependency_libs list.
3. Try to build a program using libtool:
   cat > foo.c << EOF
   int main(int argc, char **argv) { return 0; }
   libtool --mode=compile --tag=CC cc -o foo.lo -c foo.c
   libtool --mode=link    --tag=CC cc -o foo foo.lo -lxmlsec1-openssl
Actual results:
libtool: link: cannot find the library `/usr/lib/libxml2.la'

Expected results:

Additional info:
Examples of how to do this are attachment #112735 [details] and attachment #112738 [details],
attached to bug #153935.
Comment 1 Jeff Johnson 2005-07-13 08:12:29 EDT
Scripts added to rpm-4_4, no plumbing yet.
Comment 2 Jeff Johnson 2005-11-06 10:44:49 EST
Fixed in cvs, will be in rpm-4.4.3-0.38 when built.

Note You need to log in before you can comment on or make changes to this bug.