From owner-freebsd-hackers@FreeBSD.ORG Fri Apr 14 19:48:47 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7CAF816A403; Fri, 14 Apr 2006 19:48:47 +0000 (UTC) (envelope-from victor@bsdes.net) Received: from alf.dyndns.ws (244.Red-217-126-240.staticIP.rima-tde.net [217.126.240.244]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA75043D46; Fri, 14 Apr 2006 19:48:46 +0000 (GMT) (envelope-from victor@bsdes.net) Received: from alf.dyndns.ws (pato.euesrg02.net [192.168.0.3]) by alf.dyndns.ws (8.13.1/8.13.1) with ESMTP id k3EJmi85046704; Fri, 14 Apr 2006 21:48:44 +0200 (CEST) (envelope-from victor@bsdes.net) Date: Fri, 14 Apr 2006 21:48:43 +0200 From: Victor Balada Diaz To: Daniel Eischen Message-ID: <20060414194843.GC702@pato.euesrg02.net> References: <20060414182846.GA702@pato.euesrg02.net> <20060414190010.GB702@pato.euesrg02.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: hackers@freebsd.org Subject: Re: Missing dependencies on shared libraries X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Apr 2006 19:48:47 -0000 On Fri, Apr 14, 2006 at 03:20:41PM -0400, Daniel Eischen wrote: > On Fri, 14 Apr 2006, Victor Balada Diaz wrote: > > >On Fri, Apr 14, 2006 at 02:41:06PM -0400, Daniel Eischen wrote: > >>On Fri, 14 Apr 2006, Victor Balada Diaz wrote: > >> > >>>Hi, > >>>I found that ldd doesn't report libc as a dependency on most (all?) > >>>libraries: > >>> > >>>pato> ldd /usr/lib/libfetch.so > >>>/usr/lib/libfetch.so: > >>> libssl.so.3 => /usr/lib/libssl.so.3 (0x4816a000) > >>> libcrypto.so.3 => /lib/libcrypto.so.3 (0x48198000) > >>> > >>>does anyone know why? > >> > >>AFAIK, it's being worked on. It's not just libc either, -pthread > >>also has to start linking to libpthread. > > > >Thanks for your fast reply. > > > >I'm trying to create a dependency in some libraries, but it does > >have the same problem as the libc. Is there any way to workaround it? > > Well, you can always try adding -lc. I tried, but it doesn't work. ldd continues to tell me that libc is not a dependency, but if i use objdump -p it does appear as NEEDED. -- La prueba mas fehaciente de que existe vida inteligente en otros planetas, es que no han intentado contactar con nosotros.