Return to BSD News archive
Newsgroups: comp.unix.bsd Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!swrinde!news.dell.com!tadpole.com!uunet!noc.near.net!ns.draper.com!news.draper.com!Eric.Flatt From: eflatt@draper.com (Eric Flatt) Subject: Having trouble w/ the dynamic linker Message-ID: <1994Sep26.155722.28320@draper.com> X-Posted-From: InterNews 1.0@surname.draper.com. Lines: 15 Sender: -Not-Authenticated-[2928] Nntp-Posting-Host: 140.102.137.199 Organization: Draper Laboratory Date: Mon, 26 Sep 1994 15:57:22 GMT Xdisclaimer: No attempt was made to authenticate the sender's name. Every time I try to run a certain executable (like vi forinst), I get this diagnostic at the terminal: ld.so: libc.so.2: not found. I do not understand this, I only have vn. 1.8.1 of libc in /usr/lib, my LD_LIBRARY_PATH is appropriately set, can anyone help me trace down my problem and/or a solution. Also, whenever I compile, my system complains that the dl_open, dl_close, and some other dynamic linker labels are not covered. If I add -ldl to my compile line, it links up okay. These problems appear to overlap????? I did do an ldd on some stuff, and it appears that it is looking for this phantom libc.so.2.0, shouldn't it "fall back" to whatever is available failing that??? or is there some way I can flush the cache of what dynamic lib these objects are looking for? Please email me any solutions or tests to try, I am running on a sparc10 sunos 4.1.3. Thanks in advance. --Eric (eflatt@draper.com)