View previous topic :: View next topic |
Author |
Message |
LightEater n00b
Joined: 10 Oct 2004 Posts: 38
|
Posted: Wed Jan 19, 2005 10:07 pm Post subject: mysql 4.0.23-r1, libmysqlclient.so not found |
|
|
I emerged mysql 4.0.23-r1 today, restarted the service and everything seemed fine. Later that day i needed to work with apache and here's where the problems begin:
Code: | # /etc/init.d/apache2 start
* Apache2 has detected a syntax error in your configuration files:
Syntax error on line 78 of /etc/apache2/conf/apache2.conf:
Cannot load /usr/lib/apache2-extramodules/libphp4.so into server: libmysqlclient.so.12: cannot open shared object file: No such file or directory
|
Line 78 of apache2.conf is
Code: |
LoadModule php4_module /usr/lib/apache2-extramodules/libphp4.so
|
libphp4.so is where it should be, tho i cant find libmysqlclient.so.12 (or libmysqlclient.so* for that matter) anywhere on the system, heres what i found in /usr/lib/mysql
Code: | # ls -l | grep libmysqlclient
lrwxrwxrwx 1 root root 21 Jan 19 16:51 libmysqlclient -> libmysqlclient.12.0.0
lrwxrwxrwx 1 root root 21 Jan 19 16:51 libmysqlclient.12 -> libmysqlclient.12.0.0
-rwxr-xr-x 1 root root 251068 Jan 19 16:51 libmysqlclient.12.0.0
-rw-r--r-- 1 root root 344202 Jan 19 16:51 libmysqlclient.a
-rwxr-xr-x 1 root root 879 Jan 19 16:51 libmysqlclient.la
lrwxrwxrwx 1 root root 23 Jan 19 16:51 libmysqlclient_r -> libmysqlclient_r.12.0.0
lrwxrwxrwx 1 root root 23 Jan 19 16:51 libmysqlclient_r.12 -> libmysqlclient_r.12.0.0
-rwxr-xr-x 1 root root 259356 Jan 19 16:51 libmysqlclient_r.12.0.0
-rw-r--r-- 1 root root 351720 Jan 19 16:51 libmysqlclient_r.a
-rwxr-xr-x 1 root root 893 Jan 19 16:51 libmysqlclient_r.la |
And i'm a little out of ideas... _________________ I'd like to answer this question if I may in two ways: firstly in my normal voice and then in a kind of silly high-pitched whine. |
|
Back to top |
|
|
djh-world Apprentice
Joined: 04 Jan 2004 Posts: 281 Location: Nottingham, UK
|
|
Back to top |
|
|
toxicnaan n00b
Joined: 13 Nov 2004 Posts: 68
|
Posted: Wed Jan 19, 2005 10:21 pm Post subject: |
|
|
does the dynamic linux linker know about the directory
check your /etc/ld.so.conf and see if it's looking in there
also try a ldconfig and see if that makes things better
ho hum....
do you the mysql client emerged? I'm not sure if it comes in with mysqld
you *may* need to recompile php4 with the correct use flags so it picks up the bindings to mysql?? |
|
Back to top |
|
|
LightEater n00b
Joined: 10 Oct 2004 Posts: 38
|
Posted: Wed Jan 19, 2005 10:45 pm Post subject: |
|
|
i forgot to mention - i tried re-emerging php, thx for the hint tho. I don't remember changing any use flags too.
Quote: | check your /etc/ld.so.conf and see if it's looking in there |
it doesn't look in /usr/lib/mysql/ but since there's no libmysqlclient.so anywhere in /usr/ i guess it shouldn't matter, at least for now
Quote: | do you the mysql client emerged? I'm not sure if it comes in with mysqld |
i dont see anything that would look like mysql client in portage
current useflags:
Code: |
dev-db/mysql-4.0.23-r1 +berkdb -debug -innodb +perl +readline(-selinux) +ssl -static +tcpd
dev-php/php-4.3.10 +X +berkdb +crypt -curl -debug -doc -fdftk-firebird -flash -freetds -gd -gd-external +gdbm -gmp -hardenedphp -imap -informix -ipv6 +java +jpeg -kerberos -ldap -mcal -memlimit -mssql +mysql +ncurses +nls -oci8 -odbc +pam +pdflib +png -postgres +qt +readline -snmp +spell +ssl +tiff +truetype +xml2 -yaz |
_________________ I'd like to answer this question if I may in two ways: firstly in my normal voice and then in a kind of silly high-pitched whine. |
|
Back to top |
|
|
toxicnaan n00b
Joined: 13 Nov 2004 Posts: 68
|
|
Back to top |
|
|
LightEater n00b
Joined: 10 Oct 2004 Posts: 38
|
Posted: Thu Jan 20, 2005 3:10 pm Post subject: |
|
|
thx, revdep-rebuild did the trick - silly i forgot to re-emerge mod_php _________________ I'd like to answer this question if I may in two ways: firstly in my normal voice and then in a kind of silly high-pitched whine. |
|
Back to top |
|
|
|