Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Oracle 8i/Linux: Trouble compiling OCI samples
Hello:
I've installed Oracle 8i enterprise edition on a Linux server and am trying to get going with OCI calls from C. I'm trying to compile the demos, but for some reason I'm getting some errors. For example:
make -f demo_rdbms.mk build EXE=cdemo OBJS=cdemo1.o
/home/oracle/oracle8i/bin/echodo /usr/bin/gcc
-L/home/oracle/oracle8i/lib/ -L/home/oracle/oracle8i/rdbms/lib -o cdemo
cdemo1.o -lclntsh /home/oracle/oracle8i/lib/nautab.o
/home/oracle/oracle8i/lib/naeet.o /home/oracle/oracle8i/lib/naect.o /
...
/usr/bin/ld: warning: type and size of dynamic symbol `ofetch' are not
defined
/usr/bin/ld: warning: type and size of dynamic symbol `obndrv' are not
defined
/usr/bin/ld: warning: type and size of dynamic symbol `oerhms' are not
defined
...
Looks like a required library isn't getting linked in?
My ORACLE_HOME is set to /home/oracle/oracle8i
ORACLE_BASE is /usr/local/oracle
LD_LIBRARY_PATH is /lib:/usr/lib:/home/oracle/oracle8i/lib
Any ideas? Thanks in advance...
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Mon Mar 27 2000 - 22:30:21 CST
![]() |
![]() |