Bug #12336 Updated: Unable to load dynamic library liboci8.so
| From: | nohn@php.net | Date: | Wed, 10 Jul 2002 16:24:49 +0000 |
| Subject: | Bug #12336 Updated: Unable to load dynamic library liboci8.so | ||
| References: | 1 | Groups: | php.bugs php.doc |
| Request: | Send a blank email to php-bugs+get-13745@lists.php.net to get a copy of this message | ||
ID: 12336
Updated by: nohn@php.net
Reported By: Pavel.Zakouril@mff.cuni.cz
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: UnixWare 7.1.1
PHP Version: 4.0.6-4.2.1
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2002-06-19 04:40:31] Pavel.Zakouril@mff.cuni.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-06-18 05:37:00] derick@php.net
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@mff.cuni.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 ?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=12336&edit=1