ID:               22873
 Comment by:       sean dot healey at bayernlb dot co dot uk
 Reported By:      theron at cines dot fr
 Status:           No Feedback
 Bug Type:         Sybase-ct (ctlib) related
 Operating System: Sun solaris 8
 PHP Version:      4.3.2RC1
 New Comment:

This is exactly the error I am facing with PHP 5.0.5.

The problem occurs whether or not LD_LIBRARY_PATH is set, and in fact I
have carefully set my LDDFLAGS -L and -R arguments to point the compiler
in the right direction for the Sybase client libraries.


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

[2003-04-28 11:14:20] [EMAIL PROTECTED]

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-04-23 04:40:14] [EMAIL PROTECTED]

Is /opt/sybase-12.5/OCS-12_5/lib/ set in your LD_LIBRARY_PATH?


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

[2003-03-26 02:41:18] theron at cines dot fr

Here are the output of the ldd cmd:

[EMAIL PROTECTED]:$PWD # ldd libphp4.so
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libpam.so.1 =>   /usr/lib/libpam.so.1
        libcrypt_i.so.1 =>       /usr/lib/libcrypt_i.so.1
        libresolv.so.2 =>        /usr/lib/libresolv.so.2
        libm.so.1 =>     /usr/lib/libm.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libgen.so.1 =>   /usr/lib/libgen.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        /usr/platform/SUNW,Ultra-Enterprise/lib/libc_psr.so.1
[EMAIL PROTECTED]:$PWD # ldd /opt/sybase-12.5/OCS-12_5/lib/libtcl.so
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        /usr/platform/SUNW,Ultra-Enterprise/lib/libc_psr.so.1

Thanks. Regards

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

[2003-03-25 17:10:03] [EMAIL PROTECTED]

What is the output of:
ldd /opt/php-4.2.3/.libs/libphp4.so
and
ldd /opt/sybase-12.5/OCS-12_5/lib/libtcl.so
?

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

[2003-03-25 08:14:17] theron at cines dot fr

Hello, 

I build apache 1.3.26, Sybase ASE 12.5 and php 4.2.3 (OS = Sun Solaris
8) with this
configuration:

            
./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs
--enable-ftp \
 --with-gettext \
 --with-xml \
 --with-domxml \
 --with-mcrypt \
 --with-iconv \
 --enable-mbstring \
 --with-jpeg --with-jpeg-dir=/opt/jpeg-6b \
 --with-png --with-png-dir=/opt/libpng-1.2.5 \
 --with-zlib --with-zlib-dir=/opt/zlib-1.1.4 \
 --with-gd=/opt/gd-1.8.4 \
 --with-sybase-ct=/opt/sybase-12.5/OCS-12_5 \

The build of PH is ok but, when i start the apache server I have this
error message:

Syntax error on line 237 of
/home/admwww/cours_php/apache/conf/httpd.conf:
Cannot load /opt/php-4.2.3/.libs/libphp4.so into server: ld.so.1:
/usr/local/apache/bin/httpd: fatal: relocation error: file
/opt/sybase-12.5/OCS-12_5/lib/libtcl.so: symbol comn_realloc:
referenced symbol not found


The gcc compiler is gcc 3.2.2

When i build with the dblib of sybase (option --with-sybase in the
config file) THERE IS NO PROBLEM TO START APACHE !

Any idea please, i'm very stoped by this problem.

Regards.
JP THERON


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


-- 
Edit this bug report at http://bugs.php.net/?id=22873&edit=1
  • #22873 [Com]: Pb to start Apache... sean dot healey at bayernlb dot co dot uk

Reply via email to