| | | | Browse by category |
While trying to connect to the database server,I get the error
ld.so.1: tutsetup: fatal: libdbt7d.so: can't open file:
Cause
The application cannot load the DBTools.h++ Access Library's shared library.
Action
Here are some things to try:
1. Make sure the access library is on the library path.
Usually this is indicated by an environment variable
that stores a path that will be searched when shared
libraries are loaded. For instance, Solaris uses the
LD_LIBRARY_PATH, and AIX uses LIBPATH and HPUX uses
SHLIB_PATH.
Be sure the library path has the
..spm/workspaces/OS/compiler/buildtype/lib directory
on the path (for DBTools.h++ version 2.11 and earlier,
use the rogue/lib directory).
2. You can use the unix command ldd > to list all the
shared libraries and their paths used by your application.
For example, run ldd myapplication
3. Make sure you have chosen the correct access library name
for your platform. Different UNIX platforms may use different
file name extensions for shared libraries.
4. If running the tutorials, make sure you edited the
tututil.cpp file to contain the proper connection parameters
for your operating system and database in case of running manually
and not using SPM.