home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / sun / admin / 8373 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  1.9 KB

  1. Xref: sparky comp.sys.sun.admin:8373 comp.unix.solaris:328
  2. 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
  3. From: fjs@athena.lkg.dec.com (F. J. Shields)
  4. Newsgroups: comp.sys.sun.admin,comp.unix.solaris
  5. Subject: Solaris 1.1 Bug: Multiple directories not allowed on LD_LIBRARY_PATH ?
  6. Message-ID: <455882@athena.lkg.dec.com>
  7. Date: 16 Nov 92 19:21:46 GMT
  8. Reply-To: fjs@athena.lkg.dec.com
  9. Organization: Digital Equipment Corporation
  10. Lines: 42
  11.  
  12.  
  13. I'm running Solaris 1.1 (SunOS 4.1.3) on an SS10, and have had a problem
  14. setting the LD_LIBRARY_PATH environment variable. I want to be able to
  15. have several directories on the path, and previous versions of SunOS
  16. would let me do the following:
  17.  
  18.         setenv LD_LIBRARY_PATH /usr/openwin/lib:/usr/local/lib
  19.  
  20. But with Solaris 1.1, I found that unless /usr/openwin/lib is the ONLY
  21. directory on the path, starting up filemgr results in the message:
  22.  
  23.    dlopen: stub interception failed.
  24.  
  25. and a core dump. BTW, the documentation in the answerbook states that
  26. LD_LIBRARY_PATH should be a "colon separated list" of pathnames. That
  27. setenv line sure LOOKS like a "colon separated list", but what the
  28. heck, maybe I can't read.
  29.  
  30. Then, just for yucks, I tried:
  31.  
  32.         setenv LD_LIBRARY_PATH "/usr/local/lib /usr/openwin/lib"
  33.  
  34. Lo and Behold: it works! Did someone accidently change a ':' to ' ' in
  35. the parser code? But that surely doesn't look like a "colon separated
  36. list", now does it?
  37.  
  38. So the questions are: 
  39.     What is the correct syntax for placing multiple directories on
  40.     the library load path? 
  41.  
  42.     Is the documentation wrong, or is it the implementation? 
  43.  
  44.     Has anyone else run into this problem? 
  45.  
  46.     Is there a patch for this problem?
  47.  
  48. Thanks for any help you can give me.
  49.  
  50. --
  51. F. Jay Shields
  52. fjs@athena.lkg.dec.com
  53. Digital Equipment Corporation
  54.