On Fri, 15 Dec 2006, Ralf Wildenhues wrote: > Your libtool has link_all_deplibs=no (see the --config output). This > shows that it's Debian's modified libtool. It avoid linking against > indirect dependencies. This change has not made it into GNU Libtool > because it has bugs, and also because it has some different semantics > which would need to be documented. From the information you posted, > both of these alternative possibilities exist: > > 1) > You cannot be sure anymore that a library (or program) links against the > dependencies of dependent libraries directly. So if you need those > depdepls (if you allow me to call them that way), then with Debian's > libtool you need to specify them explicitly on the command line. > > 2) > If you do not need them in your program, then you just observe a known > bug in Debian's libtool: while linking against uninstalled libraries, > the paths to depdepls are not found correctly, because libtool does not > walk the dependency path. > > I think you are seeing (2). In that case you could work around the > issue by linking directly against the needed libs, by adding these > arguments to the link (if you use Automake, add them to > create_account_LDADD): > > /scratch/gnometinderbox/jhautobuild/build-output/lib/xulrunner-1.8.1.1/libnss3.la > > /scratch/gnometinderbox/jhautobuild/build-output/lib/xulrunner-1.8.1.1/libsmime3.la > > /scratch/gnometinderbox/jhautobuild/build-output/lib/xulrunner-1.8.1.1/libssl3.la > > /scratch/gnometinderbox/jhautobuild/build-output/lib/xulrunner-1.8.1.1/libsoftokn3.la > > Or you could just avoid Debian's libtool. You could also file a bug > with them (point to this thread then, please).
Using a vanilla libtool (compiled using jhbuild's bootstrap moduleset) everything links fine. I'm not sure whether it's worth filing a bug on Debian's libtool, since with jhbuild you're expected to use its bootstrapped auto* and libtool. Thanks for your help in diagnosing this, James Andrewatha -- # TRS-80 trs80(a)ucc.gu.uwa.edu.au #/ "Otherwise Bub here will do \ # UCC Wheel Member http://trs80.ucc.asn.au/ #| what squirrels do best | [ "There's nobody getting rich writing ]| -- Collect and hide your | [ software that I know of" -- Bill Gates, 1980 ]\ nuts." -- Acid Reflux #231 / _______________________________________________ Bug-libtool mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-libtool
