From owner-freebsd-hackers@FreeBSD.ORG Mon Dec 3 13:42:31 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E7B516A46B for ; Mon, 3 Dec 2007 13:42:31 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id B94C913C4F7 for ; Mon, 3 Dec 2007 13:42:30 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A54BCA.dip.t-dialin.net [84.165.75.202]) by redbull.bpaserver.net (Postfix) with ESMTP id 8AE1C2E191; Mon, 3 Dec 2007 14:42:03 +0100 (CET) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 5C0187832C; Mon, 3 Dec 2007 14:42:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1196689320; bh=UVlt5TwFkv/Bl3W4aIoteJmH17oJn0P93 jGdL0BUEec=; h=Message-ID:X-Priority:Date:From:To:Cc:Subject: References:In-Reply-To:MIME-Version:Content-Type: Content-Disposition:Content-Transfer-Encoding:User-Agent; b=3Wr1lm favgMXHNp0Xs+GsFjclgWUxtqfE/9gw35anX1PYWL6EXkQD35XUEjco5ySz+BJFSYCL BabnoZuqC+gpKxw7C7Gndnp9zMiK33D2gSuVJNnwLAgj+KmPOJGSItb5OsjE4fE1WXJ +k1RHInSjZtgFvXjYQoNBqQj99xbqBDKHNJ2xwz+xLaX7nKbGuqTd/YXOLYvRH5318o c4SoEnSQF9BD9guZ5lgOukcNTLHT/2uw4bUUXGciToboL4F7mJ8eyEY3uoEbqcDoUeZ gHfxHXH02Mvtqba9OLH44FJ2oYpDY/GifQybBNQ9HAtA8CjaMm8T66zjrpfd1zA/uO3 Q== Received: (from www@localhost) by webmail.leidinger.net (8.14.1/8.13.8/Submit) id lB3Dfx08085659; Mon, 3 Dec 2007 14:41:59 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Mon, 03 Dec 2007 14:41:59 +0100 Message-ID: <20071203144159.irjelm2c0c8o8csw@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Mon, 03 Dec 2007 14:41:59 +0100 From: Alexander Leidinger To: Chuck Robey References: <1196470143.4750af7f6accf@webmail.rawbw.com> <4752F825.8020505@chuckr.org> In-Reply-To: <4752F825.8020505@chuckr.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.9, required 6, BAYES_00 -15.00, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No X-Mailman-Approved-At: Mon, 03 Dec 2007 14:23:54 +0000 Cc: Yuri , freebsd-hackers@freebsd.org Subject: Re: Linux executable picks up FreeBSD library over linux one and breaks 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: Mon, 03 Dec 2007 13:42:31 -0000 Quoting Chuck Robey (from Sun, 02 Dec 2007 =20 13:23:33 -0500): > You've gotten some good suggestions, but I might add one more, I don't > think it's been mentioned. I have foound, myself in the last 2 weeks, > some FreeBSD ports putting in Linux tools, installing stuff in the > wrong places, like sticking in SYSV libraries in /usr/local/lib instead > of /compat/linux/usr/lib. I verified in that case that the Linux If they put the libs directly in /usr/local/lib instead of =20 /usr/local/lib/, then it is a big =20 error. But if it is in a subdirectory where no FreeBSD lib resides, it =20 is ok (the linux browser sets LD_LIBRARY_PATH in the start script to =20 the right path). Have a look how the native browser works, the private libs are not in =20 ldconfig either and the browser start script sets the library path for =20 the browser binary. At least it did this the last time I checked... Bye, Alexander. --=20 Ryan's Law: =09Make three correct guesses consecutively =09and you will establish yourself as an expert. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137