Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 2008 11:45:26 +0200
From:      Anton - Valqk <lists@lozenetz.org>
To:        stable@freebsd.org
Subject:   Re: LD_LIBRARY_PATH in chroot?
Message-ID:  <47E8C9B6.8090403@lozenetz.org>
In-Reply-To: <47E8C891.2030301@lozenetz.org>
References:  <47E8C891.2030301@lozenetz.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47E8C9B6.8090403>