Alexander Bessman
2015-03-22 10:04:58 UTC
Hello,
I've been using linux-gpib successfully on Scientific Linux 6 for a while, and recently decided to migrate to Debian instead. However, after compiling linux-gpib 3.2.21 on Debian I am unable to run gpib-config or ibtest due to this error: "ibtest: error while loading shared libraries: libgpib.so.0: cannot open shared object file: No such file or directory"
Indeed, running ldd on /usr/local/bin/ibtest shows the following:
linux-vdso.so.1 (0x00007ffd3edf2000)
libgpib.so.0 => not found
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f5540a73000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f55406c9000)
/lib64/ld-linux-x86-64.so.2 (0x00007f5540cbf000)
Which is odd, because /usr/local/lib/libgpib.so.0 exists and /usr/local/lib is in my library path.
I've tested this on both Debian Wheezy and Debian Sid with the same result.
Has anyone encountered this problem before, or have any ideas as to what might be the cause?
//Alexander Bessman
I've been using linux-gpib successfully on Scientific Linux 6 for a while, and recently decided to migrate to Debian instead. However, after compiling linux-gpib 3.2.21 on Debian I am unable to run gpib-config or ibtest due to this error: "ibtest: error while loading shared libraries: libgpib.so.0: cannot open shared object file: No such file or directory"
Indeed, running ldd on /usr/local/bin/ibtest shows the following:
linux-vdso.so.1 (0x00007ffd3edf2000)
libgpib.so.0 => not found
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f5540a73000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f55406c9000)
/lib64/ld-linux-x86-64.so.2 (0x00007f5540cbf000)
Which is odd, because /usr/local/lib/libgpib.so.0 exists and /usr/local/lib is in my library path.
I've tested this on both Debian Wheezy and Debian Sid with the same result.
Has anyone encountered this problem before, or have any ideas as to what might be the cause?
//Alexander Bessman