Summary: CDE & LD_LIBRARY_PATH

From: Dan Freedman (dansf@gte.net)
Date: Thu May 01 1997 - 11:41:21 CDT


My original question:
>
> Sun M's,
>
> I have Solaris 2.5 with CDE 1.0.2 installed on some Sparc 5's. I've
> noticed some peculiar problems with CDE. It seems CDE hangs when I log
> on. OpenWindows works fine.
>
> I tracked the problem down to when I set the LD_LIBRARY_PATH variable.
> If I add in the path for the set of libs that come with Oracle, CDE
> crashes...otherwise CDE works fine. Apparently CDE uses that variable on
> login. I find this to be strange because the Oracle libs have the lowest
> Path priority. Why would it work fine without the Oracle libs in the path
> and not complain about missing libraries? If there are no missing
> libraries, then how do the Oracle libs even get accessed (since they are
> lowest priority)?
>
> I've scanned SunSolve and apparently this bug won't be fixed until CDE
> 1.1. Have any of you run into this problem and come across a solution?
> I don't think CDE 1.1 has been released yet.
>

It turns out the problem was with the libXm.so.3 file in the Oracle lib
directory. It was suggested that I run a ldd on CDE (dtsession). Sure
enough, it was looking for this library. It was taking this file from
Oracle instead of /usr/dt/lib. Actually, I didn't even have /usr/dt/lib
in the LD_LIBRARY_PATH. Adding it before the Oracle lib fixed the
problem. In fact, I went ahead and replaced the Oracle lib with the new
CDE lib. Hope that doesn't screw things up w/Oracle. We'll see.

Thanks to all for the help:
emarch@pinole1.com ( D. Ellen March)
John Bradley <john.bradley@sr5.chinalake.navy.mil>
Stephen Harris <sweh@mpn.com>
Casper Dik <casper@holland.Sun.COM>
"Andrew Watkins,R133,x6720" <andrew@dcs.bbk.ac.uk>



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:51 CDT