Kbase 15390: How to Resolve dld.sl Errors in Version 6.3F on HP/UX
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  9/29/2004 |
|
Status: Unverified
GOAL:
How to resolve a dld.sl error when running Progress executables on an HP/UX platform running 10.0 or later.
FACT(s) (Environment):
HP-UX
Progress 6.3F
CAUSE:
At this writing, HP/UX offers 3 versions of their Operating System. They are 8.X, 9.X, and 10.X (X indicates the point release of the operating system). There are many differences between 8.X, 9.X, and the newer 10.X. One of these differences is the location of libraries. In earlier versions of HP/UX, the libraries were contained in /lib. In 10.X the libraries are typically in: /usr/lib, as well as /opt/audio/lib, /opt/image/lib, and /opt/CC/lib.
The change in the location in libraries affects Progress when trying
to run an executable. We rely on the dynamic loader, dld.sl, which is
a program invoked by the Operating System at startup and is required for programs using shared libraries. Progress utilizes this program when running our executables. In HP/UX 10.X the path to this program has changed. You need to be aware of that and know how to set an Environment variable, and/or create a link, to ensure Progress will run without giving dld.sl errors.
FIX:
If a user is getting dld.sl errors the cause could be one of the following:
-- User copied over 6.3F executables from another HP/UX machine
which is probably running an earlier version of the OS.
-- The user could be missing an Environment variable which will
point to the location of the dynamic loader program we require
at execution time.
Ways to resolve the problem:
1) Type env <return> in any OS window.
Look for an environment variable called: SHLIB_PATH.
If you do not see this, then have the user set this in their
.profile file located in their home directory.
Syntax is:
SHLIB_PATH=/usr/lib:/opt/audio/lib:/opt/image/lib:/opt/CC/lib
export SHLIB_PATH
2) Another option is to create a link of the current dld.sl to
the original 9.X path where it may be trying to locate the
program. The new and old paths for this program are:
10.X - /usr/lib/dld.sl
8.X or 9.X - /lib/dld.sl
To create a link, do the following:
cd into the /lib dir.
ln /usr/lib/dld.sl dld.sl