- December 13, 2012 at 11:29 am #31072
If you get a error that looks something like the message below, it is likely there is a compatibility problem with libusb and the precompiled version of the hostboot program (shipped in the Minimorph SDK) that you are using.
./hostboot: error while loading shared libraries: libusb-1.0.so.0: cannot open shared object file: No such file or directory
IMG/hostboot: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
There are two versions of the libusb API: the current libusb-1.0 API, and its legacy predecessor libusb-0.1. Additionally, there are 32 and 64 bit versions of the libraries.
$ ldconfig -p | grep "libusb-"to find which libraries are installed.
The output should be something like:
libusb-1.0.so.0 (libc6,x86-64) => /usr/lib64/libusb-1.0.so.0
libusb-0.1.so.4 (libc6,x86-64) => /usr/lib64/libusb-0.1.so.4
If you have only libusb-0.1, you will need to either:
- use hostboot contained in hostboot-Minimorph_1_0-rel007-CentOS_5.7.tar.gz
- install libusb-1.0, depending on your distribution something like:
yum install libusb1.i686
If you have the libusb-1.0 libraries, you will need to use the hostboot contained in hostboot-Minimorph_1_0-relXXX-CentOS_6.X.tar.gz. In the Minimorph SDK due to be released shortly, both 32 and 64 bit versions of hostboot binaries will be shipped. All versions are currently available for download from https://www.imgtec.com/meta_insider/metaflow-sdk.asp