[PHP-DOC] Bug #12336 Updated: Unable to load dynamic library liboci8.so From: derick <email protected>
Date: 06/19/02

 ID: 12336
 Updated by: derick <email protected>
 Reported By: Pavel.Zakouril <email protected>
 Status: Open
-Bug Type: OCI8 related
+Bug Type: Documentation problem
 Operating System: UnixWare 7.1.1
 PHP Version: 4.0.6-4.2.1

Previous Comments:
------------------------------------------------------------------------

[2002-06-19 04:40:31] Pavel.Zakouril <email protected>

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-06-18 05:37:00] derick <email protected>

please try the latest CVS snapshot from snaps.php.net and report back
if it fixes the problem for you.

Derick

------------------------------------------------------------------------

[2001-07-24 09:26:36] Pavel.Zakouril <email protected>

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 ?

------------------------------------------------------------------------

-- 
Edit this bug report at http://bugs.php.net/?id=12336&edit=1