-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hi,
i'm having trouble understanding something about the open web server build
process...
for example, the compiled libnsfc is in
src/support/filecache/HP-UXB.11.11_DBG.OBJ/libnsfc.sl
and libns-httpd is in
src/server/webservd/HP-UXB.11.11_DBG.OBJ/libns-httpd40.sl
then, libShtml in src/server/plugins/shtml/ links to libns-httpd40. it
specifies the path to find it using -L:
/opt/aCC/bin/aCC -b -o HP-UXB.11.11_DBG.OBJ/libShtml.sl \
[...] \
-mt -Wl,+s -L../../webservd/HP-UXB.11.11_DBG.OBJ
-L../../../../internal/HP-UXB.11.11_DBG.OBJ/lib -L/opt/ows-support/lib \
-lns-httpd40 -lplc4 -lplds4 -lnspr4 -lpthread -lnsl
-Wl,+b,\$ORIGIN:\$ORIGIN/../lib:\$ORIGIN/../../lib:
however, it doesn't specify (in LOCAL_LIBDIRS) the location of libns-httpd's
shared library dependencies, such as libnsfc. as a result, the build fails:
/usr/ccs/bin/ld: Can't open
../../support/filecache/HP-UXB.11.11_DBG.OBJ/libnsfc.sl
/usr/ccs/bin/ld: No such file or directory
(libns-httpd40 requires libnsfc, but there's no -L for it and no suitable
rpath.)
i looked at the defines and rules for other OSs, and i don't understand how
this problem is solved on e.g. Solaris. the only RPATH set is
'$ORIGIN:$ORIGIN/../lib:$ORIGIN/../../lib', and this doesn't seem like it would
include the various OBJDIRS containing dependent libraries.
what am i missing here?
thanks,
river.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (HP-UX)
iEYEARECAAYFAkmZV5wACgkQIXd7fCuc5vLjRwCfQ2EVqGEDJ4hETX+dSTOajb1d
F1oAn2Y8UjoT/Hzn+BGxkiN6QDKXLEtG
=K1c5
-----END PGP SIGNATURE-----