php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #12336 Unable to load dynamic library liboci8.so
Submitted: 2001-07-24 09:26 UTC Modified: 2002-07-10 12:24 UTC
From: Pavel dot Zakouril at mff dot cuni dot cz Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.0.6-4.2.1 OS: UnixWare 7.1.1
Private report: No CVE-ID: None
 [2001-07-24 09:26 UTC] Pavel dot Zakouril at mff dot cuni dot cz
I am trying to get working oci8 as a dynamic (shared) module. When I build a static oci8 support, everything works fine. But when I switch to dynamic:

export CC=cc; ./configure --with-oci8=shared --with-apxs -without-mysql

compilation and installations proceeds O.K., but when I try to load liboci8.so in my PHP script, I obtain the following message:

Warning: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20001222/liboci8.so' - dynamic linker:
/usr/local/sbin/httpd: relocation error: symbol not found: lio_listio64; referenced from:
/u01/app/oracle/product/8.1.6/lib/libclntsh.so.8.0 in /usr/www/mff/oratest.htm on line 26

What can be wrong ?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-18 05:37 UTC] derick@php.net
please try the latest CVS snapshot from snaps.php.net and report back if it fixes the problem for you.

Derick
 [2002-06-19 04:40 UTC] Pavel dot Zakouril at mff dot cuni dot cz
Already solved: php (as well as apache) must be configured with EXTRA_LIBS=-lthread. It is the same problem as desribed on page http://www.php.net/manual/en/ref.oci8.php but library name is libthread (UnixWare) instead of libpthread (Linux ?). IMHO this information should be included in INSTALL or README files.
 [2002-07-10 12:24 UTC] nohn@php.net
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a documentation 
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 22:01:28 2025 UTC