🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.os.linux.slackware
5 messages
5 total messages Started by "O'Reilly, Stuar Thu, 05 Dec 2002 23:20
Problem Starting Apache
#99887
Author: "O'Reilly, Stuar
Date: Thu, 05 Dec 2002 23:20
47 lines
1814 bytes
First off let me appologise if this is not the right place to ask this but
here goes.  I am have trouble starting Apache 1.3.27 and PHP 4.2.3.  When I
do 'apachectl start' I get the following msg:-

root@aurora:/etc/apache# apachectl start
Syntax error on line 237 of /etc/apache/httpd.conf:
Cannot load /usr/libexec/libphp4.so into server: libmysqlclient.so.10:
cannot open shared object file: No such file or directory
/usr/sbin/apachectl start: httpd could not be started

Now, libphp4.so exists and so does libmysqlclient.so.10.

If I do 'ldd /usr/libexec/libphp4.so' I get the following:-

root@aurora:/etc/apache# ldd /usr/libexec/libphp4.so
        libdl.so.2 => /lib/libdl.so.2 (0x402b8000)
        libcrypto.so.0 => /usr/lib/libcrypto.so.0 (0x402bb000)
        libssl.so.0 => /usr/lib/libssl.so.0 (0x40374000)
        libmm.so.12 => /usr/lib/libmm.so.12 (0x40424000)
        libmysqlclient.so.10 => not found
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x40428000)
        libgmp.so.3 => /usr/lib/libgmp.so.3 (0x40455000)
        libpng.so.3 => /usr/lib/libpng.so.3 (0x4047e000)
        libz.so.1 => /usr/lib/libz.so.1 (0x404a9000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x404b8000)
        libdb.so.3 => /lib/libdb.so.3 (0x404d6000)
        libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x40511000)
        libbz2.so.1.0 => /lib/libbz2.so.1.0 (0x40517000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x40527000)
        libm.so.6 => /lib/libm.so.6 (0x40537000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x40558000)
        libc.so.6 => /lib/libc.so.6 (0x4056e000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

Could anyone give me any pointers as to what is wrong here?

The linux distro is Slackware 8.1.

Many thanks for your time.

----
Stuart O'Reilly

Remove XXX to reply.


Re: Problem Starting Apache
#99911
Author: Tony Borras
Date: Thu, 05 Dec 2002 23:24
57 lines
2270 bytes
"O'Reilly, Stuart" wrote:

> First off let me appologise if this is not the right place to ask this but
> here goes.  I am have trouble starting Apache 1.3.27 and PHP 4.2.3.  When I
> do 'apachectl start' I get the following msg:-
>
> root@aurora:/etc/apache# apachectl start
> Syntax error on line 237 of /etc/apache/httpd.conf:
> Cannot load /usr/libexec/libphp4.so into server: libmysqlclient.so.10:
> cannot open shared object file: No such file or directory
> /usr/sbin/apachectl start: httpd could not be started
>
> Now, libphp4.so exists and so does libmysqlclient.so.10.
>
> If I do 'ldd /usr/libexec/libphp4.so' I get the following:-
>
> root@aurora:/etc/apache# ldd /usr/libexec/libphp4.so
>         libdl.so.2 => /lib/libdl.so.2 (0x402b8000)
>         libcrypto.so.0 => /usr/lib/libcrypto.so.0 (0x402bb000)
>         libssl.so.0 => /usr/lib/libssl.so.0 (0x40374000)
>         libmm.so.12 => /usr/lib/libmm.so.12 (0x40424000)
>         libmysqlclient.so.10 => not found
>         libcrypt.so.1 => /lib/libcrypt.so.1 (0x40428000)
>         libgmp.so.3 => /usr/lib/libgmp.so.3 (0x40455000)
>         libpng.so.3 => /usr/lib/libpng.so.3 (0x4047e000)
>         libz.so.1 => /usr/lib/libz.so.1 (0x404a9000)
>         libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x404b8000)
>         libdb.so.3 => /lib/libdb.so.3 (0x404d6000)
>         libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x40511000)
>         libbz2.so.1.0 => /lib/libbz2.so.1.0 (0x40517000)
>         libresolv.so.2 => /lib/libresolv.so.2 (0x40527000)
>         libm.so.6 => /lib/libm.so.6 (0x40537000)
>         libnsl.so.1 => /lib/libnsl.so.1 (0x40558000)
>         libc.so.6 => /lib/libc.so.6 (0x4056e000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
>
> Could anyone give me any pointers as to what is wrong here?
>
>

You have php configured to expect mysql installed.
I also use php 4.2.3 and my ldd for libphp4 does not
show the dependancy on libmtsqlclient.

Your ldd shows it cannot find it in /usr/lib/mysql!!!
You need to install mysql or modify your php compile/install, so
that it does not require mysql...

TonyB

--
http://www.sysdev.org                          WinNT / Linux Device Drivers
to...@sysdev.org                                          System Tools /
Utilities


Re: Problem Starting Apache
#99891
Author: Jeremy Gray
Date: Fri, 06 Dec 2002 00:29
19 lines
634 bytes
O'Reilly, Stuart <narni...@clara.co.uk> wrote:
>
> root@aurora:/etc/apache# apachectl start
> Syntax error on line 237 of /etc/apache/httpd.conf:
> Cannot load /usr/libexec/libphp4.so into server: libmysqlclient.so.10:
> cannot open shared object file: No such file or directory
> /usr/sbin/apachectl start: httpd could not be started
>
> Now, libphp4.so exists and so does libmysqlclient.so.10.

Is libmysqlclient.so.10 in the directories listed in /etc/ld.so.conf or
LD_LIBRARY_PATH?  If so have you ran ldconfig since installing mysql?

--
Jeremy A. Gray
jag...@uiuc.edu

"Remember the Pueblo." -- the Fourth Law of Marvin
Re: Problem Starting Apache
#99923
Author: DB
Date: Fri, 06 Dec 2002 08:54
15 lines
254 bytes
O'Reilly, Stuart wrote:
> Tony,
>
>   Apache 1.3.27, PHP 4.2.3 and MySQL 3.23.53 were all installed from the
> slackware binaries.
>
> Regards
> ----
> Stuart O'Reilly

Give apachetoolbox.com a try.. that makes rolling your own apache very easy.

DB

Re: Problem Starting Apache
#99919
Author: "O'Reilly, Stuar
Date: Fri, 06 Dec 2002 10:37
74 lines
2615 bytes
Tony,

  Apache 1.3.27, PHP 4.2.3 and MySQL 3.23.53 were all installed from the
slackware binaries.

Regards
----
Stuart O'Reilly

Remove XXX to reply.
"Tony Borras" <to...@sysdev.org> wrote in message
news:3DF050A4.991CA765@sysdev.org...
> "O'Reilly, Stuart" wrote:
>
> > First off let me appologise if this is not the right place to ask this
but
> > here goes.  I am have trouble starting Apache 1.3.27 and PHP 4.2.3.
When I
> > do 'apachectl start' I get the following msg:-
> >
> > root@aurora:/etc/apache# apachectl start
> > Syntax error on line 237 of /etc/apache/httpd.conf:
> > Cannot load /usr/libexec/libphp4.so into server: libmysqlclient.so.10:
> > cannot open shared object file: No such file or directory
> > /usr/sbin/apachectl start: httpd could not be started
> >
> > Now, libphp4.so exists and so does libmysqlclient.so.10.
> >
> > If I do 'ldd /usr/libexec/libphp4.so' I get the following:-
> >
> > root@aurora:/etc/apache# ldd /usr/libexec/libphp4.so
> >         libdl.so.2 => /lib/libdl.so.2 (0x402b8000)
> >         libcrypto.so.0 => /usr/lib/libcrypto.so.0 (0x402bb000)
> >         libssl.so.0 => /usr/lib/libssl.so.0 (0x40374000)
> >         libmm.so.12 => /usr/lib/libmm.so.12 (0x40424000)
> >         libmysqlclient.so.10 => not found
> >         libcrypt.so.1 => /lib/libcrypt.so.1 (0x40428000)
> >         libgmp.so.3 => /usr/lib/libgmp.so.3 (0x40455000)
> >         libpng.so.3 => /usr/lib/libpng.so.3 (0x4047e000)
> >         libz.so.1 => /usr/lib/libz.so.1 (0x404a9000)
> >         libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x404b8000)
> >         libdb.so.3 => /lib/libdb.so.3 (0x404d6000)
> >         libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x40511000)
> >         libbz2.so.1.0 => /lib/libbz2.so.1.0 (0x40517000)
> >         libresolv.so.2 => /lib/libresolv.so.2 (0x40527000)
> >         libm.so.6 => /lib/libm.so.6 (0x40537000)
> >         libnsl.so.1 => /lib/libnsl.so.1 (0x40558000)
> >         libc.so.6 => /lib/libc.so.6 (0x4056e000)
> >         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
> >
> > Could anyone give me any pointers as to what is wrong here?
> >
> >
>
> You have php configured to expect mysql installed.
> I also use php 4.2.3 and my ldd for libphp4 does not
> show the dependancy on libmtsqlclient.
>
> Your ldd shows it cannot find it in /usr/lib/mysql!!!
> You need to install mysql or modify your php compile/install, so
> that it does not require mysql...
>
> TonyB
>
> --
> http://www.sysdev.org                          WinNT / Linux Device
Drivers
> to...@sysdev.org                                          System Tools /
> Utilities
>
>


Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads