Date: Mon, 11 Mar 2013 18:54:24 +0000 From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-questions@freebsd.org Subject: Re: Error: shared library "mysqlclient.18" does not exist Message-ID: <513E2860.9000907@FreeBSD.org> In-Reply-To: <513E0D6D.10503@mail.com> References: <513E0D6D.10503@mail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2RNUMIWMDJLTFSFUWHKIH Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 11/03/2013 16:59, Jeff Tipton wrote: > I'm trying to set up security/maia, and this is the error message I get= : >=20 > Error: shared library "mysqlclient.18" does not exist >=20 > Of course, the library does exist :( >=20 > # ls /usr/local/lib/mysql/ > libmysqlclient.a libmysqlclient_r.a libmysqld.a > libmysqlclient.so libmysqlclient_r.so libmysqlservices.a > libmysqlclient.so.18 libmysqlclient_r.so.18 plugin >=20 > I googled about this, and I found 3 things to try but none of that was > helpful here: One other thing to try: examine the output of 'ldconfig -r' -- you should see -libmysqlclient.18 somewhere in the listing. The default location the ports will install that library is /usr/local/lib/mysql/libmysqlclient.so.18 which, you'll notice is in a subdirectory of /usr/local/lib -- not on the default shared library search path. If it's been correctly installed however you should see /usr/local/lib/mysql amongst the search directories around the 2nd line of the ldconfig -r output. If not, you can run this: ldconfig -m /usr/local/lib/mysql You only need to do that once, and the system should remember it. Installing from the port or packages (old or pkgng style) should do that automatically. How did you install mysql-client? Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey ------enig2RNUMIWMDJLTFSFUWHKIH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlE+KG4ACgkQ8Mjk52CukIyU2gCfT5B9nV2NlSqJ+O/dPkkHgofS 0E8AoI/ZE6hyhwPz0d1eaKywQEg/+b0r =9V6P -----END PGP SIGNATURE----- ------enig2RNUMIWMDJLTFSFUWHKIH--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?513E2860.9000907>