Problems finding libraries during linking

From: Daniel <dlrubinANTI-SPAM_at_yahoo.com>
Date: Thu, 21 Dec 2000 22:37:17 -0800
Message-ID: <3A42F69D.649B7E82_at_yahoo.com>


[Quoted] [Quoted] I'm trying to statically link libraries associated with an application using Oracle PRO*C, but get the following errors related to being unable [Quoted] to find some of the libraries. I have LD_LIBRARY_PATH set to the Oracle [Quoted] lib directory. Here's my link line and the errors:

/usr/local/bin/g++ -o SubmitData SubmitData.o

[Quoted] [Quoted] [Quoted] [Quoted] [Quoted] [Quoted] [Quoted] [Quoted] [Quoted] [Quoted] [Quoted] [Quoted] [Quoted] [Quoted] [Quoted] -L/usr/pubsw/apps/oracle/8.1.6/lib/ -lclntsh   `cat

/usr/pubsw/apps/oracle/8.1.6/lib/sysliblist` -R
/usr/pubsw/apps/oracle/8.1.6/lib -laio -lm -lthread -static
-R/usr/pubsw/apps/oracle/8.1.6/lib ../yacgi12/ lib/libyacgi.a -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/ -lstdc++
ld: fatal: library -lclntsh: not found
ld: fatal: library -ldl: not found
ld: fatal: library -lsched: not found
ld: fatal: library -laio: not found
ld: fatal: library -lthread: not found
ld: fatal: File processing errors. No output written to SubmitData
collect2: ld returned 1 exit status
make[1]: *** [cppbuild] Error 1

Any ideas?

Thanks,
Daniel

--
To reply to me directly, please remove "ANTISPAM" from the reply-to
email address.



--
To reply to me directly, please remove "ANTISPAM" from the reply-to
email address.
Received on Fri Dec 22 2000 - 07:37:17 CET

Original text of this message