Runtime error in DBTools.h++

Article ID: 1035
Last updated: 05 Feb, 2008
Article ID: 1035
Last updated: 05 Feb, 2008
Revision: 1
Views: 2905
Posted: 26 Jun, 1997
by Dean J.
Updated: 05 Feb, 2008
by Dean J.
Problem


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.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 1035
Last updated: 05 Feb, 2008
Revision: 1
Views: 2905
Posted: 26 Jun, 1997 by Dean J.
Updated: 05 Feb, 2008 by Dean J.

Others in this category