Jump to content

Error with libphp5.so on startup


mattd

Recommended Posts

Hello all.  I am receiving the following error message when starting Apache 2 on Suse 9.3. 

[tt]pantera:/usr/local/apache2/bin # ./apachectl -k start
httpd: Syntax error on line 53 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: undefined symbol: sqlite3ExprDelete[/tt]

Please find the following information:

[b]Configuration command for php-5.2.0[/b]
[quote]./configure \
--prefix=/usr/local/php5 \
--with-apxs2=/usr/local/apache2/bin/apxs \
--enable-xml \
--with-gd \
--with-gettext \
--with-xml \
--with-zlib-dir=/usr/local/php-5.2.0/ext/zlib[/quote]

[b]Configuration command for apache 2.2.3[/b]
.[quote]/configure --prefix=/usr/local/apache2 --enable-module=so
[/quote]

[b]Relevant line in httpd.conf the error message is referring to[/b]
[quote]LoadModule php5_module        modules/libphp5.so[/quote]

[b]Finally, an ldd on /usr/local/apache2/modules/libphp5.so[/b]
[quote]ldd libphp5.so
        linux-gate.so.1 =>  (0xffffe000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x4002a000)
        librt.so.1 => /lib/tls/librt.so.1 (0x4005c000)
        libpng.so.3 => /usr/lib/libpng.so.3 (0x40065000)
        libz.so.1 => /lib/libz.so.1 (0x40093000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x400a4000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x400c3000)
        libm.so.6 => /lib/tls/libm.so.6 (0x400d7000)
        libdl.so.2 => /lib/libdl.so.2 (0x400fa000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x400fe000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0x40113000)
        libc.so.6 => /lib/tls/libc.so.6 (0x40227000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x40340000)
        /lib/ld-linux.so.2 (0x80000000)[/quote]

Am I missing something obvious?  Thanks in advance,


mattd


Link to comment
https://forums.phpfreaks.com/topic/29575-error-with-libphp5so-on-startup/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.