libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do I debug this broken link?


From: Bruce Korb
Subject: How do I debug this broken link?
Date: Sat, 13 Jul 2013 10:13:52 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7

The problem is with xml2ag:

$ for f in autogen getdefs columns xml2ag ; \
do echo $f; \
   ldd /usr/local/bin/$f | fgrep libopts.so ; \
done
autogen
        libopts.so.25 => /usr/local/lib64/libopts.so.25 (0x00007ff4c0168000)
getdefs
        libopts.so.25 => /usr/local/lib64/libopts.so.25 (0x00007fcc0c618000)
columns
        libopts.so.25 => /usr/local/lib64/libopts.so.25 (0x00007ff7ff680000)
xml2ag
        libopts.so.25 => /usr/lib64/libopts.so.25 (0x00007fc6c4918000)

The source Makefile.am uses "libopts.la" the same way as other executables:

$ fgrep _LDADD {getdefs,xml2ag}/Makefile.am
getdefs/Makefile.am:getdefs_LDADD   = $(top_builddir)/autoopts/libopts.la
xml2ag/Makefile.am:xml2ag_LDADD    = $(top_builddir)/autoopts/libopts.la 
$(LIBXML2_LIBS)

And the Makefile's themselves look reasonable:

getdefs$(EXEEXT): $(getdefs_OBJECTS) $(getdefs_DEPENDENCIES) 
$(EXTRA_getdefs_DEPENDENCIES)
        @rm -f getdefs$(EXEEXT)
        $(AM_V_CCLD)$(LINK) $(getdefs_OBJECTS) $(getdefs_LDADD) $(LIBS)

xml2ag$(EXEEXT): $(xml2ag_OBJECTS) $(xml2ag_DEPENDENCIES) 
$(EXTRA_xml2ag_DEPENDENCIES)
        @rm -f xml2ag$(EXEEXT)
        $(AM_V_CCLD)$(LINK) $(xml2ag_OBJECTS) $(xml2ag_LDADD) $(LIBS)

What should I be looking at to determine the cause of the brokenness?
Thank you!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]