home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / sun / misc / 6119 < prev    next >
Encoding:
Internet Message Format  |  1993-01-04  |  1.4 KB

  1. Path: sparky!uunet!wupost!sdd.hp.com!spool.mu.edu!cass.ma02.bull.com!mips2!bull.bull.fr!julienas!laas!ralph
  2. From: ralph@laas.fr (Ralph P. Sobek)
  3. Newsgroups: comp.sys.sun.misc
  4. Subject: Isn't the Dynamic Load Library automatically linked?
  5. Message-ID: <RALPH.93Jan4162136@idefix.laas.fr>
  6. Date: 4 Jan 93 15:21:36 GMT
  7. Sender: news@laas.fr
  8. Distribution: comp
  9. Organization: LAAS-CNRS France
  10. Lines: 26
  11. Nntp-Posting-Host: idefix
  12.  
  13. I always thought that the Dynamic Load Library (libdl) was
  14. automatically linked when one did a compile under SunOS 4.1.n.  It
  15. seems to be a problem *only* with SunOS 4.1.2 and 4.1.3.
  16. /usr/lib/libdl.so.1.0 is in /etc/ld.so.cache.  On newly installed
  17. machines I get the following, even for simple hello.c:
  18.  
  19. ld: Undefined symbol
  20.    _dlopen
  21.    _dlclose
  22.    _dlsym
  23.  
  24. If I explicitly add -ldl then it all goes away.  But shouldn't it work
  25. nevertheless?   The AnswerBook says that -Bdynamic is the default!
  26. Why am I not getting it?
  27.  
  28. Thanks to all and also Happy New Year
  29.  
  30. --
  31. Dr. Ralph P. Sobek          Disclaimer: The above ruminations are my own.
  32. Ralph.Sobek@cerfacs.fr               Addresses are ordered by importance.
  33. ralph@cerfacs.fr                    If all else fails, try:
  34. Telephone: (+33) 61-19-30-47                  sobek@eclair.Berkeley.EDU
  35. FAX:       (+33) 61-19-30-00
  36. ===============================================================================
  37. The waves came in like arabian stallions gradually lapping into seahorses.
  38.                                                          --  Pattie Smith
  39.