home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sun.admin
- Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!jiazhang
- From: jiazhang@magnus.acs.ohio-state.edu (Jiajie Zhang)
- Subject: Problems with ld, cc, make, rebuilding system libraries
- Message-ID: <1992Sep12.203448.23682@magnus.acs.ohio-state.edu>
- Sender: news@magnus.acs.ohio-state.edu
- Nntp-Posting-Host: bottom.magnus.acs.ohio-state.edu
- Organization: The Ohio State University
- Date: Sat, 12 Sep 1992 20:34:48 GMT
- Lines: 49
-
- Everytime when I tried to install a software package (e.g., CAP60,
- Adobe TRANSCRIPT, LWKit, etc.) on my sparc 2 running SunOS 4.1, I ran
- into a problem with ld. For example, when I was installing cap60, I
- got the following message:
-
- cc -o lwsrv fontlist.o lwsrv.o papstream.o procset.o simple.o
- spmisc.o att_geto pt.o -lcap
- ld: Undefined symbol
- __Q_get_rp_rd
- _dlopen
- _dlclose
- _dlsym
- _nl_langinfo
- *** Error code 2
- make: Fatal error: Command failed for target `lwsrv'
-
- A few people said the problem might be caused by the rebuilding of the
- system libraries for DNS (the name server software) and recommended
- that I should include -ldl in the libraries in the makefile. After I
- replaced "LD=ld" with "LD=ld -ldl" in the makeifle, the _dl stuff went
- away. However, the rest were still there:
-
- cc -o lwsrv fontlist.o lwsrv.o papstream.o procset.o simple.o
- spmisc.o att_geto pt.o -lcap
- ld: Undefined symbol
- __Q_get_rp_rd
- _nl_langinfo
- *** Error code 2
- make: Fatal error: Command failed for target `lwsrv'
-
- __Q_get_rp_rd and _nl_langinfo are NOT in the source files. Does anyone
- know where they come from? Libraries? How to get rid of this
- annoying problem? Is this a serious bug?
-
- This problem has prevented me from going any further (installing software
- packages, running printers, setting up networks, doing backups, and
- almost everything). Any pointers to overcome this problem, either
- temporarily or permanently, will be greatly appreciated.
-
- Jiajie Zhang
- jiazhang@magnus.acs.ohio-state.edu
-
- -------------------------------------------------------------------------
- Jiajie Zhang Office: (614)-292-8667
- Assistant Professor Home: (614)-885-7995
- Department of Psychology FAX: (614)-292-4537
- Ohio State University Email: jiazhang@magnus.acs.ohio-state.edu
- Columbus, Ohio 43210-1222 zhang@canyon.psy.ohio-state.edu
- -------------------------------------------------------------------------
-