From owner-freebsd-hackers Wed Dec 30 04:20:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA09774 for freebsd-hackers-outgoing; Wed, 30 Dec 1998 04:20:52 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from bbs.mpcs.com (bbs.mpcs.com [209.101.88.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA09767 for ; Wed, 30 Dec 1998 04:20:49 -0800 (PST) (envelope-from hg@penny.n2wx.ampr.org) Received: from pickle.n2wx.ampr.org (0@cc1017255-a.srst1.fl.home.com [24.3.122.197]) by bbs.mpcs.com (8.8.8/8.8.8/MPCS spamzap) with ESMTP id HAA10485 for ; Wed, 30 Dec 1998 07:20:14 -0500 Received: (from root@localhost) by pickle.n2wx.ampr.org (8.8.8/8.8.2/n2wx) id HAA14375 for freebsd-hackers@freebsd.org; Wed, 30 Dec 1998 07:20:13 -0500 (EST) Received: from penny.n2wx.ampr.org (penny.n2wx.ampr.org [172.16.0.5]) by pickle.n2wx.ampr.org (8.8.8/8.8.8/n2wx) with ESMTP id HAA14369 for ; Wed, 30 Dec 1998 07:20:09 -0500 (EST) Received: (from hg@localhost) by penny.n2wx.ampr.org (8.8.8/8.8.8/n2wx) id HAA18818; Wed, 30 Dec 1998 07:20:09 -0500 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <13962.6777.503181.771874@penny.south.mpcs.com> Date: Wed, 30 Dec 1998 07:20:09 -0500 (EST) From: Howard Goldstein To: freebsd-hackers@FreeBSD.ORG Subject: ELF interpreter /usr/lib/libc.so.1 not found (on 3.0-CURRENT 12/20/98) X-Mailer: VM 6.62 under Emacs 19.34.1 Organization: disorganization Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG My own program seems to be calling for a shared library I didn't link it against, at runtime. I don't recall having this happen when running everything through cc, but alas I don't have that option since one of the modules had to be ported from masm to nasm, so here I am.... slice:~/src/develop$ ./v2show ELF interpreter /usr/lib/libc.so.1 not found Abort trap slice:~/src/develop$ For good reason it isn't found, libc.so.3 lives at that path (so.1 lives in compat). But why is it calling for so.1? Here's my ld invocation. ld -output ../bin/v2show v2show.ob2 bit7to8.ob2 [mumble] /usr/lib/crt1.o -lc -lm -Map ../v2show.map which completes without warning. How do I coerce the loader to use libc.so.3? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message