home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / sun / admin / 6298 < prev    next >
Encoding:
Text File  |  1992-09-12  |  2.4 KB  |  61 lines

  1. Newsgroups: comp.sys.sun.admin
  2. Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!jiazhang
  3. From: jiazhang@magnus.acs.ohio-state.edu (Jiajie Zhang)
  4. Subject: Problems with ld, cc, make, rebuilding system libraries
  5. Message-ID: <1992Sep12.203448.23682@magnus.acs.ohio-state.edu>
  6. Sender: news@magnus.acs.ohio-state.edu
  7. Nntp-Posting-Host: bottom.magnus.acs.ohio-state.edu
  8. Organization: The Ohio State University
  9. Date: Sat, 12 Sep 1992 20:34:48 GMT
  10. Lines: 49
  11.  
  12. Everytime when I tried to install a software package (e.g., CAP60,
  13. Adobe TRANSCRIPT, LWKit, etc.) on my sparc 2 running SunOS 4.1, I ran
  14. into a problem with ld.  For example, when I was installing cap60, I
  15. got the following message:
  16.  
  17.     cc -o lwsrv  fontlist.o lwsrv.o papstream.o procset.o simple.o
  18.     spmisc.o att_geto pt.o -lcap
  19.     ld: Undefined symbol
  20.        __Q_get_rp_rd
  21.        _dlopen
  22.        _dlclose
  23.        _dlsym
  24.        _nl_langinfo
  25.     *** Error code 2
  26.     make: Fatal error: Command failed for target `lwsrv'
  27.  
  28. A few people said the problem might be caused by the rebuilding of the
  29. system libraries for DNS (the name server software) and recommended
  30. that I should include -ldl in the libraries in the makefile. After I
  31. replaced "LD=ld" with "LD=ld -ldl" in the makeifle, the _dl stuff went
  32. away.  However, the rest were still there:
  33.  
  34.     cc -o lwsrv  fontlist.o lwsrv.o papstream.o procset.o simple.o
  35.     spmisc.o att_geto pt.o -lcap
  36.     ld: Undefined symbol
  37.        __Q_get_rp_rd
  38.        _nl_langinfo
  39.     *** Error code 2
  40.     make: Fatal error: Command failed for target `lwsrv'
  41.  
  42. __Q_get_rp_rd and _nl_langinfo are NOT in the source files. Does anyone
  43. know where they come from? Libraries?  How to get rid of this
  44. annoying problem?  Is this a serious bug?  
  45.  
  46. This problem has prevented me from going any further (installing software
  47. packages, running printers, setting up networks, doing backups, and
  48. almost everything).  Any pointers to overcome this problem, either
  49. temporarily or permanently, will be greatly appreciated.
  50.  
  51. Jiajie Zhang
  52. jiazhang@magnus.acs.ohio-state.edu
  53.  
  54. -------------------------------------------------------------------------
  55. Jiajie Zhang            Office:   (614)-292-8667
  56. Assistant Professor        Home:      (614)-885-7995
  57. Department of Psychology    FAX:      (614)-292-4537
  58. Ohio State University        Email: jiazhang@magnus.acs.ohio-state.edu
  59. Columbus, Ohio 43210-1222           zhang@canyon.psy.ohio-state.edu
  60. -------------------------------------------------------------------------
  61.