Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Nov 2003 17:31:08 -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:  <3FB824DC.9000605@comcast.net>
In-Reply-To: <20031117000618.GA5670@tao.thought.org>
References:  <20031117000618.GA5670@tao.thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FB824DC.9000605>