SUMMARY: Exceed and X window managers

Jeffrey Liu (jeffreyl@riskdevel.ml.com)
Tue, 06 May 1997 15:26:19 -0400

Original Post:

----- Begin Included Message -----

>From jeffreyl@riskdevel.ml.com Tue May 6 13:10 EDT 1997
Date: Tue, 6 May 1997 13:06:24 -0400
From: jeffreyl@riskdevel.ml.com (Jeffrey Liu)
To: sun-managers@ra.mcs.anl.gov
Subject: Exceed and X window managers

I'm trying to run Exceed on a NT 3.51 PC to connect to a SunOS 4.1.3
machine.

Here's the problem:

/usr/openwin/bin/olvwm
ld.so: libolgx.so.3: not found

The above error message appears regardless whether ldd produces a
satisfactory message or not.
Executing an `ldd /usr/openwin/bin/olvwm` on one system produces:

hosta# ldd /usr/openwin/bin/olvwm
-lolgx.3 => not found
-lX11.4 => not found
-lc.1 => /usr/lib/libc.so.1.8
-ldl.1 => /usr/lib/libdl.so.1.0
hosta# ls -l /usr/openwin/lib/libolgx.so.3.1
-rw-r--r-- 1 root 57344 Sep 18 1991 /usr/openwin/lib/libolgx.so.3.1

Executing an `ldd /usr/openwin/bin/olvwm` on another system produces:

hostb# ldd /usr/openwin/bin/olvwm
-lolgx.3 => /usr/openwin/lib/libolgx.so.3.1
-lX11.4 => /usr/openwin/lib/libX11.so.4.3
-lc.1 => /usr/lib/libc.so.1.8
-ldl.1 => /usr/lib/libdl.so.1.0
hostb# ls -l /usr/openwin/lib/libolgx.so.3.1
-rw-r--r-- 1 root 57344 Sep 18 1991 /usr/openwin/lib/libolgx.so.3.1
hostb# ls -l /usr/openwin/bin/olvwm
-rwxr-xr-x 1 root 368640 Oct 12 1992 /usr/openwin/bin/olvwm*

I will summarize.

Thanks in advance,
Jeff

----- End Included Message -----

SUMMARY:

Two replies suggested the LD_LIBRARY_PATH not being set, or set incorrectly.

Actually, that was part of the problem. The other half of the problem
is that Exceed was set to multiple windows mode. After running xconfig
(its configuration program) to set the X server to single window mode,
it brought up the openwindows environment.

Thanks to those who replied. Here are the original replies:

>
>
> When you compile applications with Sun's compilers, you can build in a
> default search path for libraries with the -R option. This has been
> done for most (perhaps all) openwin programs, but I know that at least
> one version of a patch for cmdtool broke this (it was acknowledged as
> a bug by Sun).
>
> You problem is propably that you have LD_LIBRARY_PATH (and/or LD_RUN_PATH)
> set. This variable overrides the compiled-in default. So if you must
> have it set, you should set it to include /usr/dt/lib (The CDE motif
> libraries) and /usr/openwin/lib.
>
>
> Birger
>
>
=============================================================================
> On Tue, 6 May 1997, Jeffrey Liu wrote:
>
> > /usr/openwin/bin/olvwm
> > ld.so: libolgx.so.3: not found
>
> If you have /usr/openwin/lib/libolgx.so.3, then the problem looks like
> your LD_LIBRARY_PATH environment variable. Does it include
> /usr/openwin/lib ? If you don't have the file, sometimes a link using
> the name of the missing file to a later or earlier version is all you
> need.
>
> Rgds,
>
> -H-
>
> Harvey M Wamboldt ^ E-Mail: harvey@iotek.ns.ca
> MDA Inc 1000 Windmill Rd. Suite 60 ^ Fax: (902)468-2278
> Dartmouth NS, B3B 1L7, Canada ^ Phone: (902)481-3531
>
>