On November 28, 2010 05:46:46 Philipp Thomas wrote:
On Sat, 27 Nov 2010 21:28:59 -0400, Gerald H Seibert
wrote:
rpm --queryformat '%{NAME}: %{ARCH}\n' -q qgis netcdf qgis: x86_64 netcdf: x86_64
Hmm, everything OK. Then let's try
strace -f -o qgis.trace -e trace=file
the trace in qgis.trace should show where ld.do is searching for the library.
Philipp Had to make a small change to the above:
strace -f qgis -o qgis.trace -e trace=file I have appended the "relevant" section, which shows(?) that its looking for the library in /lib64.. open("/lib64/tls/x86_64/libnetcdf.so.4", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/lib64/tls/x86_64", 0x7fffd8ae76b0) = -1 ENOENT (No such file or directory) open("/lib64/tls/libnetcdf.so.4", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/lib64/tls", 0x7fffd8ae76b0) = -1 ENOENT (No such file or directory) open("/lib64/x86_64/libnetcdf.so.4", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/lib64/x86_64", 0x7fffd8ae76b0) = -1 ENOENT (No such file or directory) open("/lib64/libnetcdf.so.4", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/lib64", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0 open("/usr/lib64/tls/x86_64/libnetcdf.so.4", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/usr/lib64/tls/x86_64", 0x7fffd8ae76b0) = -1 ENOENT (No such file or directory) open("/usr/lib64/tls/libnetcdf.so.4", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/usr/lib64/tls", 0x7fffd8ae76b0) = -1 ENOENT (No such file or directory) open("/usr/lib64/x86_64/libnetcdf.so.4", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/usr/lib64/x86_64", 0x7fffd8ae76b0) = -1 ENOENT (No such file or directory) open("/usr/lib64/libnetcdf.so.4", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/usr/lib64", {st_mode=S_IFDIR|0755, st_size=151552, ...}) = 0 writev(2, [{"qgis", 4}, {": ", 2}, {"error while loading shared libra"..., 36}, {": ", 2}, {"libnetcdf.so.4", 14}, {": ", 2}, {"cannot open shared object file", 30}, {": ", 2}, {"No such file or directory", 25}, {"\n", 1}], 10qgis: error while loading shared libraries: libnetcdf.so.4: cannot open shared object file: No such file or directory Gerald -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org