GNOME Bugzilla – Bug 60890
libxslt 1.0.4: xslt-config gives incorrect link information on solaris
Last modified: 2009-08-15 18:40:50 UTC
On my solaris install, xslt-config --libs gives the following information: [3.1.9]michaels@iiidev1:/opt/apps/embperl2-xslt/libs/libxslt/bin> ./xslt-config --libs -L/opt/apps/embperl2-xslt/libs/libxslt/libxslt-1.0.4/lib -L/opt/apps/embperl2-xslt/libs/libxml2/libxml2-2.4.5/lib -R/opt/apps/embperl2-xslt/libs/libxml2/libxml2-2.4.5/lib -L/opt/apps/embperl2-xslt/libs/zlib/lib -R/opt/apps/embperl2-xslt/libs/zlib/lib -L/lib -lxslt -lxml2 -lz -lm -lsocket -lnsl I find that libxslt does not link correctly unless I add -R/opt/apps/embperl2-xslt/libs/libxslt/libxslt-1.0.4/lib to the list above. For comparison, with libxml2, xml2-config --libs gives: [3.1.9]michaels@iiidev1:/opt/apps/embperl2-xslt/libs/libxml2/bin> ./xml2-config --libs -L/opt/apps/embperl2-xslt/libs/libxml2/libxml2-2.4.5/lib -R/opt/apps/embperl2-xslt/libs/libxml2/libxml2-2.4.5/lib -lxml2 -L/opt/apps/embperl2-xslt/libs/zlib/lib -R/opt/apps/embperl2-xslt/libs/zlib/lib -lz -L/lib -lm -lsocket -lnsl IE in this case the necessary -R line is included.
Okay, I think I have fixed it in CVS, as I can't check grab the change or wait for next release: http://cvs.gnome.org/bonsai/cvsquery.cgi?module=libxslt&branch=HEAD&branchtype=match&dir=libxslt&file=&filetype=match&who=veillard&whotype=match&sortby=Date&hours=&date=explicit&mindate=10%2F04%2F01+09%3A49&maxdate=10%2F04%2F01+09%3A51&cvsroot=%2Fcvs%2Fgnome thanks, Daniel
Okay this should be fixed in the last releases. Note that Gary Pennington now provides Solaris binaries, Daniel