Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jul 2004 14:45:26 +0200
From:      "Chris Knipe" <savage@savage.za.org>
To:        <freebsd-questions@freebsd.org>, <php-general@lists.php.net>
Subject:   Compiling issues...
Message-ID:  <000e01c468d7$48a47010$0a01a8c0@savage.za.org>

next in thread | raw e-mail | index | archive | help
Lo all,

The software... FreeBSD4.9-STABLE, Apache 1.3.27, and PHP4 4.3.7 (From
Ports).

Everything compiles fine, running mySQL Client version 5.0....

LDD shows:
root@netsphere:/usr/local/libexec/apache# ldd
/usr/local/libexec/apache/libphp4.so
/usr/local/libexec/apache/libphp4.so:
        libcrypto.so.3 => /usr/local/lib/libcrypto.so.3 (0x284b8000)
        libssl.so.3 => /usr/local/lib/libssl.so.3 (0x285ab000)
        libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x285da000)
        libmcal.so => /usr/local/lib/libmcal.so (0x285f3000)
        libc-client4.so.8 => /usr/local/lib/libc-client4.so.8 (0x28603000)
        libzzip.so.10 => /usr/local/lib/libzzip.so.10 (0x286b7000)
        libexpat.so.5 => /usr/local/lib/libexpat.so.5 (0x286bd000)
        libsnmp.so.4 => /usr/local/lib/libsnmp.so.4 (0x286da000)
        libhistory.so.4 => /usr/lib/libhistory.so.4 (0x28734000)
        libreadline.so.4 => /usr/lib/libreadline.so.4 (0x2873a000)
        libncurses.so.5 => /usr/lib/libncurses.so.5 (0x28760000)
        libpspell.so.15 => /usr/local/lib/libpspell.so.15 (0x287a2000)
        libmysqlclient.so.14 => /usr/local/lib/mysql/libmysqlclient.so.14
(0x287a4000)
        libsybdb.so.4 => /usr/local/lib/libsybdb.so.4 (0x287d6000)
        libming.so.3 => /usr/local/lib/libming.so.3 (0x28821000)
        libm.so.2 => /usr/lib/libm.so.2 (0x28855000)
        libmhash.so.2 => /usr/local/lib/libmhash.so.2 (0x28871000)
        libmcve.so.3 => /usr/local/lib/libmcve.so.3 (0x2888a000)
        libmcrypt.so.8 => /usr/local/lib/libmcrypt.so.8 (0x28897000)
        libltdl.so.4 => /usr/local/lib/libltdl.so.4 (0x288ca000)
        libpam.so.1 => /usr/lib/libpam.so.1 (0x288d2000)
        libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x288dc000)
        libgmp.so.3 => /usr/lib/libgmp.so.3 (0x289ca000)
        libintl.so.5 => /usr/local/lib/libintl.so.5 (0x289e0000)
        libt1.so.5 => /usr/local/lib/libt1.so.5 (0x289e9000)
        libfreetype.so.9 => /usr/local/lib/libfreetype.so.9 (0x28a35000)
        libpng.so.5 => /usr/local/lib/libpng.so.5 (0x28a87000)
        libz.so.2 => /usr/lib/libz.so.2 (0x28aab000)
        libjpeg.so.9 => /usr/local/lib/libjpeg.so.9 (0x28ab9000)
        libdb41.so.1 => /usr/local/lib/libdb41.so.1 (0x28ad7000)
        libgdbm.so.3 => /usr/local/lib/libgdbm.so.3 (0x28b77000)
        libcurl.so.3 => /usr/local/lib/libcurl.so.3 (0x28b7d000)
        libbz2.so.1 => /usr/lib/libbz2.so.1 (0x28ba9000)
        libudmsearch.so.1 => /usr/local/lib/libudmsearch.so.1 (0x28bb9000)
        libssl.so.3 => /usr/lib/libssl.so.3 (0x28bf0000)
        libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x28c20000)
        libaspell.so.15 => /usr/local/lib/libaspell.so.15 (0x28d1f000)
        libstdc++.so.3 => /usr/lib/libstdc++.so.3 (0x28dec000)
        libmysqlclient.so.10 => not found (0x0)

Apache complains:
root@netsphere:/usr/local/libexec/apache# apachectl configtest
Syntax error on line 42 of /usr/local/etc/apache/httpd.conf:
Cannot load /usr/local/libexec/apache/libphp4.so into server: Shared object
"libmysqlclient.so.10" not found

Now, from the LDD, why would PHP link against libmysqlclient.so.14 (for
5.0-ALPHA of mysqlclient), AS WELL AS libmysqlclient.so.10 (which was an
older 3.x version).  so.10 doesn't even exist on my system anymore... And
yes, I tried symlinking, it is looking for references which doesn't exist in
so.14

Uhm, am I stupid, or is something broken??

--
me




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000e01c468d7$48a47010$0a01a8c0>