Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Mar 2006 11:28:44 -0600
From:      "Scot Hetzel" <swhetzel@gmail.com>
To:        "Ken Gunderson" <kgunders@teamcool.net>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: mysql shared objects getting lost after reboot
Message-ID:  <790a9fff0603280928wf523778p95eaf855ecc330bf@mail.gmail.com>
In-Reply-To: <20060328095101.68a2d9a4.kgunders@teamcool.net>
References:  <20060328095101.68a2d9a4.kgunders@teamcool.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/28/06, Ken Gunderson <kgunders@teamcool.net> wrote:
> Howdy Folks:
>
> I'm getting messages like this in my logs:
>
> Mar 28 10:19:09 gw02-ny postfix/smtpd[819]: unable to dlopen /usr/local/
> lib/sasl2/libsql.so: Shared object "libmysqlclient.so.15" not found,
> required by "libsql.so"
>
> Rebuilding mysql-client, postfix, and restarting /usr/local/etc/rc.d
> scripts fixes the problem _until_ a reboot, then it reappears.  The
> libs are all there but not found.  Recently ldconfig_compat was removed
> from / etc/rc.d and mysql-client.sh no longer installed by client
> port.  Then there was the libtool redo- ports were all rebuilt after
> that via portupgrade.
>
> Pretty much exactly the same issue as is reported here:
>
> <http://docs.freebsd.org/cgi/getmsg.cgi?fetch=3D993919+0+archive/2006/fre=
ebsd-questions/20060305.freebsd-questions>
>
> Any clues as to why my amd64 machines might be confused?
>

Do you have a /usr/local/libdata/ldconfig/mysql file? If you do, does
this file contain the path to your MySQL libraries?

You should also see the script that does the ldconfig show the
/usr/local/libdata/ldconfig/mysql when you boot the system.

Scot
--
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.



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