Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Seg. Fault from OCI program on Linux using shared lib
Hello Matt!
Matt Gianni пишет в сообщении ...
>OS: Linux (RH-6.0)
>VER: Oracle 8.1.5
>
I have the same configuration (plus PHP3). During compiling Apache+PHP3 I've
got
similar warnings. AFAIK there are two possibilities to interaction with
Oracle - by native Oracle procedure and OCI-interface. Warnings we've seen
testify about missing some (or all) Oracle procedures in 8.1.5-libs (IMHO)
But all OCI-functions work fine, I use their in PHP-scripts.
Also I've compiled successfully some demos from ../rdbms/demo - e.g. cdemolb2.c by string like
make -f demo_rdbms.mk build EXE=cdemolb2 OBJS=cdemolb2.o
>I'm just beginning to work with the OCI, but I'm having a hard time
>linking an OCI program using the "shared library". According to the
>comments in demo_rdbms.mk, one should be able to link an OCI app with the
>following command:
>
>make -f demo_rdbms.mk build EXE=app OBJS="app.o ..."
>
>every OCI call, and the executable produces a segmentation fault at the
>first OCI call when run.
>
>Here are the warnings I get at link time:
>
>/usr/bin/ld: warning: type and size of dynamic symbol `olog' are not
>defined
>/usr/bin/ld: warning: type and size of dynamic symbol `ocof' are not
....
HTH Rgds, Vadim Grepan
![]() |
![]() |