Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Help compliling pro C
I wanted to compile my proc program in a static mode but I get the
following errors. I am having trouble with the libraries
-lclntsh and -lthread.
Can anyone help me with this problem?
Please email me with your solution to gollapal_at_brcsun0.tamu.edu
Thank you very much.
Here is the error I get when I try to compile If I don't put the -B static I can compile and run but I can't use it as a cgi script nor is is portable.
cc -B static -o census census.o
-L/net/brcsun15/srph4/app/oracle/product/7.3.2/lib -L. -lclntsh -lsql
-lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lsqlnet -lncr -lepc
-lnlsrtl3 -lc3v6 -lcore3 -lm -lthread -lcgic
ld: fatal: library -lclntsh: not found ld: fatal: library -lthread: not found ld: fatal: symbol `waitpid' is multiply defined: (file
(file
/net/brcsun15/srph4/app/oracle/product/7.3.2/lib/libsqlnet.a(sntp.o) and
file /usr/lib/libc.a(thr_stub.o));
ld: fatal: File processing errors. No output written to census
*** Error code 1
Received on Thu Mar 13 1997 - 00:00:00 CST
![]() |
![]() |