<div><div style="color: rgb(0, 0, 0); font-size: 12px; font-family: Verdana;"><span style="font-family: monospace; font-size: medium;">>hmm... so vcl is supposed to be linked against NSS/NSPR libraries but</span><br style="font-family: monospace; font-size: medium;"><span style="font-family: monospace; font-size: medium;">>somehow that doesn't work for you...</span><br style="font-family: monospace; font-size: medium;">><br style="font-family: monospace; font-size: medium;"><span style="font-family: monospace; font-size: medium;">>what is really weird is that it fails on linking the executable, it</span><br style="font-family: monospace; font-size: medium;"><span style="font-family: monospace; font-size: medium;">>should really fail when linking vcl library already.</span><br style="font-family: monospace; font-size: medium;">><br style="font-family: monospace; font-size: medium;"><span style="font-family: monospace; font-size: medium;">>can you check that the link command lines use -Wl,-z,defs ?</span><br style="font-family: monospace; font-size: medium;"><span style="font-family: monospace; font-size: medium;">>apparently not, try to copy the relevant lines from</span><br style="font-family: monospace; font-size: medium;"><span style="font-family: monospace; font-size: medium;">>gbuild/platform/linux.mk to solaris.mk.</span><br style="font-family: monospace; font-size: medium;">><br style="font-family: monospace; font-size: medium;"><span style="font-family: monospace; font-size: medium;">>the other problem is most likely that the libraries from the "nss"</span><br style="font-family: monospace; font-size: medium;"><span style="font-family: monospace; font-size: medium;">>module somehow have hidden visibility (i assume you are not using</span><br style="font-family: monospace; font-size: medium;"><span style="font-family: monospace; font-size: medium;">>--with-system-nss?)... if things work PR_Now should be exported like this:</span><br style="font-family: monospace; font-size: medium;">><br style="font-family: monospace; font-size: medium;"><span style="font-family: monospace; font-size: medium;">>> nm --defined-only -D -g solver/*/lib/libnspr4.so | grep PR_Now</span><br style="font-family: monospace; font-size: medium;"><span style="font-family: monospace; font-size: medium;">>0000000000039123 T PR_Now</span><br style="font-family: monospace; font-size: medium;">><br style="font-family: monospace; font-size: medium;"><span style="font-family: monospace; font-size: medium;">>you'll have to dig into the external build system there to figure out</span><br style="font-family: monospace; font-size: medium;"><span style="font-family: monospace; font-size: medium;">>why it doesn't work, the files are in workdir/*/UnpackedTarball/nss (or</span><br style="font-family: monospace; font-size: medium;"><span style="font-family: monospace; font-size: medium;">>if your distro has NSS packages try using --with-system-nss).</span><br style="font-family: monospace; font-size: medium;"><br style="font-family: monospace; font-size: medium;"></div><div><font face="courier new"><span style="font-size: 12px;">Analyzing better, I've seen my userland component Makefile for libreoffice, contains specific env:</span><br><br><div><span style="font-size: 12px;">CONFIGURE_ENV += NSS_CFLAGS=-I/usr/include/mps</span></div><div><span style="font-size: 12px;">CONFIGURE_ENV += NSS_LIBS="-L/usr/lib/mps -R/usr/lib/mps"</span></div><div><span style="font-size: 12px;">CONFIGURE_ENV += NPAPI_HEADERS_LIBS="-L/usr/lib"</span></div><div><span style="font-size: 12px;">CONFIGURE_ENV += NPAPI_HEADERS_CFLAGS="-I/usr/include/npapi"</span></div><div style="color: rgb(0, 0, 0); font-size: 12px;"><br></div><div style="color: rgb(0, 0, 0); font-size: 12px;">These are passed on at configure time.</div><div style="color: rgb(0, 0, 0); font-size: 12px;">But I can't see these linking options on the running link:</div><div style="color: rgb(0, 0, 0); font-size: 12px;"><br></div><div style="color: rgb(0, 0, 0); font-size: 12px;">S=/sources/userlands/xstream-userland-gate/components/libreoffice/libreoffice-4.1.0.1 && O=$S/solver/unxsogi.pro && W=$S/workdir/unxsogi.pro && mkdir -p $W/LinkTarget/Executable/ && /usr/gcc/4.4/bin/gcc -Wl,-z,origin '-Wl,-rpath,$ORIGIN:$ORIGIN/../ure-link/lib' -Wl,-rpath-link,$O/lib -Wl,-rpath-link,/lib:/usr/lib -Wl,-z,combreloc -L$O/lib -L/usr/gcc/4.4/lib -L/usr/local/bin -L/usr/dt/lib -L/usr/openwin/lib -Wl,-O1 $W/CObject/desktop/source/pkgchk/unopkg/unopkg_main.o -Wl,--start-group -Wl,--end-group -Wl,--no-as-needed -lm -lnsl -lsocket -lcomphelper -luno_sal -ltllo -lunopkgapp -o $W/LinkTarget/Executable/unopkg.bin</div></font></div><br></div>