On Thu, Mar 4, 2010 at 8:13 PM, Kevin Reinholz <kreinholz@xxxxxxxxx> wrote: > > g++ -shared -nostdlib -Wl,-M -Wl,.libs/libcoolkeypk11.so.exp -o > .libs/libcoolkeypk11.so /usr/lib/crti.o /usr/lib/values-Xa.o > /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/crtbegin.o > .libs/libcoolkeypk11_la-coolkey.o .libs/libcoolkeypk11_la-dllmain.o > .libs/libcoolkeypk11_la-locking.o .libs/libcoolkeypk11_la-log.o > .libs/libcoolkeypk11_la-machdep.o .libs/libcoolkeypk11_la-object.o > .libs/libcoolkeypk11_la-PKCS11Exception.o .libs/libcoolkeypk11_la-slot.o > -Wl,-R -Wl,/usr/local/lib -Wl,-R -Wl,/usr/sfw/lib -L/usr/local/lib > -lckyapplet -ldl -lz -L/usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3 > -L/usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/../../.. -L/usr/sfw/lib > -lstdc++ -lm -lgcc_s /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/crtend.o > /usr/lib/crtn.o This is the command-line that links libs/libcoolkeypk11.so. It uses the compiler (g++) to link, which is good. However, it uses -nostdlib and has a bunch of .o files with "crt" in their names. I am not familiar with them. Sorry... I would try removing those as well as -lstdc++ and -lgcc_s from the command line. Wan-Teh _______________________________________________ Coolkey-devel mailing list Coolkey-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/coolkey-devel