From owner-freebsd-questions@FreeBSD.ORG Wed Mar 1 01:52:49 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFBF916A420 for ; Wed, 1 Mar 2006 01:52:49 +0000 (GMT) (envelope-from bsd@1command.com) Received: from mail.1command.com (mail.1command.com [216.177.243.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 257AB43D45 for ; Wed, 1 Mar 2006 01:52:48 +0000 (GMT) (envelope-from bsd@1command.com) Received: from mail.1command.com (localhost.1command.com [127.0.0.1]) by mail.1command.com (8.13.4/8.13.3) with ESMTP id k211qjaC080401 for ; Tue, 28 Feb 2006 17:52:45 -0800 (PST) (envelope-from bsd@1command.com) Received: (from www@localhost) by mail.1command.com (8.13.4/8.13.3/Submit) id k211qhDW080400 for freebsd-questions@freebsd.org; Tue, 28 Feb 2006 17:52:43 -0800 (PST) (envelope-from bsd@1command.com) X-Authentication-Warning: mail.1command.com: www set sender to bsd@1command.com using -f Received: from mail.1command.com (mail.1command.com [216.177.243.35]) by webmail.1command.com (Horde MIME library) with HTTP; Tue, 28 Feb 2006 17:52:43 -0800 Message-ID: <20060228175243.u119bzp4gs4c8gck@webmail.1command.com> X-Priority: 3 (Normal) Date: Tue, 28 Feb 2006 17:52:43 -0800 From: Chris To: freebsd-questions@freebsd.org References: <63203.207.70.139.52.1141088353.squirrel@www.compedgeracing.com> <14568.212.39.168.67.1141089554.squirrel@webmail.i13i.com> In-Reply-To: <14568.212.39.168.67.1141089554.squirrel@webmail.i13i.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.4) / FreeBSD-5.5 Subject: Re: Shared object "libmysqlclient.so.15" not found 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: Wed, 01 Mar 2006 01:52:50 -0000 Greetings, I had the same problem with that library just today. I pulled my hair out with frustration trying (and failing) with portupgrade. *Until* I went to the /usr/ports/databases/mysqlclient-directory and ran: make deinstall then ran: portupgrade -fO That did it. I went crazy, because I tried: portupgrade -f which didn't fix it because the upgrade barfed when it got to the mysqlclient part, complaining that it was already installed (isn't that what the -f option is for?!). So I did a: setenv FORCE_PKG_INSTALL and did it again. It worked but the application(s) still complained about the mysqlclient library. Eventually I *boldly* added the O option after deinstalling the mysqlclient and all applications stopped complaining about the mysqlclient library. Go figure. Hope this helps. --Chris Quoting chris@i13i.com: > Did you compile this from ports or by hand ? Some ports have options and > for some reason some dont pop the options you ask for when doing > -WITH_BLAH or -DWITH_BLAH so i would go where it says +-CONFIGURE_ARGS= > and add the options to enable mysql in pure-ftpd > >> I am seeing two different but related errors and I'm trying to figure out >> how to fix them. At bootup: >> >> /libexec/ld-elf.so.1: Shared object "libmysqlclient.so.15" not found, >> required by "pure-ftpd" >> >> and while running: >> >> Feb 27 18:06:28 www postfix/smtpd[874]: unable to dlopen /usr/local/lib/s >> asl2/libsql.so: Shared object "libmysqlclient.so.15" not found, required >> by "libsql.so" >> >> I checked the obvious >> ls -l /usr/local/lib/mysql/libmysqlclient.so.15 -rwxr-xr-x 1 root wheel >> 417578 Feb 27 17:37 /usr/local/lib/mysql/libmysqlclient.so.15 >> >> ls -l /usr/local/lib/sasl2/libsql.so lrwxr-xr-x 1 root wheel 11 Feb 27 >> 17:49 /usr/local/lib/sasl2/libsql.so -> libsql.so.2 >> >> ls -l /usr/local/lib/sasl2/libsql.so.2 -rwxr-xr-x 1 root wheel 20693 >> Feb 27 17:49 /usr/local/lib/sasl2/libsql.so.2 >> >> So they exist but I'm at a loss for how to fix this. >> >> >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.