From: Roger B. <ro...@ro...> - 2002-06-13 18:59:56
|
> You can use 'ldd' on binaries to see which libs they need, and copy > those over to your root/lib. This fragment of shell script will get a list of all the libraries used: find root -type f | xargs ldd 2>/dev/null | awk '{print $3}' | \ grep /lib/ | sort | uniq However you will find most are symbolic links. If you don't care about disk space, just copy away. If you do, you'll need to copy the linked files, and then reconstruct the symlinks yourself, or use ldconfig with the -r option. Roger |