From owner-freebsd-questions@FreeBSD.ORG Sun Nov 16 20:25:14 2003 Return-Path: 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 DB50616A4CE for ; Sun, 16 Nov 2003 20:25:14 -0800 (PST) Received: from sage.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD2B243FA3 for ; Sun, 16 Nov 2003 20:25:12 -0800 (PST) (envelope-from kline@thought.org) Received: from thought.org (root@tao [10.0.0.247]) by sage.thought.org (8.12.9/8.11.4) with ESMTP id hAH4P75G023315; Sun, 16 Nov 2003 20:25:07 -0800 (PST) (envelope-from kline@thought.org) Received: (from kline@localhost) by thought.org (8.12.6/8.11.3) id hAH4P5bi068252; Sun, 16 Nov 2003 20:25:05 -0800 (PST) (envelope-from kline) Date: Sun, 16 Nov 2003 20:25:04 -0800 From: Gary Kline To: Mark Message-ID: <20031117042504.GA10960@tao.thought.org> References: <20031117000618.GA5670@tao.thought.org> <200311170021.HAH0L6OH078309@asarian-host.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200311170021.HAH0L6OH078309@asarian-host.net> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing 17 years of service to the Unix community User-Agent: Mutt/1.5.5.1i cc: Gary Kline cc: FreeBSD Mailing List Subject: Re: mysql can't finf shared library X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 04:25:15 -0000 On Mon, Nov 17, 2003 at 12:21:07AM +0000, Mark wrote: > ----- Original Message ----- > From: "Gary Kline" > To: "FreeBSD Mailing List" > Sent: Monday, November 17, 2003 1:07 AM > Subject: mysql can't finf shared library > > > After upgrading to the latest mysql323-client and reinstalling > > my root password, here is what happens: > > > > mysqladmin -u root password 'fooobar1234' > > /usr/libexec/ld-elf.so.1: Shared object "libmysqlclient.so.10" not found > > root@tao:/etc# locate libmysql > > /usr/local/lib/mysql/libmysqlclient.a > > /usr/local/lib/mysql/libmysqlclient.so > > /usr/local/lib/mysql/libmysqlclient.so.10 > > > > Anybody know what's going on here? Is this a known bug? > > I am sure it is not the official method, but when I had this happening too, > I made the following symlink: > > /usr/local/lib/libmysqlclient.so.10 -> mysql/libmysqlclient.so.10 > Yep; worked for me too; then just to make sure the libraries really were loaded, this: tao# /sbin/ldconfig -m /usr/local/lib/mysql thanks, gentlemen. gary > -- Gary Kline kline@thought.org www.thought.org Public service Unix