From owner-freebsd-questions@FreeBSD.ORG Mon Nov 17 13:17:28 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 EB56E16A4CE for ; Mon, 17 Nov 2003 13:17:28 -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 4A91B43FAF for ; Mon, 17 Nov 2003 13:17:27 -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 hAHLHP5G025099; Mon, 17 Nov 2003 13:17:26 -0800 (PST) (envelope-from kline@thought.org) Received: (from kline@localhost) by thought.org (8.12.6/8.11.3) id hAHLHOw5086962; Mon, 17 Nov 2003 13:17:24 -0800 (PST) (envelope-from kline) Date: Mon, 17 Nov 2003 13:17:24 -0800 From: Gary Kline To: Uwe Doering Message-ID: <20031117211724.GA69285@tao.thought.org> References: <20031117000618.GA5670@tao.thought.org> <3FB8A2DA.9040106@geminix.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FB8A2DA.9040106@geminix.org> 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: 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 21:17:29 -0000 On Mon, Nov 17, 2003 at 11:28:42AM +0100, Uwe Doering wrote: > Gary Kline wrote: > > 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? > > Well, at least up to MySQL 3.23.58 a startup script > '000.mysql-client.sh' gets installed under '/usr/local/etc/rc.d' which > runs this command at boot time: > > /sbin/ldconfig -m /usr/local/lib/mysql > > This is supposed to ensure that the system automatically knows where to > look for the MySQL client libs. It worked for me out of the box. Did > you delete this script, or is there any other reason why scripts under > '/usr/local/etc/rc.d' don't get executed on your system? > The problem was that I was missing part of mysql. Initially I thought v323 was still the default (( for phpBB )); when I looked at the dependencies I found that v40 is now required. --Long story short, after rbuilding/reinstalling, mysql is happy. (now to upgrade to phpbb-2.0.6......) thanks, gary -- Gary Kline kline@thought.org www.thought.org Public service Unix