php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5665 Oracle error
Submitted: 2000-07-18 13:09 UTC Modified: 2000-09-06 16:32 UTC
From: mark dot faine at msfc dot nasa dot gov Assigned:
Status: Closed Package: Oracle related
PHP Version: 4.0 Latest CVS (18/07/2000) OS: Solaris 2.6
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mark dot faine at msfc dot nasa dot gov
New email:
PHP Version: OS:

 

 [2000-07-18 13:09 UTC] mark dot faine at msfc dot nasa dot gov
If I compile NES without Oracle then it works just fine but if I compile it with Oracle then I get an error when starting the server:  referenced symbol: opinit not found.  I assume this must be from some oracle library.  The Oracle version is 7.3

Thanks
Mark

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-24 12:44 UTC] hholzgra at cvs dot php dot net
type changed to oracle
 [2000-08-23 05:39 UTC] sniper@php.net
Please attach your configure line here.

--Jani
 [2000-08-23 19:23 UTC] sniper@php.net
Feedback:
--------

Configure line follows

./configure --with-nsapi=/home/web_server/netscape/suitespot 
--with-oracle=/home1/app/oracle/product/732
--enable-sigchild
--enable-libgcc
--enable-magic-quotes
--enable-track-vars
--enable-trans-sid
--with-openssl
--disable-debug
--enable-calendar
--without-mysql
--enable-ftp 
--with-gnu-ld
                                          

Just for the record here is the output of ldd also:

starbase# ldd libphp4.so
        libpam.so.1 =>   /usr/dt/lib/libpam.so.1
        libstdc++.so.2.10.0 =>   /usr/local/lib/libstdc++.so.2.10.0
        libdl.so.1 =>    /lib/libdl.so.1
        libclntsh.so.1.0 =>
/home1/app/oracle/product/732/lib/libclntsh.so.
1.0
        libm.so.1 =>     /lib/libm.so.1
        libnsl.so.1 =>   /lib/libnsl.so.1
        libsocket.so.1 =>        /lib/libsocket.so.1
        libresolv.so.2 =>        /lib/libresolv.so.2
        libc.so.1 =>     /lib/libc.so.1
        libmp.so.2 =>    /lib/libmp.so.2

I've been playing a lot with the configure line and also with my
LD_LIBRARY_PATH, and other environment settings trying to be sure that this
is not the cause.


 [2000-08-23 20:06 UTC] sniper@php.net
Answer: 

The symbol "opinit" is missing from Oracle's libclntsh.so.1.0 file. 
Check to see if $ORACLE_HOME/bin/genclntsh has "opinit". If not, add "opinit" before the string "orlon", save the original libclntsh.so.1.0, and run "genclntsh" which will regenerate the libclntsh.so.1.0 to include "opinit". 

--

This was a quick google search result. Url below:

http://help.netscape.com/kb/corporate/19990108-49.html

Try it out. It should fix this problem.

--Jani
 [2000-09-06 13:44 UTC] sniper@php.net
What is the status with this? Is it fixed?

--Jani
 [2000-09-06 16:32 UTC] sniper@php.net
Feedback:
-----------

>Nope, as far as I know it has all the experts stumped.
>
>I've been over it a hundred times and can't figure it out. If you have any
>more questions about it I'd be glad to answer them.
-----------

Well, the problem is in the Oracle libraries, not in PHP so I will close
this bug report. But if you find that this is not the case feel
free to reopen this.
 
I base my assumption to the fact that myself and other's are able
to compile and run php4 and do not get this error.

Ask Oracle helpdesk (or whatever it's called) for more help.
And if you get this solved, please add some info here too?
 
--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 21:01:27 2024 UTC