LD_LIBRARY_PATH is a Unix-PATH-format variable (that is, colon separated list of directory paths). Flags like "-L" do not belong there.
--On Monday, August 01, 2005 12:13 PM -0500 Jon Roberts <jon@jonanddeb.net> wrote:
setenv CC gcc setenv CFLAGS "-O -g" setenv CPPFLAGS "-I/usr/local/include" setenv LDFLAGS "-L/usr/local/lib" setenv LD_LIBRARY_PATH "/usr/local/lib"
I had to set the following things:
LDFLAGS="-L/usr/local/lib" LD_RUN_PATH=/usr/local/lib LD_LIBRARY_PATH="-L /usr/local/lib"
Your LD_LIBRARY_PATH looks incorrect, and you don't have LD_RUN_PATH
-- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc OpenLDAP Core Team http://www.openldap.org/project/