Friday, October 19, 2012

Run barracudadrive on pogoplugs

reference: http://barracudadrive.net/blog/2009/09/BarracudaDrive-for-Marvells-SheevaPlug

barracudrive software is available for the sheeva plug, but not the pogoplug. Since they are the same hardware wise, here are the steps to make it work.

running barracudadrive software "as is" will give the error below:

# ./bdd -p8080 -s8443
  ./bdd: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

1. download the full_gentoo_sheevaplug_20090312_minus_kernel_sources.tar.bz2, found at

http://www.plugcomputer.org/index.php/us/resources/downloads?func=startdown&id=7

This is around 90Mb, where we only need one measly file! :(

2. decompress and get the file at /usr/lib/gcc/armv5tejl-softfloat-linux-gnueabi/4.2.4:

  libstdc++.so.6.0.9
3. copy the file to the pogoplug and create the link

  # cp libstdc++.so.6.0.9 /root
  # cd /root
  # ln -s libstdc++.so.6.0.9 libstdc++.so.6


4. create environment variable LD_LIBRARY_PATH. Add this to your startup script for bdd.

  # export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/root

5. and this will work now!

  # ./bdd -p8080 -s8443

No comments:

Post a Comment