jailkit-users
[Top][All Lists]
Advanced

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

Re: [Jailkit-users] ldd on FreeBSD


From: Olivier Sessink
Subject: Re: [Jailkit-users] ldd on FreeBSD
Date: Thu, 02 Nov 2006 20:49:58 +0100
User-agent: Thunderbird 1.5.0.5 (X11/20060812)

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.
> http://www.gsp.com/cgi-bin/man.cgi?section=8&topic=ldconfig
> 
> The manpage of LD.
> http://www.gsp.com/cgi-bin/man.cgi?section=1&topic=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
http://www.die.net/doc/linux/man/man8/ldconfig.8.html

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` ?

gr.
        Olivier




reply via email to

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