Date: Tue, 28 Feb 2006 17:52:43 -0800 From: Chris <bsd@1command.com> To: freebsd-questions@freebsd.org Subject: Re: Shared object "libmysqlclient.so.15" not found Message-ID: <20060228175243.u119bzp4gs4c8gck@webmail.1command.com> In-Reply-To: <14568.212.39.168.67.1141089554.squirrel@webmail.i13i.com> References: <63203.207.70.139.52.1141088353.squirrel@www.compedgeracing.com> <14568.212.39.168.67.1141089554.squirrel@webmail.i13i.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <my-complaining-application-here> That did it. I went crazy, because I tried: portupgrade -f <myapplication> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060228175243.u119bzp4gs4c8gck>