From owner-freebsd-questions@FreeBSD.ORG Sun Apr 18 02:34:02 2010 Return-Path: Delivered-To: FreeBSD-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09B42106564A for ; Sun, 18 Apr 2010 02:34:02 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id C139E8FC18 for ; Sun, 18 Apr 2010 02:34:01 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id o3I2Y0dl057075 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 17 Apr 2010 21:34:01 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.4/8.14.3) with ESMTP id o3I2Y0j0009364 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 17 Apr 2010 21:34:00 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.3/Submit) id o3I2Y072009362; Sat, 17 Apr 2010 21:34:00 -0500 (CDT) (envelope-from dan) Date: Sat, 17 Apr 2010 21:34:00 -0500 From: Dan Nelson To: Gene Message-ID: <20100418023400.GD5413@dan.emsphone.com> References: <20100418004245.M25181@brightstar.bomgardner.net> <20100418011737.GA5413@dan.emsphone.com> <20100418013353.M57849@brightstar.bomgardner.net> <20100418021116.GC5413@dan.emsphone.com> <20100418022311.M71000@brightstar.bomgardner.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100418022311.M71000@brightstar.bomgardner.net> X-OS: FreeBSD 8.0-STABLE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.96 at email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Sat, 17 Apr 2010 21:34:01 -0500 (CDT) X-Scanned-By: MIMEDefang 2.45 Cc: FreeBSD-questions@freebsd.org Subject: Re: That elusive mysqlclient.16 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Apr 2010 02:34:02 -0000 In the last episode (Apr 17), Gene said: > On Sat, 17 Apr 2010 21:11:16 -0500, Dan Nelson wrote > > In the last episode (Apr 17), Gene said: > > > On Sat, 17 Apr 2010 20:17:37 -0500, Dan Nelson wrote > > > > In the last episode (Apr 17), Gene said: > > > > > Attempts to build databases/mysql55-server or php5-mysql, or > > > > > php5-mysqli all stop with the following error: > > > > > > > > > > Error: shared library "mysqlclient.16" does not exist > > > > > > > > > > I've tried building and rebuilding mysql55-client, tried > > > > > portupgrade (after portsnap) all to no avail. Google searches > > > > > found one item, and that was in Chinese. > > > > > > > > > > Does anyone know what port is supposed to install this shared > > > > > library? I'd think the file would be installed by mysql55-client, > > > > > but apparently not. > > > > > > > > mysql55-client installs it. Try rebuilding mysql55-client again and > > > > make sure it installs successfully. > > > > > > Dan - thanks for the reply. > > > > > > I did the following: > > > cd /usr/ports/databases/mysql55-client > > > script ../t > > > make clean > > > make > > > make deinstall && make reinstall > > > exit > > > > > > Installation completed successfully. > > > > > > mysqlclient.16 still cannot be found, nor does the filename occur in > > > ../t. > > > > > > Any ideas where to go next? I can put the script output up on the web > > > if you think it'll help. It's kinda big for an email. > > > > Script output would be useful. Did anything at all get installed in > > /usr/local/lib/mysql/ ? If there is a libmysqlclient.so.16 file, does > > "ldconfig -r | grep libmysqlclient.so.16" print anything? > > > > -- > > Dan Nelson > > dnelson@allantgroup.com > > Hi again... > script output should be available at: > > http://brightstar.ath.cx/temp/t This line in your script should have installed that shared object: libtool: install: /usr/bin/install -c -o root -g wheel .libs/libmysqlclient.so.16 /usr/local/lib/mysql/libmysqlclient.so.16 , although you seem to have a file ownership problem, which could be affecting the install: ===> Running ldconfig /sbin/ldconfig -m /usr/local/lib/mysql ldconfig: /usr/local/lib/mysql: ignoring directory not owned by root Try fixing that and do a "make deinstall ; make reinstall" (no rebuild should be necessary). > brightstar2# ls /usr/local/lib/mysql > libdbug.a libmysqlclient.a libmysqlclient_r.a > libmysqld.a libvio.a > libheap.a libmysqlclient.la libmysqlclient_r.la > libmysqlservices.a plugin > libmyisam.a libmysqlclient.so libmysqlclient_r.so > libmystrings.a > libmyisammrg.a ls -l please; libmysqlclient.so should be a symlink to libmysqlclient.so.16: (dan@dan.14) /usr/local/lib/mysql> ls -l libmysqlclient* -rw-r--r-- 1 root wheel 618618 Apr 17 20:29 libmysqlclient.a -rwxr-xr-x 1 root wheel 987 Apr 17 20:29 libmysqlclient.la lrwxr-xr-x 1 root wheel 20 Apr 17 20:29 libmysqlclient.so -> libmysqlclient.so.16 -rwxr-xr-x 1 root wheel 543213 Apr 17 20:29 libmysqlclient.so.16 -rw-r--r-- 1 root wheel 640244 Apr 17 20:29 libmysqlclient_r.a -rwxr-xr-x 1 root wheel 1010 Apr 17 20:29 libmysqlclient_r.la lrwxr-xr-x 1 root wheel 22 Apr 17 20:29 libmysqlclient_r.so -> libmysqlclient_r.so.16 -rwxr-xr-x 1 root wheel 561411 Apr 17 20:29 libmysqlclient_r.so.16 -- Dan Nelson dnelson@allantgroup.com