From owner-freebsd-questions Mon Nov 18 17:48:53 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF00337B401 for ; Mon, 18 Nov 2002 17:48:50 -0800 (PST) Received: from web10105.mail.yahoo.com (web10105.mail.yahoo.com [216.136.130.55]) by mx1.FreeBSD.org (Postfix) with SMTP id A54F343E42 for ; Mon, 18 Nov 2002 17:48:50 -0800 (PST) (envelope-from twigles@yahoo.com) Message-ID: <20021119014849.42540.qmail@web10105.mail.yahoo.com> Received: from [68.5.49.41] by web10105.mail.yahoo.com via HTTP; Mon, 18 Nov 2002 17:48:49 PST Date: Mon, 18 Nov 2002 17:48:49 -0800 (PST) From: twig les Subject: RE: Shared object "libmysqlclient.so.10" not found To: freebsd-questions@FreeBSD.ORG, mike@ascendency.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG # dmesg -a 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 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 majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message