<div style="color: rgb(0, 0, 0);"><div><font face="courier new" size="2">>>usually libs should contain not just search paths but also the libraries<br></font><span style="font-family: 'courier new'; font-size: small;">></span><font face="courier new" size="2">>to be linked, e.g. in config_host.mk with a system nss i get:<br></font><span style="font-family: 'courier new'; font-size: small;">></span><font face="courier new" size="2">><br></font><span style="font-family: 'courier new'; font-size: small;">></span><font face="courier new" size="2">>export NSS_LIBS=$(gb_SPACE)-lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4<br></font><span style="font-family: 'courier new'; font-size: small;">></span><font face="courier new" size="2">>-lplc4 -lnspr4 -lpthread -ldl<br></font><span style="font-family: 'courier new'; font-size: small;">></span><font face="courier new" size="2">><br></font><span style="font-family: 'courier new'; font-size: small;">></span><font face="courier new" size="2">>also i guess only Sun ld knows -R, the GNU ld equivalent is -Wl,-rpath,<br></font></div><div style="font-size: 12px;"><span style="font-family: 'courier new'; font-size: small;">></span></div><div style="font-size: 12px;"><span style="font-family: 'courier new'; font-size: small;">></span><font face="courier new">Well done!</font></div><div times="" new="" roman';="" font-size:="" medium;'="" style="font-size: 12px;"><span style="font-family: 'courier new'; font-size: small;">></span><font face="courier new">With this env the build went on the unopkg.bin!<br></font><span style="font-family: 'courier new'; font-size: small;">></span><font face="courier new"><br></font><div><span style="font-family: 'courier new'; font-size: small;">></span><font face="courier new">CONFIGURE_ENV += NSS_CFLAGS=-I/usr/include/mps</font></div><div><span style="font-family: 'courier new'; font-size: small;">></span><font face="courier new">CONFIGURE_ENV += NSS_LIBS="-Wl,-rpath,/usr/lib/mps -L/usr/lib/mps -lssl3 -lsmime3 -lnss3 -</font><span style="font-family: 'courier new'; font-size: small;">></span><span style="font-family: 'courier new';">lnssutil3 -lplds4 -lplc4 -lnspr4 -lpthread -ldl"</span></div><div><span style="font-family: 'courier new'; font-size: small;">></span><span style="font-family: 'courier new'; font-size: small;">></span></div></div><div style="font-size: 12px;"><span style="font-family: 'courier new'; font-size: small;">></span><font face="courier new">I prefer to use my userland Makefile options instead of modifying the solaris.mk</font></div><div style="font-size: 12px;"><span style="font-family: 'courier new'; font-size: small;">></span></div><div style="font-size: 12px;"><span style="font-family: 'courier new'; font-size: small;">></span><font face="courier new">Now the build is going on.....let's wait and see... ;)<br></font><span style="font-family: 'courier new'; font-size: small;">></span><font face="courier new"><br></font><span style="font-family: 'courier new'; font-size: small;">></span><font face="courier new">Gabriele.</font></div><div style="font-size: 12px;"><font face="courier new"><br></font></div><div style="font-size: 12px;"><font face="courier new"><br></font></div></div><div><font face="courier new"><span style="font-size: 12px;">Ok, it stopped later with this:</span><br><br></font><div><span style="font-size: 12px;"><font face="courier new">[build LNK] Executable/pluginapp.bin</font></span></div><div><span style="font-size: 12px;"><font face="courier new">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/g++     -Wl,-z,origin '-Wl,-rpath,$ORIGIN:$ORIGIN/../ure-link/lib' -Wl,-rpath-link,$O/lib -z nodefs   $W/CxxObject/extensions/source/plugin/unx/npwrap.o $W/CxxObject/extensions/source/plugin/unx/npnapi.o     -Wl,--start-group $O/lib/libplugcon.a -Wl,--end-group -Wl,--no-as-needed  -lm -lnsl -lsocket  -lXm -lXt -lXext -lX11 -ldl  -lgthread-2.0 -lpthread -lglib-2.0   -R/usr/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgdk_pixbuf_xlib-2.0 -lgmodule-2.0 -lpthread -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0   -R/usr/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0   -luno_sal -o $W/LinkTarget/Executable/pluginapp.bin</font></span></div><div><span style="font-size: 12px;"><font face="courier new">/usr/gnu/bin/ld: cannot find -luno_sal</font></span></div><div><span style="font-size: 12px;"><font face="courier new">collect2: ld returned 1 exit status</font></span></div><div><span style="font-size: 12px;"><font face="courier new"><br></font></span></div><div><font face="courier new"><span style="font-size: 12px;">I guess I'm missing a library....not built?</span></font></div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 12px;"><br></div></div>