Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Seg. Fault from OCI program on Linux using shared lib

Re: Seg. Fault from OCI program on Linux using shared lib

From: Vadim Grepan <kezal_at_mail.ru>
Date: Mon, 25 Oct 1999 16:39:16 +0400
Message-ID: <7v1j50$ihs$1@storm.comstar.ru>


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



kezal_at_mail.ru
2:5020/653_at_fidonet.org Received on Mon Oct 25 1999 - 07:39:16 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US