From owner-freebsd-stable@FreeBSD.ORG Tue Mar 25 09:45:32 2008 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0DE71065671 for ; Tue, 25 Mar 2008 09:45:32 +0000 (UTC) (envelope-from lists@lozenetz.org) Received: from mail.webreality.org (mailserver.webreality.org [217.75.141.5]) by mx1.freebsd.org (Postfix) with ESMTP id 4CC198FC14 for ; Tue, 25 Mar 2008 09:45:32 +0000 (UTC) (envelope-from lists@lozenetz.org) Received: from [10.0.1.100] (unknown [87.121.18.230]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.webreality.org (Postfix) with ESMTP id 96E83FFE105 for ; Tue, 25 Mar 2008 11:45:25 +0200 (EET) Message-ID: <47E8C9B6.8090403@lozenetz.org> Date: Tue, 25 Mar 2008 11:45:26 +0200 From: Anton - Valqk User-Agent: Mozilla-Thunderbird 2.0.0.9 (X11/20080110) MIME-Version: 1.0 To: stable@freebsd.org References: <47E8C891.2030301@lozenetz.org> In-Reply-To: <47E8C891.2030301@lozenetz.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-HostIT-MailScanner-Information: Please contact the ISP for more information X-HostIT-MailScanner: Found to be clean X-HostIT-MailScanner-From: lists@lozenetz.org Cc: Subject: Re: LD_LIBRARY_PATH in chroot? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Mar 2008 09:45:32 -0000 Reply to myself, I've found the problem, you _must_ copy the ld.so.hints in /var/run/ to the /var/run/ chrooted dir. now everything works like a charm. Anton - Valqk wrote: > Hi group, > I'm setting up a chrooted enviornment and all my executables won't > find libs in /usr/local/lib/ > I've copied the /lib/ /bin/ /etc/ /usr/* and /usr/local/* in /chroot/env/ > I'm chrooting in /choot/env/ and all my bin's can't find libs in > /usr/local/lib > if I do echo $LD_LIBRARY_PATH there is no env. > why's that? any ideas? > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.