* [gentoo-user] libmysqlclient.so.15
@ 2006-08-29 16:50 cedric de crozant
2006-08-29 16:59 ` James Ausmus
2006-08-29 17:07 ` kashani
0 siblings, 2 replies; 9+ messages in thread
From: cedric de crozant @ 2006-08-29 16:50 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] libmysqlclient.so.15
2006-08-29 16:50 [gentoo-user] libmysqlclient.so.15 cedric de crozant
@ 2006-08-29 16:59 ` James Ausmus
2006-08-29 17:23 ` cedric de crozant
2006-08-29 17:07 ` kashani
1 sibling, 1 reply; 9+ messages in thread
From: James Ausmus @ 2006-08-29 16:59 UTC (permalink / raw
To: gentoo-user
On 8/29/06, cedric de crozant <cdecrozant@w3tex.com> 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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] libmysqlclient.so.15
2006-08-29 16:50 [gentoo-user] libmysqlclient.so.15 cedric de crozant
2006-08-29 16:59 ` James Ausmus
@ 2006-08-29 17:07 ` kashani
2006-08-29 17:34 ` cedric de crozant
2006-08-29 20:05 ` cedric de crozant
1 sibling, 2 replies; 9+ messages in thread
From: kashani @ 2006-08-29 17:07 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] libmysqlclient.so.15
2006-08-29 16:59 ` James Ausmus
@ 2006-08-29 17:23 ` cedric de crozant
0 siblings, 0 replies; 9+ messages in thread
From: cedric de crozant @ 2006-08-29 17:23 UTC (permalink / raw
To: gentoo-user
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 <cdecrozant@w3tex.com> 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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] libmysqlclient.so.15
2006-08-29 17:07 ` kashani
@ 2006-08-29 17:34 ` cedric de crozant
2006-08-29 20:05 ` cedric de crozant
1 sibling, 0 replies; 9+ messages in thread
From: cedric de crozant @ 2006-08-29 17:34 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] libmysqlclient.so.15
2006-08-29 17:07 ` kashani
2006-08-29 17:34 ` cedric de crozant
@ 2006-08-29 20:05 ` cedric de crozant
2006-08-29 20:51 ` malary
1 sibling, 1 reply; 9+ messages in thread
From: cedric de crozant @ 2006-08-29 20:05 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] libmysqlclient.so.15
2006-08-29 20:05 ` cedric de crozant
@ 2006-08-29 20:51 ` malary
2006-08-29 21:27 ` cedric de crozant
0 siblings, 1 reply; 9+ messages in thread
From: malary @ 2006-08-29 20:51 UTC (permalink / raw
To: gentoo-user
Hi
http://www.gentoo.org/dyn/use-index.xml
malary
http://malary.hu
----- Original Message -----
From: "cedric de crozant" <cdecrozant@w3tex.com>
To: <gentoo-user@lists.gentoo.org>
Sent: Tuesday, August 29, 2006 10:05 PM
Subject: 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
>
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] libmysqlclient.so.15
2006-08-29 20:51 ` malary
@ 2006-08-29 21:27 ` cedric de crozant
2006-08-29 21:49 ` Nico
0 siblings, 1 reply; 9+ messages in thread
From: cedric de crozant @ 2006-08-29 21:27 UTC (permalink / raw
To: gentoo-user
It's solved...
thank you all !
On Aug 29, 2006, at 10:51 PM, malary wrote:
> Hi
>
> http://www.gentoo.org/dyn/use-index.xml
>
> malary
> http://malary.hu
>
> ----- Original Message ----- From: "cedric de crozant"
> <cdecrozant@w3tex.com>
> To: <gentoo-user@lists.gentoo.org>
> Sent: Tuesday, August 29, 2006 10:05 PM
> Subject: 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
>>
> --
> gentoo-user@gentoo.org mailing list
>
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] libmysqlclient.so.15
2006-08-29 21:27 ` cedric de crozant
@ 2006-08-29 21:49 ` Nico
0 siblings, 0 replies; 9+ messages in thread
From: Nico @ 2006-08-29 21:49 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 74 bytes --]
just for info there's USE description here:
http://gentoo-portage.com/USE
[-- Attachment #2: Type: text/html, Size: 125 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2006-08-29 21:53 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-29 16:50 [gentoo-user] libmysqlclient.so.15 cedric de crozant
2006-08-29 16:59 ` James Ausmus
2006-08-29 17:23 ` cedric de crozant
2006-08-29 17:07 ` kashani
2006-08-29 17:34 ` cedric de crozant
2006-08-29 20:05 ` cedric de crozant
2006-08-29 20:51 ` malary
2006-08-29 21:27 ` cedric de crozant
2006-08-29 21:49 ` Nico
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox