Re: undefined symbol:oci8_module_entry

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The error was after i restarted the apache, a generated error was issued as the following (it will be fixed if i configure the php without OCI8):
httpd: Syntax error on line 54 of /opt/apache2/conf/httpd.conf: Cannot load /opt/apache2/modules/libphp5.so into server: /opt/apache2/modules/libphp5.so: undefined symbol: oci8_module_entry”
I made 
 # make test TESTS=ext/oci8
The following results were obtained:

Build complete.
Don't forget to run 'make test'.

=====================================================================
CWD         : /opt/php-5.2.3
PHP         : /opt/php-5.2.3/sapi/cli/php
PHP_SAPI    : cli
PHP_VERSION : 5.2.3
ZEND_VERSION: 2.2.0
PHP_OS      : Linux - Linux PDN-Serv 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:30:39 EST 2005 i686
INI actual  : /opt/php-5.2.3
More .INIs  :
Extra dirs  :
=====================================================================
Running selected tests.
FAIL oci_bind_array_by_name() and invalid values 1 [ext/oci8/tests/array_bind_001.phpt]
FAIL oci_bind_array_by_name() and invalid values 2 [ext/oci8/tests/array_bind_002.phpt]
FAIL oci_bind_array_by_name() and invalid values 3 [ext/oci8/tests/array_bind_003.phpt]
FAIL oci_bind_array_by_name() and invalid values 4 [ext/oci8/tests/array_bind_004.phpt]
FAIL oci_bind_array_by_name() and invalid values 5 [ext/oci8/tests/array_bind_005.phpt]
FAIL oci_bind_array_by_name(), SQLT_CHR and default max_length [ext/oci8/tests/array_bind_006.phpt]
FAIL oci_bind_array_by_name() and invalid values 7 [ext/oci8/tests/array_bind_007.phpt]
FAIL oci_bind_array_by_name() and invalid values 8 [ext/oci8/tests/array_bind_008.phpt]
FAIL oci_bind_array_by_name() and invalid values 9 [ext/oci8/tests/array_bind_009.phpt]
FAIL oci_bind_array_by_name() and invalid values 8 [ext/oci8/tests/array_bind_010.phpt]
FAIL oci_bind_array_by_name(), SQLT_CHR, default max_length and empty array [ext/oci8/tests/array_bind_011.phpt]
FAIL oci_bind_array_by_name(), SQLT_CHR, default max_length and empty array [ext/oci8/tests/array_bind_012.phpt]
FAIL oci_bind_array_by_name(), SQLT_CHR, default max_length and empty array [ext/oci8/tests/array_bind_013.phpt]
FAIL oci_bind_array_by_name() and NUMBERs [ext/oci8/tests/array_bind_014.phpt]
FAIL oci_bind_array_by_name() and SQLT_ODT [ext/oci8/tests/array_bind_date.phpt]
FAIL oci_bind_array_by_name() and SQLT_ODT [ext/oci8/tests/array_bind_date1.phpt]
FAIL oci_bind_array_by_name() and SQLT_FLT [ext/oci8/tests/array_bind_float.phpt]
FAIL oci_bind_array_by_name() and SQLT_FLT [ext/oci8/tests/array_bind_float1.phpt]
FAIL oci_bind_array_by_name() and SQLT_INT [ext/oci8/tests/array_bind_int.phpt]
FAIL oci_bind_array_by_name() and SQLT_INT [ext/oci8/tests/array_bind_int1.phpt]
FAIL oci_bind_array_by_name() and SQLT_AVC [ext/oci8/tests/array_bind_str.phpt]
FAIL oci_bind_array_by_name() and SQLT_AVC [ext/oci8/tests/array_bind_str1.phpt]
FAIL binding empty values [ext/oci8/tests/bind_empty.phpt]
FAIL bind LONG field [ext/oci8/tests/bind_long.phpt]
FAIL bind LONG RAW field [ext/oci8/tests/bind_long_raw.phpt]
FAIL bind RAW field [ext/oci8/tests/bind_raw.phpt]
FAIL Bug #26133 (ocifreedesc() segfault) [ext/oci8/tests/bug26133.phpt]
FAIL Bug #27303 (OCIBindByName binds numeric PHP values as characters) [ext/oci8/tests/bug27303.phpt]
FAIL Bug #27303 (OCIBindByName binds numeric PHP values as characters) [ext/oci8/tests/bug27303_2.phpt]
FAIL Bug #27303 (OCIBindByName binds numeric PHP values as characters) [ext/oci8/tests/bug27303_3.phpt]
FAIL Bug #27303 (OCIBindByName binds numeric PHP values as characters) [ext/oci8/tests/bug27303_4.phpt]
FAIL Bug #32325 (Can't retrieve collection using OCI8) [ext/oci8/tests/bug32325.phpt]
FAIL Bug #35973 (Error ORA-24806 occurs when trying to fetch a NCLOB field) [ext/oci8/tests/bug35973.phpt]
FAIL Bug #36010 (Crash when executing SQL statment with lob parameter twice) [ext/oci8/tests/bug36010.phpt]
FAIL Bug #36096 (oci_result() returns garbage after oci_fetch() failed) [ext/oci8/tests/bug36096.phpt]
FAIL Bug #37581 (oci_bind_array_by_name clobbers input array when using SQLT_AFC, AVC) [ext/oci8/tests/bug37581.phpt]
FAIL Bug #38161 (oci_bind_by_name() returns garbage when Oracle didn't set the variable) [ext/oci8/tests/bug38161.phpt]
FAIL Bug #38173 (Freeing nested cursors causes OCI8 to segfault) [ext/oci8/tests/bug38173.phpt]
FAIL Bug #40078 (ORA-01405 when fetching NULL values using oci_bind_array_by_name()) [ext/oci8/tests/bug40078.phpt]
FAIL Bug #40415 (Using oci_fetchall with nested cursors) [ext/oci8/tests/bug40415.phpt]
FAIL connect/close/connect [ext/oci8/tests/close.phpt]
FAIL oci_new_collection() [ext/oci8/tests/coll_001.phpt]
FAIL oci_new_collection() + free() [ext/oci8/tests/coll_002.phpt]
FAIL oci_new_collection() + free() [ext/oci8/tests/coll_002_func.phpt]
FAIL collection methods [ext/oci8/tests/coll_003.phpt]
FAIL collection methods [ext/oci8/tests/coll_003_func.phpt]
FAIL oci_collection_assign() [ext/oci8/tests/coll_004.phpt]
FAIL oci_collection_assign() [ext/oci8/tests/coll_004_func.phpt]
FAIL ocinewcollection() [ext/oci8/tests/coll_005.phpt]
FAIL ocinewcollection() + free() [ext/oci8/tests/coll_006.phpt]
FAIL ocinewcollection() + free() [ext/oci8/tests/coll_006_func.phpt]
......
......


----- Original Message ----
From: Chris <dmagick@xxxxxxxxx>
To: jamal taweel <jtaweel75@xxxxxxxxx>
Cc: php-general@xxxxxxxxxxxxx
Sent: Monday, June 25, 2007 7:11:34 AM
Subject: Re:  undefined symbol:oci8_module_entry


jamal taweel wrote:
> Hi, 
>  
> I have a problem when installing PHP 5 .2.3 with oracle 10.2.0, where as I do the following:
> ·         ./configure --prefix=/usr/local/php5 --with-apxs2=/opt/apache2/bin/apxs --with-libxml-dir=/usr/local/lib --with-zlib --with-zlib-dir=/usr/local/lib --with-gd --enable-soap --enable-sockets --with-jpeg-dir=/usr/ --enable-exif --enable-ftp --with-oci8=/u01/app/oracle/product/10.2.0 --with-oracle=/u01/app/oracle/product/10.2.0
> ·         Make
> ·         Make test
>  
> I have  a fail on all OCIs issue.

So why did you continue with something that didn't work?

What were the errors?

-- 
Postgresql & php tutorials
http://www.designmagick.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


 
____________________________________________________________________________________
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail 

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux