home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / sun / admin / 9717 < prev    next >
Encoding:
Internet Message Format  |  1992-12-23  |  1.2 KB

  1. Path: sparky!uunet!psinntp!newsserver.tasc.com!netmac.read.tasc.com!user
  2. From: HJFerrara@TASC.com (Henry Ferrara)
  3. Newsgroups: comp.sys.sun.admin
  4. Subject: Creating static linked executable from dynamic?
  5. Followup-To: comp.sys.sun.admin
  6. Date: 24 Dec 1992 00:41:07 GMT
  7. Organization: TASC
  8. Lines: 18
  9. Distribution: world
  10. Message-ID: <HJFerrara-231292193630@netmac.read.tasc.com>
  11. NNTP-Posting-Host: netmac.read.tasc.com
  12.  
  13.   This is kind of two fold question.  I want to create a static linked
  14. executable from a dynamicly linked excutable.  I don't have the source just
  15. the binary executable.  (I also don't have the individual object files).  I
  16. want to SUID an Open Windows program that is dynamically linked to the
  17. Openwin libraries.  But SUID executables only search /lib, /usr/lib,
  18. /usr/local/lib when resolving link references.  So I figured a static
  19. linked executable would be the easiest and quickest solution.  
  20.     Some admin out there must have run into a need to create a static
  21. linked executable from just the dynamic linked executable!?!?!
  22.  
  23.             -Thanks in advance - Henry
  24.  
  25. P.S. SunOS 4.1.X, Openwin 3.0
  26.  
  27. ---------------------
  28.                      Henry Ferrara
  29.                      TASC
  30.                      hjferrara@TASC.com
  31.