From owner-freebsd-questions@FreeBSD.ORG Mon Mar 11 16:59:35 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 2E480B75 for ; Mon, 11 Mar 2013 16:59:35 +0000 (UTC) (envelope-from jeff.t@mail.com) Received: from mout.gmx.net (mout.gmx.net [74.208.4.201]) by mx1.freebsd.org (Postfix) with ESMTP id F2774FF8 for ; Mon, 11 Mar 2013 16:59:34 +0000 (UTC) Received: from mailout-us.mail.com ([172.19.198.94]) by mrigmx.server.lan (mrigmxus002) with ESMTP (Nemesis) id 0Lhdy9-1UbYht0sK1-00mqKp for ; Mon, 11 Mar 2013 17:59:28 +0100 Received: (qmail invoked by alias); 11 Mar 2013 16:59:27 -0000 Received: from unknown (EHLO dc.sinhro.lv) [87.246.164.215] by mail.gmx.com (mp-us011) with SMTP; 11 Mar 2013 12:59:27 -0400 X-Authenticated: #76218138 X-Provags-ID: V01U2FsdGVkX1/0iNIlWiv0uGB2cskpuUhWukkjIr9pIg8C7Y74jc zy/Csx8TpU8SYP Message-ID: <513E0D6D.10503@mail.com> Date: Mon, 11 Mar 2013 18:59:25 +0200 From: Jeff Tipton User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121014 Thunderbird/16.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Error: shared library "mysqlclient.18" does not exist Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 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 16:59:35 -0000 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