Steve Szabo <[EMAIL PROTECTED]> writes:
> celeborn [/home/celeborn/src/apache_1.3.23] $ echo $LD_LIBRARY_PATH
> /app/tcl/lib:/usr/local/lib
This isn't enough - this is for programs that are being run, not
compiled.
> gcc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> `../apaci` -o gen_test_char gen_test_char.o -ltcl8.3 -lm -lsocket -lnsl
> /usr/local/bin/ld: cannot find -ltcl8.3
It's missing the -L/app/tcl/lib
What you want, I think is:
`LIBRARY_PATH'
The value of `LIBRARY_PATH' is a colon-separated list of
directories, much like `PATH'. When configured as a native
compiler, GCC tries the directories thus specified when searching
for special linker files, if it can't find them using
`GCC_EXEC_PREFIX'. Linking using GCC also uses these directories
when searching for ordinary libraries for the `-l' option (but
directories specified with `-L' come first).
Try that!
--
David N. Welton
Consulting: http://www.dedasys.com/
Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
Apache Tcl: http://tcl.apache.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]