From owner-freebsd-questions@FreeBSD.ORG Mon Mar 11 18:54:47 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2F72146C for ; Mon, 11 Mar 2013 18:54:47 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id A791B8D3 for ; Mon, 11 Mar 2013 18:54:46 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.6/8.14.6) with ESMTP id r2BIsdTJ072009 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Mon, 11 Mar 2013 18:54:39 GMT (envelope-from matthew@FreeBSD.org) DKIM-Filter: OpenDKIM Filter v2.8.0 smtp.infracaninophile.co.uk r2BIsdTJ072009 Authentication-Results: smtp.infracaninophile.co.uk/r2BIsdTJ072009; dkim=none reason="no signature"; dkim-adsp=none (unprotected policy) Message-ID: <513E2860.9000907@FreeBSD.org> Date: Mon, 11 Mar 2013 18:54:24 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130216 Thunderbird/17.0.3 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Error: shared library "mysqlclient.18" does not exist References: <513E0D6D.10503@mail.com> In-Reply-To: <513E0D6D.10503@mail.com> X-Enigmail-Version: 1.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2RNUMIWMDJLTFSFUWHKIH" X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Mar 2013 18:54:47 -0000 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--