Gabriele Bulfon wrote: > Ok, I dumped the output of gmake publish and found the lines of linkage: > /bin/bash ./libtool --mode=link /usr/sfw/bin/g++ -m32 -R/usr/sfw/lib > -L/usr/sfw/lib -R/usr/sfw/lib -L/usr/sfw/lib -o libgmpxx.la -rpath /usr/lib > -R/usr/sfw/lib -L/usr/sfw/lib -version-info 5:2:1 dummy.lo cxx/isfuns.lo > cxx/ismpf.lo cxx/ismpq.lo cxx/ismpz.lo cxx/ismpznw.lo cxx/osdoprnti.lo > cxx/osfuns.lo cxx/osmpf.lo cxx/osmpq.lo cxx/osmpz.lo libgmp.la > /usr/sfw/bin/g++ -shared -nostdlib /usr/lib/crti.o /usr/lib/values-Xa.o > /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/crtbegin.o .libs/dummy.o > cxx/.libs/isfuns.o cxx/.libs/ismpf.o cxx/.libs/ismpq.o cxx/.libs/ismpz.o > cxx/.libs/ismpznw.o cxx/.libs/osdoprnti.o cxx/.libs/osfuns.o > cxx/.libs/osmpf.o cxx/.libs/osmpq.o cxx/.libs/osmpz.o -Wl,-R > -Wl,/sources/userlands/xstream-userland-gate/components/gnump/build/i86/.libs > -Wl,-R -Wl,/usr/sfw/lib -Wl,-R -Wl,/usr/sfw/lib -L/usr/sfw/lib > ./.libs/libgmp.so -L/usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3 > -L/usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/../../.. > /usr/sfw/lib/libstdc++.so -lm -lgcc_s > /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/crtend.o /usr/lib/crtn.o -m32 > -Wl,-h -Wl,libgmpxx.so.4 -o .libs/libgmpxx.so.4.1.2 > Looks like the /usr/sfw/lib are there, but maybe something is superseding? > I noticed the "-rpath" in libtool...
libtool is too smart for its own good, typically. I don't have enough expertise to help you with it, and there are probably better forums for getting help there, but you should be able to check what's going on at the link editing stage by setting LD_DEBUG=args,libs in the environment. Run "LD_DEBUG=help ls" to get some documentation for the variable. Danek _______________________________________________ pkg-discuss mailing list pkg-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/pkg-discuss