error while loading shared libraries: libgds.so: cannot load shared object file: No such file or directory

Abstract: After performing a client only install on Linux you must alter your LD_LIBRARY_PATH or create a soft link

Q. I've just performed a client only install of InterBase 7.5 and whenever I start any of the command line utilities (iblicense, gstat, gfix, isql) I get the error:

error while loading shared libraries: libgds.so: cannot load shared object file: No such file or directory

What do I do?

A. The simplest solution is create a symbolic lib of libgds.so in /usr/lib. Example:

ln -s /opt/interbase/lib/libgds.so.0 /usr/lib/libgds.so

Another solution is to set your LD_LIBRARY_PATH to point to lib directory where InterBase is installed. Example:

LD_LIBRARY_PATH /opt/interbase/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH

Note that the client install only considers InterBase servers running on default portof 3050. If the server you are connecting is running on a different port you must edit your services file (/etc/services) to indicate the correct label and port. For additional information see the InterBase 7.5 Operations Guide.

FROM:http://edn.embarcadero.com/article/32861
查看 LD_LIBRARY_PATH 是否设置正确了

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

«    2024年11月    »
123
45678910
11121314151617
18192021222324
252627282930
搜索
标签列表
网站分类
最新留言
    文章归档
    友情链接

    Powered By Z-BlogPHP 1.7.3

    Copyright Your WebSite.Some Rights Reserved.闽ICP备11018667号-2