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

Rodney Radford rradford at mindspring.com
Sun Apr 4 22:41:31 EDT 2010


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




More information about the TriLUG mailing list