RE: Shared object libmysqlclient.so.10 not found
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 -Original Message- From: Mike Loiterman [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 7:51 PM To: 'twig les'; '[EMAIL PROTECTED]' Subject: RE: Shared object libmysqlclient.so.10 not found -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 No...it works fine. I can use mySQL without any problems. Would reinstalling mysqlclient help fix this? ... Randomly Generated Quote: MILLENNIUM, n. The period of a thousand years when the lid is to be screwed down, with all reformers on the under side. -- Ambrose Bierce Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -Original Message- From: twig les [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 7:49 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Shared object libmysqlclient.so.10 not found # dmesg -a snip sendmail /usr/libexec/ld-elf.so.1: Shared object libmysqlclient.so.10 not found Sendmail works fine (the fact that you're reading this is proof) after I: == I don't know why Sendmail would fail from this but I'll bet that if you try to use your mysql client you'll get a nasty surprise. == #cd /etc/mail #make start I think...hrm...missing library. So I do: #ldconfig -r snip 84:-lmysqlclient.10 = /usr/local/lib/mysql/libmysqlclient.so.10 so the library is there, but it seems it's not seeing it at startup. == I've had this happen a few times. Basically my lib wasn't in my PATH. Try doing a echo $PATH and see if BSD will find it by default. The quickest remedy for this was to copy the lib to a place that BSD *will* see it. == I've done a pretty extensive google search and I've found a few occurances of this. There are only two types of replies: nothing, or the poster is told to check /etc/ld.so.conf and add the location of the lib to that file. Unfortunately, I don't have a /etd/ld.so.conf and creating it does nothing. I only have /var/run/ld.so.hints and that appears to be a binary. Can anyone help me fix this? == We try and leave that funny ld.so.conf stuff to the Linux kids. ;-) == = --- If you give a man a fish, he can eat for a day If you bludgeon him to death, you can eat the fish yourself --- __ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com -BEGIN PGP SIGNATURE- Version: PGP 7.0.4 Comment: Message digitally signed by Mike Loiterman iQA/AwUBPdmZGGjZbUnRudGOEQIcMQCgw79pJGkC5nI4z9sRCoT9k0u1ZdQAnRo w mSKwMbKTZLakLegR89u09Gt2 =rxLD -END PGP SIGNATURE- For anyone interested, the solution was to put: ldconfig_paths=$ldconfig_paths /usr/local/lib/mysql into /etc/rc.conf. The key part is the $ldconfog_paths. Without that, all the other lib directories get ignored. I was just putting ldconfig_paths= /usr/local/lib/mysql which solved my initial problem but prevented the system from seeing the other lib directories. ... Randomly Generated Quote: Reality is a crutch for people who can't handle buttons Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -BEGIN PGP SIGNATURE- Version: PGP 7.0.4 Comment: Message digitally signed by Mike Loiterman iQA/AwUBPdtUUGjZbUnRudGOEQLghACgmPnV1SEeQyBnACamNagaeTIcb6AAniAb Ly8hm03fWsbQTPQw/V86zDO+ =kdyd -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Shared object libmysqlclient.so.10 not found
# dmesg -a snip sendmail /usr/libexec/ld-elf.so.1: Shared object libmysqlclient.so.10 not found Sendmail works fine (the fact that you're reading this is proof) after I: == I don't know why Sendmail would fail from this but I'll bet that if you try to use your mysql client you'll get a nasty surprise. == #cd /etc/mail #make start I think...hrm...missing library. So I do: #ldconfig -r snip 84:-lmysqlclient.10 = /usr/local/lib/mysql/libmysqlclient.so.10 so the library is there, but it seems it's not seeing it at startup. == I've had this happen a few times. Basically my lib wasn't in my PATH. Try doing a echo $PATH and see if BSD will find it by default. The quickest remedy for this was to copy the lib to a place that BSD *will* see it. == I've done a pretty extensive google search and I've found a few occurances of this. There are only two types of replies: nothing, or the poster is told to check /etc/ld.so.conf and add the location of the lib to that file. Unfortunately, I don't have a /etd/ld.so.conf and creating it does nothing. I only have /var/run/ld.so.hints and that appears to be a binary. Can anyone help me fix this? == We try and leave that funny ld.so.conf stuff to the Linux kids. ;-) == = --- If you give a man a fish, he can eat for a day If you bludgeon him to death, you can eat the fish yourself --- __ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Shared object libmysqlclient.so.10 not found
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 No...it works fine. I can use mySQL without any problems. Would reinstalling mysqlclient help fix this? ... Randomly Generated Quote: MILLENNIUM, n. The period of a thousand years when the lid is to be screwed down, with all reformers on the under side. -- Ambrose Bierce Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -Original Message- From: twig les [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 7:49 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Shared object libmysqlclient.so.10 not found # dmesg -a snip sendmail /usr/libexec/ld-elf.so.1: Shared object libmysqlclient.so.10 not found Sendmail works fine (the fact that you're reading this is proof) after I: == I don't know why Sendmail would fail from this but I'll bet that if you try to use your mysql client you'll get a nasty surprise. == #cd /etc/mail #make start I think...hrm...missing library. So I do: #ldconfig -r snip 84:-lmysqlclient.10 = /usr/local/lib/mysql/libmysqlclient.so.10 so the library is there, but it seems it's not seeing it at startup. == I've had this happen a few times. Basically my lib wasn't in my PATH. Try doing a echo $PATH and see if BSD will find it by default. The quickest remedy for this was to copy the lib to a place that BSD *will* see it. == I've done a pretty extensive google search and I've found a few occurances of this. There are only two types of replies: nothing, or the poster is told to check /etc/ld.so.conf and add the location of the lib to that file. Unfortunately, I don't have a /etd/ld.so.conf and creating it does nothing. I only have /var/run/ld.so.hints and that appears to be a binary. Can anyone help me fix this? == We try and leave that funny ld.so.conf stuff to the Linux kids. ;-) == = --- If you give a man a fish, he can eat for a day If you bludgeon him to death, you can eat the fish yourself --- __ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com -BEGIN PGP SIGNATURE- Version: PGP 7.0.4 Comment: Message digitally signed by Mike Loiterman iQA/AwUBPdmZGGjZbUnRudGOEQIcMQCgw79pJGkC5nI4z9sRCoT9k0u1ZdQAnRow mSKwMbKTZLakLegR89u09Gt2 =rxLD -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message