[gentoo-user] libmysqlclient.so.15
hi, i'm new to gentoo. i have updated mysql 4.1.21 following the glsa advisory with glsa- check -f and now I have a problem ! in the httpd error log : /usr/local/php5/bin/php: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory I had also the same problem starting up proftpd but i simply recompiled proftpd without mysql support (i don't need it). but for php, i'm really embarassed... the lib is still there : # find /usr -name libmysqlclient.so.15 /usr/lib/mysql/libmysqlclient.so.15 i added the path in /etc/ld.so.conf with success... i'm sure this must be really straightforward... maybe i just have to recompile mysql with the right flags ? maybe with -embedded ? if anyone can help me fixing this !! thanks !! -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] libmysqlclient.so.15
On 8/29/06, cedric de crozant [EMAIL PROTECTED] wrote: hi, i'm new to gentoo. i have updated mysql 4.1.21 following the glsa advisory with glsa- check -f and now I have a problem ! in the httpd error log : /usr/local/php5/bin/php: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory Try: revdep-rebuild -p -v That will show you any and all packages that are broken due to upgrades or changes of other packages. You can then do a: revdep-rebuild -v which will then recompile all of the broken packages for you, or you can just manually emerge the specific packages you want to fix in the order you want them compiled. If you just want a quick fix for PHP first and you'll worry about the other broken packages later (MySQL upgrades usually break *a lot* of packages - at least, if you have the mysql USE flag enabled globally), then just do: emerge php which will, of course, re-emerge PHP, building it against the new MySQL libraries. -James -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] libmysqlclient.so.15
cedric de crozant wrote: hi, i'm new to gentoo. i have updated mysql 4.1.21 following the glsa advisory with glsa-check -f and now I have a problem ! in the httpd error log : /usr/local/php5/bin/php: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory I think you've got some versioning issues. .14 is Mysql 4.1 and .15 is Mysql 5.0 laxlxdb03 ~ # emerge -p mysql [ebuild R ] dev-db/mysql-4.1.14 1axlxdb03 ~ # locate libmysqlclient_r /usr/lib/libmysqlclient_r.so.14.0.0 sfolxdb01 ~ # emerge -p mysql [ebuild R ] dev-db/mysql-5.0.24 sfokxdb01 ~ # locate libmysqlclient /usr/lib/libmysqlclient.so.15 I'd straighten out the versions and then rebuild anything that uses Mysql starting with PHP. kashani -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] libmysqlclient.so.15
thanks for your help. I have this : #emerge -p mysql These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-db/mysql-4.1.21 # locate libmysqlclient_r /usr/lib/libmysqlclient_r.so /usr/lib/libmysqlclient_r.so.15 /usr/lib/libmysqlclient_r.so.15.0 /usr/lib/libmysqlclient_r.so.15.0.0 /usr/lib/mysql/libmysqlclient_r.so /usr/lib/mysql/libmysqlclient_r.so.15 /usr/lib/mysql/libmysqlclient_r.so.15.0.0 /usr/lib/mysql/libmysqlclient_r.a /usr/lib/mysql/libmysqlclient_r.la Why can't php simply use this libmysqlclient_r.so.15 ??? On Aug 29, 2006, at 7:07 PM, kashani wrote: cedric de crozant wrote: hi, i'm new to gentoo. i have updated mysql 4.1.21 following the glsa advisory with glsa- check -f and now I have a problem ! in the httpd error log : /usr/local/php5/bin/php: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory I think you've got some versioning issues. .14 is Mysql 4.1 and .15 is Mysql 5.0 laxlxdb03 ~ # emerge -p mysql [ebuild R ] dev-db/mysql-4.1.14 1axlxdb03 ~ # locate libmysqlclient_r /usr/lib/libmysqlclient_r.so.14.0.0 sfolxdb01 ~ # emerge -p mysql [ebuild R ] dev-db/mysql-5.0.24 sfokxdb01 ~ # locate libmysqlclient /usr/lib/libmysqlclient.so.15 I'd straighten out the versions and then rebuild anything that uses Mysql starting with PHP. kashani -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] libmysqlclient.so.15
thanks, but it didn't help ! looks like revdep-rebuild only found something in dev-perl... # revdep-rebuild -p -v Configuring search environment for revdep-rebuild Checking reverse dependencies... Packages containing binaries and libraries broken by a package update will be emerged. Collecting system binaries and libraries... using existing / root/.revdep-rebuild.1_files. Collecting complete LD_LIBRARY_PATH... using existing /root/.revdep- rebuild.2_ldpath. Checking dynamic linking consistency... using existing /root/.revdep- rebuild.3_rebuild. Assigning files to ebuilds... using existing /root/.revdep-rebuild. 4_ebuilds. Evaluating package order... using existing /root/.revdep-rebuild. 5_order. All prepared. Starting rebuild... emerge --oneshot -p -v =app-admin/collectd-ovh-3.9.2 =dev-perl/DBD- mysql-3.0004 These are the packages that would be merged, in order: Calculating dependencies - !!! All ebuilds that could satisfy =dev-perl/DBD-mysql-3.0004 have been masked. !!! One of the following masked packages is required to complete your request: - dev-perl/DBD-mysql-3.0004 (masked by: ~x86 keyword) For more information, see MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. revdep-rebuild failed to emerge all packages you have the following choices: - if emerge failed during the build, fix the problems and re-run revdep-rebuild or - use -X or --package-names as first argument (trys to rebuild package, not exact ebuild) or - set ACCEPT_KEYWORDS=~your platform and/or /etc/portage/ package.unmask (and remove /root/.revdep-rebuild.5_order to be evaluated again) or - modify the above emerge command and run it manually or - compile or unmerge unsatisfied packages manually, remove temporary files and try again (you can edit package/ebuild list first) On Aug 29, 2006, at 6:59 PM, James Ausmus wrote: On 8/29/06, cedric de crozant [EMAIL PROTECTED] wrote: hi, i'm new to gentoo. i have updated mysql 4.1.21 following the glsa advisory with glsa- check -f and now I have a problem ! in the httpd error log : /usr/local/php5/bin/php: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory Try: revdep-rebuild -p -v That will show you any and all packages that are broken due to upgrades or changes of other packages. You can then do a: revdep-rebuild -v which will then recompile all of the broken packages for you, or you can just manually emerge the specific packages you want to fix in the order you want them compiled. If you just want a quick fix for PHP first and you'll worry about the other broken packages later (MySQL upgrades usually break *a lot* of packages - at least, if you have the mysql USE flag enabled globally), then just do: emerge php which will, of course, re-emerge PHP, building it against the new MySQL libraries. -James -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] libmysqlclient.so.15
yes I found why. this system was supplied by my hosting service with a mysql5 when i launched glsa-check it told me the system was vulnerable to the 200606-13 security advisory : http://www.gentoo.org/security/en/glsa/glsa-200606-13.xml so i simply did a glsa-check -f 200606-13 I don't know why glsa-check did not detected the system was mySQL5... Maybe I missed a comman prompt... Well now I have to emerge MySQL5... then PHP and it should solve the problem... I'm looking a the mysql USE flags. Where can I have a description of all the flags ? I don't see them in the wiki and gentoo.org MySQL startup guide. thanks On Aug 29, 2006, at 7:07 PM, kashani wrote: cedric de crozant wrote: hi, i'm new to gentoo. i have updated mysql 4.1.21 following the glsa advisory with glsa- check -f and now I have a problem ! in the httpd error log : /usr/local/php5/bin/php: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory I think you've got some versioning issues. .14 is Mysql 4.1 and .15 is Mysql 5.0 laxlxdb03 ~ # emerge -p mysql [ebuild R ] dev-db/mysql-4.1.14 1axlxdb03 ~ # locate libmysqlclient_r /usr/lib/libmysqlclient_r.so.14.0.0 sfolxdb01 ~ # emerge -p mysql [ebuild R ] dev-db/mysql-5.0.24 sfokxdb01 ~ # locate libmysqlclient /usr/lib/libmysqlclient.so.15 I'd straighten out the versions and then rebuild anything that uses Mysql starting with PHP. kashani -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] libmysqlclient.so.15
just for info there's USE description here:http://gentoo-portage.com/USE