From owner-freebsd-hackers@FreeBSD.ORG Fri Apr 14 19:20:44 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 AEDD316A400 for ; Fri, 14 Apr 2006 19:20:44 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4ED5F43D45 for ; Fri, 14 Apr 2006 19:20:44 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.6/8.13.6/NETPLEX) with ESMTP id k3EJKfBq008803; Fri, 14 Apr 2006 15:20:41 -0400 (EDT) Date: Fri, 14 Apr 2006 15:20:41 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Victor Balada Diaz In-Reply-To: <20060414190010.GB702@pato.euesrg02.net> Message-ID: References: <20060414182846.GA702@pato.euesrg02.net> <20060414190010.GB702@pato.euesrg02.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) 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 Reply-To: Daniel Eischen 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:20:44 -0000 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. -- DE