From owner-freebsd-hackers Wed Jul 26 09:32:56 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id JAA26648 for hackers-outgoing; Wed, 26 Jul 1995 09:32:56 -0700 Received: from kryten.atinc.com (kryten.Atinc.COM [198.138.38.7]) by freefall.cdrom.com (8.6.11/8.6.6) with ESMTP id JAA26639 for ; Wed, 26 Jul 1995 09:32:52 -0700 Received: (jmb@localhost) by kryten.atinc.com (8.6.9/8.3) id MAA21929; Wed, 26 Jul 1995 12:21:08 -0400 Date: Wed, 26 Jul 1995 12:21:03 -0400 (EDT) From: "Jonathan M. Bresler" Subject: Re: ld.so: ivs: libcompat.so.2.0: Undefined error: 0 To: Chuck Robey cc: "Amancio Hasty Jr." , hackers@freebsd.org In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: hackers-owner@freebsd.org Precedence: bulk On Wed, 26 Jul 1995, Chuck Robey wrote: > > mwm no longer runs . > > ivs is getting a strange error. ivs used to run fine about a week ago or so . > > I have the sources for ivs so I can recompile the app however mwm is > > a different story. > > > > Amancio > > > > Every time I build an application that adds a shared lib, I get this. > One reboot later it's gone. Haven't check on more than that yet. after adding a shared lib you need to run ldconfig. as in: /sbin/ldconfig /usr/lib /usr/X11R6/lib /usr/local/lib you can check shared lib vs app requirements with ldd: Aspen: {3} ldd `which xterm` /usr/X11/bin/xterm: -lXaw.6 => /usr/X11R6/lib/libXaw.so.6.0 (0x8039000) -lXmu.6 => /usr/X11R6/lib/libXmu.so.6.0 (0x806f000) -lXt.6 => /usr/X11R6/lib/libXt.so.6.0 (0x807f000) -lX11.6 => /usr/X11R6/lib/libX11.so.6.0 (0x80c0000) -lSM.6 => /usr/X11R6/lib/libSM.so.6.0 (0x813b000) -lICE.6 => /usr/X11R6/lib/libICE.so.6.0 (0x8143000) -lXext.6 => /usr/X11R6/lib/libXext.so.6.0 (0x8155000) -ltermcap.2 => /usr/lib/libtermcap.so.2.0 (0x815d000) -lgcc.261 => /usr/lib/libgcc.so.261.0 (0x815f000) -lc.2 => /usr/lib/libc.so.2.1 (0x8163000) Jonathan M. Bresler jmb@kryten.atinc.com | Analysis & Technology, Inc. FreeBSD Postmaster jmb@FreeBSD.Org | 2341 Jeff Davis Hwy play go. | Arlington, VA 22202 ride bike. hack FreeBSD.--ah the good life | 703-418-2800 x346