From owner-freebsd-questions Fri Jul 4 02:05:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA17358 for questions-outgoing; Fri, 4 Jul 1997 02:05:05 -0700 (PDT) Received: from ns.cs.msu.su (laskavy@redsun.cs.msu.su [158.250.10.2]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA17341 for ; Fri, 4 Jul 1997 02:04:55 -0700 (PDT) Received: (from laskavy@localhost) by ns.cs.msu.su (8.8.6/8.6.12) id NAA25107; Fri, 4 Jul 1997 13:04:26 +0400 (DST) To: bkogawa@primenet.com (Bryan Ogawa) Cc: freebsd-questions@freebsd.org Subject: Re: Missing libX? References: <33B3CB20.33DF6B24@INnet.be> <5p17ml$8n9@nntp02.primenet.com> From: laskavy@cs.msu.su (Sergei S. Laskavy) Date: 04 Jul 1997 13:04:25 +0400 In-Reply-To: bkogawa@primenet.com's message of 27 Jun 1997 13:27:01 -0700 Message-ID: Lines: 27 X-Mailer: Gnus v5.3/Emacs 19.34 Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk From: bkogawa@primenet.com (Bryan Ogawa) Subject: ld.so: Can't find shared library libFOO.so.BAR Newsgroups: comp.unix.bsd.freebsd.misc Date: 27 Jun 1997 13:27:01 -0700 Organization: Primenet Services for the Internet Pochic> I have a lot of program (emacs, xemacs, clients from the RSA Pochic> challenge, ...) that won't work because of missing libraries: Pochic> for example, xemacs says: "ld.so failed: can't find shared Pochic> library libXm.so.2.0" Ogawa> Do you have these libraries installed? This looks like an Ogawa> X library: do you have XFree installed? [...] Ogawa> If you don't want to install X for these programs, consider Ogawa> using the ports collection to recompile them without X Ogawa> support. Thats strange... Many programs can be compiled in such way, that they work OK in both terminal and X11 modes. But ... if some program is linked against X11 libs but DO NOT USE them in current environment. Now we have two ports for "vim" editor ("vim" and "gvim"). Maybe, there is some way to solve that problem at the dynamic linking stage? Sergei S. Laskavy