From owner-freebsd-questions@FreeBSD.ORG Wed Sep 21 18:31:19 2005 Return-Path: X-Original-To: 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 A52A216A41F for ; Wed, 21 Sep 2005 18:31:19 +0000 (GMT) (envelope-from dhenin@puma.cti.ecp.fr) Received: from jaguar.ecp.fr (jaguar.ecp.fr [138.195.33.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CBDC43D4C for ; Wed, 21 Sep 2005 18:31:17 +0000 (GMT) (envelope-from dhenin@puma.cti.ecp.fr) Received: from localhost (localhost [127.0.0.1]) by jaguar.ecp.fr (Postfix) with ESMTP id C5A6168002 for ; Wed, 21 Sep 2005 20:31:15 +0200 (CEST) Received: from jaguar.ecp.fr ([127.0.0.1]) by localhost (jaguar [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31837-02 for ; Wed, 21 Sep 2005 20:31:15 +0200 (CEST) Received: from puma.cti.ecp.fr (puma.cti.ecp.fr [138.195.33.10]) by jaguar.ecp.fr (Postfix) with ESMTP id B1F6268004 for ; Wed, 21 Sep 2005 20:31:15 +0200 (CEST) Received: by puma.cti.ecp.fr (Postfix, from userid 23550) id BBEBE1E190; Wed, 21 Sep 2005 20:31:14 +0200 (MEST) Date: Wed, 21 Sep 2005 20:31:14 +0200 From: Jean-Jacques Dhenin To: questions@freebsd.org Message-ID: <20050921183114.GA9280@ecp.fr> References: <20050921133439.GA7736@ecp.fr> <20050921152849.GB45642@xor.obsecurity.org> <20050921160214.GA8459@ecp.fr> <20050921163146.GA62299@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20050921163146.GA62299@xor.obsecurity.org> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ecp.fr Cc: Subject: make a new libdl.so.2 for cgoban2 ? 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, 21 Sep 2005 18:31:19 -0000 Thanks again for your time and your help. I moved /usr/local/lib/libdl.so to /usr/local/lib/libdl.so.old because /usr/local/lib/libdl.so is a symbolic link to /usr/local/lib/libdl.so.2 and then, cgoban2 get /usr/libexec/ld-elf.so.1: /usr/local/lib/libdl.so.2: Undefined symbol "_libc_intl_domainname". Now, I move /usr/local/lib/libdl.so.2 to /usr/local/lib/libdl.so.2.old and then cgoban2 get /usr/libexec/ld-elf.so.1: Shared object "libdl.so.2" not found, \ required by "Kaffe" Well. $ pkg_info | grep -i Kaffe kaffe-1.1.5 I am not able to do "portupgrade -f kaffe" because it stop on error : Error: "no-switchcheck" is not a recognized flag for controlling pedantic warnings. Error: "no-shadow" is not a recognized flag for controlling pedantic warnings. use: jikes [options] [@files] file.java... Also I try pkg_add -r kaffe, but no libdl.so are put in /usr/local/lib/ Any other idea ? Bien cordialement. According to Kris Kennaway: > > > pkg_which /usr/local/lib/libdl.so.2 say ? > That means it's not claimed by any port, and you can try just removing > it (or safer: put it somewhere where rtld won't look for it) and > rebuild. > > Perhaps you compiled something by hand that installed the libdl - > that's a standard library on other platforms (e.g. solaris, I think), > and so many configure scripts will look for it and assume it should be > linked if found. This is wrong on FreeBSD. > > Kris > > > According to Kris Kennaway: > > > > When I try cgoban2 on FreeBSD ... 4.11-STABLE, I get > > > > > > > > /usr/libexec/ld-elf.so.1: /usr/local/lib/libdl.so.2: Undefined symbol "_libc_intl_domainname" > > > > > > > > I have not found anything about the origine of libdl.so.2. > > > > > > > > New kernel, new buildworld, portupdate -Rrf cgoban2 and portmanager, > > > > without succes. -- (°> Dhénin Jean-Jacques / ) dhenin@ecp.fr ^^