community.borland.com

Article #25627: Linking to the Shared Library in v3.3

Problem:
Linking to the shared library in v3.3 with no error, but can't see the 
shared library linked.

Solution:
Command "ldd" will display the dependencies of executable files.  So if 
an application is linked to the InterBase shared library and then run 
ldd on the executable file, InterBase shared library "gds.so.o" should 
be one of the libraries displayed.

If the library is not shown, then check the following:

1.  Check the link options and make sure it's linked with the correct 
ones.  See http://www.interbase.com/tech/docs/linkv3.html or 
http://www.interbase.com/tech/docs/linkv4.html

2.  Check the permission on /usr/lib and /usr/interbase/lib directory.

3.  Check and make sure that there is a link from /usr/lib/libgds.so to 
/usr/lib/libgds.so.0.

Last Modified: 24-OCT-00