2013-04-08-2006Z


Working on solving my library compatibility problems:

mkdir /tmp/litecoin-libs
for file in $(ldd ~/hack/litecoin/src/litecoind); do
 if [ "${file:0:1}" = "/" ]; then
  cp $file /tmp/litecoin-libs/
 fi
done
cd /tmp
tar cvfj litecoin-libs.tbz litecoin-libs

Obviously filenames with spaces would break this; but this is Linux. Unix hackers just don't do that crap.

Back to blog or home page

last updated 2013-04-20 12:36:27. served from tektonic.jcomeau.com