[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Jailkit-users] ldd on FreeBSD

From: Peter Veerman
Subject: Re: [Jailkit-users] ldd on FreeBSD
Date: Fri, 03 Nov 2006 11:04:52 +0100
User-agent: Thunderbird (Windows/20060909)


I couldn't find an answer to that question either, though we have a runtime linker:


If i understood the manpage correctly:

The only problem of not running the ldconfig -r command in a freebsd chroot is that the the ld.so.hints file in the chrooted environment contains references to files that are not in the chrooted environment. But if the chroot contains all the libraries the executables need, there's not a real problem IMHO. Though it is not very nice....

Peter Veerman

Olivier Sessink wrote:
Peter Veerman wrote:

Well in freebsd we have an ldconfig that configures the shared library
cache. When i empty this cache no dynamic loadable libraries can be
found by the executable ---> the executables won't run 8-)

The manpage of LDCONFIG.

The manpage of LD.

If this doesn't help you out please let me know.

hmm on Linux ldconfig has the option -r to create a library cache in a
chroot environment

not sure how this can be done on freebsd.. Do you copy the ldconfig
binary into the chroot jail and then run it with
`chroot /path ldconfig` ?


Jailkit-users mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]