Date: Mon, 17 Nov 2003 01:35:33 -0800 From: Ryan Merrick <sandshrimp@comcast.net> To: Gary Kline <kline@thought.org> Cc: FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG> Subject: Re: mysql can't finf shared library Message-ID: <3FB89665.3000003@comcast.net> In-Reply-To: <20031117042912.GB10960@tao.thought.org> References: <20031117000618.GA5670@tao.thought.org> <3FB824DC.9000605@comcast.net> <20031117042912.GB10960@tao.thought.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Gary Kline wrote: > On Sun, Nov 16, 2003 at 05:31:08PM -0800, Ryan Merrick 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? >>> >>> 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... >> > > > > Hm, I tried this, in /etc/rc.conf. I re-exec the script, > but it didn't seem to work. Comments? Care to show the > mysql line you added? > > gary > > > > a>grep ldconfig /etc/defaults/rc.conf ldconfig_paths="/usr/lib/compat /usr/X11R6/lib /usr/local/lib /usr/local/lib/mysql" I use #kill 1 to single user mode and let init handle the reload. -Ryan Merrick
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FB89665.3000003>