From owner-freebsd-stable@FreeBSD.ORG Thu Aug 26 15:07:34 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD54216A4CE for ; Thu, 26 Aug 2004 15:07:34 +0000 (GMT) Received: from smtp.unsam.edu.ar (smtp.unsam.edu.ar [170.210.48.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC05843D54 for ; Thu, 26 Aug 2004 15:07:29 +0000 (GMT) (envelope-from fernan@iib.unsam.edu.ar) Received: from pi.iib.unsam.edu.ar (pi.iib.unsam.edu.ar [192.168.10.11]) by smtp.unsam.edu.ar (8.12.6/8.12.6) with ESMTP id i7QFIcSV089624 for ; Thu, 26 Aug 2004 12:18:42 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) Received: from pi.iib.unsam.edu.ar (localhost.iib.unsam.edu.ar [127.0.0.1]) by pi.iib.unsam.edu.ar (8.12.11/8.12.9) with ESMTP id i7QF5V7E041896 for ; Thu, 26 Aug 2004 12:05:32 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) Received: (from fernan@localhost) by pi.iib.unsam.edu.ar (8.12.11/8.12.11/Submit) id i7QF5TU1041895 for freebsd-stable@freebsd.org; Thu, 26 Aug 2004 12:05:29 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) X-Authentication-Warning: pi.iib.unsam.edu.ar: fernan set sender to fernan@iib.unsam.edu.ar using -f Date: Thu, 26 Aug 2004 12:05:29 -0300 From: Fernan Aguero To: FreeBSD STABLE Message-ID: <20040826150529.GE41373@iib.unsam.edu.ar> Mail-Followup-To: Fernan Aguero , FreeBSD STABLE Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: ld-elf.so.1: Shared objects not found X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Aug 2004 15:07:34 -0000 Hi! For the past week I've been intermittently updating a FreeBSD-4.9 to 4.10p2. buildworld and kernel did OK and I'm now dealing with ports. After updating the system (and I do not remember if this also had to do with updating a port also), messages of the type: /usr/libexec/ld-elf.so.1: Shared object "libz.so.1" not found started to appear. I noticed that this file is now missing and there is a libz.so.2 in /usr/lib/ Trying to start apache13 showed this same message. I reinstalled apache from ports and the problem is now gone. The same is happening now with mysql. Intriguingly mysqld (server) is running fine but I cannot use the mysql(1) client. I read about /etc/libmap.conf and added lines of the type libz.so.1 libz.so.2 That seemed to make mysql stop searching for libz.so.1 but now it fails on libcrypto.so.1, and after adding libcrypto.so.2 to libmap.conf now it's libnsl.so.1. My question is then: is this the right way to do this? (i.e. using libmap.conf) I already reinstalled both client and server and the problem is still there. A second question: in libmap.conf the only way to make mysql find the corresponding shared libs is to put the entries as 'global'. Constraining them to [mysql] or [/usr/local/bin/mysql] does not work. How should I constrain this so that the mappings are not global and mysql gets working? Or perhaps it is OK to use these entries globally? libz.so.1 libz.so.2 libcrypto.so.1 libcrypto.so.2 libnsl.so.1 libnsl.so.2 Thanks in advance for any suggestion, Fernan -- Fernan Aguero - fernan at iib.unsam.edu.ar Phone: +54 11 4580-7255/7 ext 310, Fax: +54 11 4752-9639 Check http://genoma.unsam.edu.ar/~fernan for more info.