#15858 [Com]: Unable to load dynamic library liboci8.so
| From: | justin at emailalaska dot D0t dot net | Date: | Tue, 25 Feb 2003 05:14:52 +0000 |
| Subject: | #15858 [Com]: Unable to load dynamic library liboci8.so | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-34148@lists.php.net to get a copy of this message | ||
ID: 15858
Comment by: justin at emailalaska dot D0t dot net
Reported By: Pavel dot Zakouril at mff dot cuni dot cz
Status: No Feedback
Bug Type: OCI8 related
Operating System: UnixWare 7.1.1
PHP Version: 4.0.6-4.2.1
New Comment:
When running ./configure I get:
zend_hash_internal_pointer_reset_ex ext/standard/info.lo
zend_llist_sort sapi/cli/php_cli.lo
zend_ini_sort_entries ext/standard/info.lo
_convert_to_string ext/standard/info.lo
php_get_highlight_struct sapi/cli/php_cli.lo
UX:ld: ERROR: sapi/cli/php: fatal error: Symbol referencing errors. No
output written to sapi/cli/php
collect2: ld returned 1 exit status
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
[root@UNIX-1]/usr/local/source/php-4.3.1#make
/bin/sh libtool --silent --mode=compile gcc -I/usr/local/apache/include
-Isapi/apache/ -I/usr/local/source/php-4.3.1/sapi/apache/
-DPHP_ATOM_INC -I/usr/local/source/php-4.3.1/include
-I/usr/local/source/php-4.3.1/main -I/usr/local/source/php-4.3.1
-I/usr/local/source/php-4.3.1/Zend -I/usr/local/mysql/include
-I/usr/local/source/php-4.3.1/ext/xml/expat -DUW=700 -DUSE_HSREGEX
-DUSE_EXPAT -I/usr/local/source/php-4.3.1/TSRM -g -O2 -prefer-pic -c
/usr/local/source/php-4.3.1/sapi/apache/mod_php4.c -o
sapi/apache/mod_php4.lo
/usr/local/source/php-4.3.1/sapi/apache/mod_php4.c: In function
`apache_php_module_shutdown_wrapper':
/usr/local/source/php-4.3.1/sapi/apache/mod_php4.c:780: structure has
no member named `shutdown'
/usr/local/source/php-4.3.1/sapi/apache/mod_php4.c: In function
`php_child_exit_handler':
/usr/local/source/php-4.3.1/sapi/apache/mod_php4.c:801: structure has
no member named `shutdown'
make: *** [sapi/apache/mod_php4.lo] Error 1
[root@UNIX-1]/usr/local/source/php-4.3.1#
Any idas?
- Justin
Previous Comments:
------------------------------------------------------------------------
[2003-02-08 01:01:00] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
------------------------------------------------------------------------
[2003-01-29 09:32:20] maxim@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2002-10-17 07:59:02] Pavel dot Zakouril at mff dot cuni dot cz
Still unable to compile, even with file.h fixed and with latest php
snapshot. And I am sure I do not have two versions of Apache in my
machine. Compilation error follows:
gcc -I/usr/local/include -Isapi/apache/
-I/home/sw/php4-200210170300/sapi/apache/ -DPHP_ATOM_INC
-I/home/sw/php4-200210170300/include -I/home/sw/php4-200210170300/main
-I/home/sw/php4-200210170300 -I/home/sw/php4-200210170300/Zend
-I/u01/app/oracle/product/8.1.7/rdbms/public
-I/u01/app/oracle/product/8.1.7/rdbms/demo
-I/home/sw/php4-200210170300/ext/xml/expat -DUW=700 -DMOD_SSL=208110
-DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I/home/sw/php4-200210170300/TSRM -g
-Wall -c /home/sw/php4-200210170300/sapi/apache/mod_php4.c -fPIC -DPIC
-o sapi/apache/mod_php4.lo
/home/sw/php4-200210170300/sapi/apache/mod_php4.c: In function
`apache_php_module_shutdown_wrapper':
/home/sw/php4-200210170300/sapi/apache/mod_php4.c:788: structure has no
member named `shutdown'
/home/sw/php4-200210170300/sapi/apache/mod_php4.c: In function
`php_child_exit_handler':
/home/sw/php4-200210170300/sapi/apache/mod_php4.c:809: structure has no
member named `shutdown'
make: *** [sapi/apache/mod_php4.lo] Error 1
------------------------------------------------------------------------
[2002-10-07 18:46:21] sniper@php.net
This really looks like something to be pretty broken in
those header files. Try fixing this line:
#define FDIRECT 0x20 /* perform direct I/O/*/
to be:
#define FDIRECT 0x20 /* perform direct I/O */
(just remove that extra / in the comment)
This might not fix the rest of the problems, but at least it gets rid
of that one warning..which _might_ cause the other errors. And you
don't have e.g. two versions of Apache in your machine, by any chance?
------------------------------------------------------------------------
[2002-10-07 03:51:57] Pavel dot Zakouril at mff dot cuni dot cz
Lines 103-109 from file.h follow:
#define FAPPEND 0x08
#define FSYNC 0x10
#define FDIRECT 0x20 /* perform direct I/O/*/
#define FDSYNC 0x40 /* perform data synchronous I/O
*/
#define FNONBLOCK 0x80
/* LFS SUPPORT */
#define FLARGEFILE 0x80000
Full configure line used follows:
./configure --with-oci8=shared --with-apxs --without-mysql
--enable-sigchild --build=i486-sco-sysv5uw7 --host=i486-sco-sysv5uw7
--enable-debug --disable-mbstring
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/15858
--
Edit this bug report at http://bugs.php.net/?id=15858&edit=1