mysql can't finf shared library
Gary Kline
kline at thought.org
Sun Nov 16 20:29:18 PST 2003
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 at 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
>
--
Gary Kline kline at thought.org www.thought.org Public service Unix
More information about the freebsd-questions
mailing list