home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.sun.admin:8373 comp.unix.solaris:328
- Path: sparky!uunet!gatech!news.byu.edu!hamblin.math.byu.edu!sol.ctr.columbia.edu!usc!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!haven.umd.edu!decuac!pa.dec.com!rdg.dec.com!news.crl.dec.com!amber!bonz.athena.lkg.dec.com!fjs
- From: fjs@athena.lkg.dec.com (F. J. Shields)
- Newsgroups: comp.sys.sun.admin,comp.unix.solaris
- Subject: Solaris 1.1 Bug: Multiple directories not allowed on LD_LIBRARY_PATH ?
- Message-ID: <455882@athena.lkg.dec.com>
- Date: 16 Nov 92 19:21:46 GMT
- Reply-To: fjs@athena.lkg.dec.com
- Organization: Digital Equipment Corporation
- Lines: 42
-
-
- I'm running Solaris 1.1 (SunOS 4.1.3) on an SS10, and have had a problem
- setting the LD_LIBRARY_PATH environment variable. I want to be able to
- have several directories on the path, and previous versions of SunOS
- would let me do the following:
-
- setenv LD_LIBRARY_PATH /usr/openwin/lib:/usr/local/lib
-
- But with Solaris 1.1, I found that unless /usr/openwin/lib is the ONLY
- directory on the path, starting up filemgr results in the message:
-
- dlopen: stub interception failed.
-
- and a core dump. BTW, the documentation in the answerbook states that
- LD_LIBRARY_PATH should be a "colon separated list" of pathnames. That
- setenv line sure LOOKS like a "colon separated list", but what the
- heck, maybe I can't read.
-
- Then, just for yucks, I tried:
-
- setenv LD_LIBRARY_PATH "/usr/local/lib /usr/openwin/lib"
-
- Lo and Behold: it works! Did someone accidently change a ':' to ' ' in
- the parser code? But that surely doesn't look like a "colon separated
- list", now does it?
-
- So the questions are:
- What is the correct syntax for placing multiple directories on
- the library load path?
-
- Is the documentation wrong, or is it the implementation?
-
- Has anyone else run into this problem?
-
- Is there a patch for this problem?
-
- Thanks for any help you can give me.
-
- --
- F. Jay Shields
- fjs@athena.lkg.dec.com
- Digital Equipment Corporation
-