Export to GitHub

gsql - issue #44

Error Installing on opensuse 11.4 x64


Posted on Nov 30, 2011 by Massive Kangaroo

Ref Issue 33 (part 2). Im having this same problem on opensuse 11.4 x64.

./configure, make, sudo make install, went fine, after i satisfied the dependencies.

when i try to run gsql i was getting

gsql: error while loading shared libraries: libgsql.so.0: cannot open shared object file: No such file or directory

The following set of commands fixed it, but surely this should get done by make install..

james@linux-36tg:/data/JAMES/gsql-0.2.2> whereis libgsql.so.0 libgsql.so: /usr/local/lib/libgsql.so.0 /usr/local/lib/libgsql.so

james@linux-36tg:/data/JAMES/gsql-0.2.2> cat /etc/ld.so.conf | grep '/usr/local/lib' /usr/local/lib /usr/local/lib64

james@linux-36tg:/data/JAMES/gsql-0.2.2> sudo /sbin/ldconfig /sbin/ldconfig: /usr/local/lib/libgsql.so.0 is not a symbolic link

james@linux-36tg:/data/JAMES/gsql-0.2.2> sudo /sbin/ldconfig -p | grep libgsql libgsql.so.0 (libc6,x86-64) => /usr/local/lib/libgsql.so.0

now it sees the shared library and after this gsql runs fine :)

Status: New

Labels:
Type-Defect Priority-Medium