From owner-freebsd-questions@FreeBSD.ORG Mon Nov 17 02:28:47 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 6BF9016A4CE for ; Mon, 17 Nov 2003 02:28:47 -0800 (PST) Received: from geminix.org (gen129.n001.c02.escapebox.net [213.73.91.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D99D43F3F for ; Mon, 17 Nov 2003 02:28:46 -0800 (PST) (envelope-from gemini@geminix.org) Message-ID: <3FB8A2DA.9040106@geminix.org> Date: Mon, 17 Nov 2003 11:28:42 +0100 From: Uwe Doering Organization: Private UNIX Site User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031019 X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD Mailing List 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 Received: from gemini by geminix.org with asmtp (TLSv1:AES256-SHA:256) (Exim 3.36 #1) id 1ALgce-000CXJ-00; Mon, 17 Nov 2003 11:28:44 +0100 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 10:28:47 -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? 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? Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers gemini@geminix.org | http://www.escapebox.net