home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / alt / sys / sun / 3353 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  1.4 KB

  1. Xref: sparky alt.sys.sun:3353 comp.sys.sun.misc:5138
  2. Newsgroups: alt.sys.sun,comp.sys.sun.misc
  3. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!elroy.jpl.nasa.gov!ucla-cs!tek
  4. From: tek@ficus.cs.ucla.edu (Ted Kim (Random Dude))
  5. Subject: dlopen(3X) patches for 4.1.1?
  6. Message-ID: <1992Nov7.041241.2102@cs.ucla.edu>
  7. Originator: tek@penzance.cs.ucla.edu
  8. Sender: usenet@cs.ucla.edu (Mr Usenet)
  9. Nntp-Posting-Host: penzance.cs.ucla.edu
  10. Organization: UCLA Computer Science Department
  11. Date: Sat, 7 Nov 92 04:12:41 GMT
  12. Lines: 23
  13.  
  14. Are there any patches for ld.so (i.e., dlopen / dlsym / dlclose (3X))
  15. for 4.1.1?
  16.  
  17. The dlopen(3X) function seems to work, except that it does not seem to
  18. call _init.
  19.  
  20. However, I can't get dlsym to work. It correctly returns NULL for
  21. unknown symbols. But it seems to return an arbitrary (incorrect)
  22. address for any symbol that is actually known. 
  23.  
  24. Any hints or tricks appreciated.
  25.  
  26. -ted
  27.  
  28. Ted Kim                           Internet: tek@ficus.cs.ucla.edu
  29. UCLA Computer Science Department  UUCP:     ...!{uunet|ucbvax}!cs.ucla.edu!tek
  30. 3680A Boelter Hall                Phone:    (310) 825-8524
  31. Los Angeles, CA 90024             FAX:      (310) 825-2273
  32. -- 
  33. Ted Kim                           Internet: tek@ficus.cs.ucla.edu
  34. UCLA Computer Science Department  UUCP:     ...!{uunet|ucbvax}!cs.ucla.edu!tek
  35. 3680A Boelter Hall                Phone:    (310) 825-8524
  36. Los Angeles, CA 90024             FAX:      (310) 825-2273
  37.