[TriLUG] how to copy librarys and there link structures.

tj bimasakti at gmail.com
Wed Apr 7 13:22:50 EDT 2010


compile into static is not recommended, unless there is  the last option :D

On Sun, Apr 4, 2010 at 10:41 PM, Rodney Radford <rradford at mindspring.com> wrote:
>
> First, run ldd <executable> to see what libraries are needed by the intended executable, and then simply copy each of them to a directory inside your chroot area and point your library path (environment variable LDDPATH) at that directory when you chroot.
>
> Another option may be to link the program as static and then you don't need to worry about the libraries.
>
>
> -----Original Message-----
>>From: Ralph Blach <chipperb at nc.rr.com>
>>Sent: Apr 4, 2010 10:25 PM
>>To: Triangle Linux Users Group General Discussion <trilug at trilug.org>
>>Subject: [TriLUG] how to copy librarys and there link structures.
>>
>>Is there an easy way to copy librarys and there link structurs?
>>
>>I need to set up a chroot on my system
>>
>>Thanks
>>
>>Chip
>>--
>>TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
>>TriLUG FAQ          : http://www.trilug.org/wiki/Frequently_Asked_Questions
>
> --
> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG FAQ          : http://www.trilug.org/wiki/Frequently_Asked_Questions
>



More information about the TriLUG mailing list