From owner-freebsd-questions@FreeBSD.ORG Mon Mar 11 18:29:07 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 868E1C0C for ; Mon, 11 Mar 2013 18:29:07 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (mail1.sourcehosting.net [74.205.51.45]) by mx1.freebsd.org (Postfix) with ESMTP id 5136F796 for ; Mon, 11 Mar 2013 18:29:07 +0000 (UTC) Received: from 24-181-237-39.dhcp.oxfr.ma.charter.com ([24.181.237.39] helo=Gregory-Larkins-iMac.local) by mail1.sourcehosting.net with esmtp (Exim 4.73 (FreeBSD)) (envelope-from ) id 1UF71e-000N6x-Bq; Mon, 11 Mar 2013 14:00:46 -0400 Received: from Gregory-Larkins-iMac.local (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by Gregory-Larkins-iMac.local (Postfix) with ESMTPS id DFE9A1B4993F; Mon, 11 Mar 2013 14:00:41 -0400 (EDT) Message-ID: <513E1BC9.6040207@FreeBSD.org> Date: Mon, 11 Mar 2013 14:00:41 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130216 Thunderbird/17.0.3 MIME-Version: 1.0 To: Jeff Tipton References: <513E0D6D.10503@mail.com> In-Reply-To: <513E0D6D.10503@mail.com> X-Enigmail-Version: 1.5.1 X-SA-Exim-Connect-IP: 24.181.237.39 X-SA-Exim-Mail-From: glarkin@FreeBSD.org X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail1.sourcehosting.net X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00, RCVD_IN_SORBS_DUL,RDNS_DYNAMIC,TVD_RCVD_IP autolearn=no version=3.3.1 Subject: Re: Error: shared library "mysqlclient.18" does not exist Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on mail1.sourcehosting.net) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Mar 2013 18:29:07 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 3/11/13 12:59 PM, Jeff Tipton wrote: > Hi, > > I'm trying to set up security/maia, and this is the error message I > get: > > Error: shared library "mysqlclient.18" does not exist > > Of course, the library does exist :( > > # 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 > > I googled about this, and I found 3 things to try but none of that > was helpful here: > > 1. make a link: ln -s /usr/local/lib/mysql/libmysqlclient.so.18 > /usr/local/lib/libmysqlclient.so.18 > > 2. Check the root's umask and the directory permissions if they > are correct, and they are: # umask 22 #ll /usr/local/lib |grep > mysql lrwxr-xr-x 1 root wheel 41 Mar 11 16:25 > libmysqlclient.so.18@ -> /usr/local/lib/mysql/libmysqlclient.so.18 > drwxr-xr-x 3 root wheel 512 Mar 11 16:22 mysql/ > > # ll /usr/local/lib/mysql/ total 27276 -rw-r--r-- 1 root wheel > 4844270 Mar 11 16:17 libmysqlclient.a lrwxr-xr-x 1 root wheel > 20 Mar 11 16:22 libmysqlclient.so@ -> libmysqlclient.so.18 > -rwxr-xr-x 1 root wheel 3364688 Mar 11 16:22 > libmysqlclient.so.18* lrwxr-xr-x 1 root wheel 16 Mar 11 > 16:22 libmysqlclient_r.a@ -> libmysqlclient.a lrwxr-xr-x 1 root > wheel 17 Mar 11 16:22 libmysqlclient_r.so@ -> > libmysqlclient.so lrwxr-xr-x 1 root wheel 17 Mar 11 16:22 > libmysqlclient_r.so.18@ -> libmysqlclient.so -rw-r--r-- 1 root > wheel 20019340 Mar 7 15:08 libmysqld.a -rw-r--r-- 1 root wheel > 4598 Mar 11 16:17 libmysqlservices.a drwxr-xr-x 2 root wheel > 512 Mar 8 19:01 plugin/ > > 3. Update the ports tree. Ports tree is up to date. > > Could someone, please, suggest what I could try to solve this? > > Thanks, Jeff Hi Jeff, At what point do you receive the error message? Is it when you attempt to run the executable built by the port? If so, please run the ldd command against the executable and post the output back here. Thank you, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlE+G8kACgkQ0sRouByUApCnLgCgwKZvBM7v60BXemWpG5v3k+IL A2sAn2+xMhPf4x5bnqt02b+hds1inMUj =nI5p -----END PGP SIGNATURE-----