LD_LIBRARY_PATH in chroot?

Anton - Valqk lists at lozenetz.org
Tue Mar 25 02:45:32 PDT 2008


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.



More information about the freebsd-stable mailing list