From owner-freebsd-questions@FreeBSD.ORG Sun Nov 16 17:31:11 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 69D2616A4CE for ; Sun, 16 Nov 2003 17:31:11 -0800 (PST) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 882B643F85 for ; Sun, 16 Nov 2003 17:31:10 -0800 (PST) (envelope-from sandshrimp@comcast.net) Received: from comcast.net (unknown[12.242.162.139]) by comcast.net (sccrmhc11) with SMTP id <2003111701310901100qv2qme> (Authid: sandshrimp); Mon, 17 Nov 2003 01:31:09 +0000 Message-ID: <3FB824DC.9000605@comcast.net> Date: Sun, 16 Nov 2003 17:31:08 -0800 From: Ryan Merrick User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gary Kline References: <20031117000618.GA5670@tao.thought.org> In-Reply-To: <20031117000618.GA5670@tao.thought.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 01:31:11 -0000 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? > > thanks, people, > > gary > > Hello, I have been seeing this too. I originaly fixed it with #mdconfig -m /usr/local/lib/mysql The LD config man page refeneced #/etc/ld-elf.so.conf for extra paths but rc never calls it. The default paths for ld-elf.so.conf are defined in #/etc/defaults/rc.conf. I just added mysql to the list. There is a 2 year old pr on the man page problem... -Ryan Merrick