On 03/08/09 19:57, Alex Birchall wrote: > Hello, > > I have installed the Tivoli Storage Manager client on an Ubuntu Hard > Heron server, following the instructions at > http://www.adsm.org/forum/showthread.php?t=16637 > > However, the problem that manifests now is that when I issue the > command: > > dsmc incremental > > the response is - > > dsmc: error while loading shared libraries: libgpfs.so: cannot open > shared object file: No such file or directory > > libgpfs.so exists in: > > /opt/tivoli/tsm/client/api/bin/libgpfs.so > > The output of ldd is as follows: > > :/# ldd /opt/tivoli/tsm/client/ba/bin/dsmc > linux-gate.so.1 => (0xb7faf000) > libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0xb7f6f000) > libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 > (0xb7f57000) > libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7f53000) > libgpfs.so => not found > libdmapi.so => not found > librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7f49000) > libha_gs_r.so => not found > libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xb7e8f000) > libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7e6a000) > libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7e5f000) > libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7d0f000) > /lib/ld-linux.so.2 (0xb7fb0000) > > If anyone can suggest how to fix this, I should be most grateful.
2 things. 1: check permissions and ownerships on the libraries in questions (should be comparable with regular libs). 2: Ensure that your library path (/opt/tivoli/tsm/client/api/bin/ - is that really where they are? They should be a a "lib" dir not a bin dir ideally) is included in the linker's path. On my Ubuntu 9.04, there's a directory called /etc/ld.so.conf.d/ where you can create a file (like tivoli.conf) containing the path to your libs (on other systems I've seen you just add the path to the file /etc/ld.so.conf. One path per line). Once updated, run # sudo ldconfig That should ensure that the linker can find the libs. HTH Alan -- The Open Learning Centre Web: www.theopenlearningcentre.com -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/