Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mysql 4.0.23-r1, libmysqlclient.so not found
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
LightEater
n00b
n00b


Joined: 10 Oct 2004
Posts: 38

PostPosted: Wed Jan 19, 2005 10:07 pm    Post subject: mysql 4.0.23-r1, libmysqlclient.so not found Reply with quote

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
View user's profile Send private message
djh-world
Apprentice
Apprentice


Joined: 04 Jan 2004
Posts: 281
Location: Nottingham, UK

PostPosted: Wed Jan 19, 2005 10:18 pm    Post subject: Reply with quote

I also have got the same error upon starting apache.

Any help with this would be of most appreciation.
_________________
djh-solutions :: freelance web design | solution provider
Back to top
View user's profile Send private message
toxicnaan
n00b
n00b


Joined: 13 Nov 2004
Posts: 68

PostPosted: Wed Jan 19, 2005 10:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
LightEater
n00b
n00b


Joined: 10 Oct 2004
Posts: 38

PostPosted: Wed Jan 19, 2005 10:45 pm    Post subject: Reply with quote

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 :P

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
View user's profile Send private message
toxicnaan
n00b
n00b


Joined: 13 Nov 2004
Posts: 68

PostPosted: Wed Jan 19, 2005 11:29 pm    Post subject: Reply with quote

seem to be a problem with the mysql compile no renaming lib's to the correct name.....see these..

http://bugs.mysql.com/bug.php?id=7401

https://forums.gentoo.org/viewtopic.php?t=278058&highlight=libmysqlclient
Back to top
View user's profile Send private message
LightEater
n00b
n00b


Joined: 10 Oct 2004
Posts: 38

PostPosted: Thu Jan 20, 2005 3:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum