From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 12:20:32 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4603316A4CE for ; Tue, 23 Dec 2003 12:20:32 -0800 (PST) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id E75CF43D2D for ; Tue, 23 Dec 2003 12:20:30 -0800 (PST) (envelope-from freebsd-questions@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AYt13-0000HY-00 for ; Tue, 23 Dec 2003 21:20:29 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AYt11-0000HQ-00 for ; Tue, 23 Dec 2003 21:20:27 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AYt11-0008Qt-00 for ; Tue, 23 Dec 2003 21:20:27 +0100 From: Jesse Guardiani Date: Tue, 23 Dec 2003 15:20:25 -0500 Organization: WingNET Lines: 47 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org User-Agent: KNode/0.7.2 X-Mail-Copies-To: never Sender: news Subject: dynamic link problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jesse@wingnet.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2003 20:20:32 -0000 Howdy list, I've got an old copy of Wordperfect (now deleted from ports) that I use at work. When I run the program, I get this output: % xwp /usr/local/lib/corel/wpbin/xwp: can't load library 'libXt.so.6' Exit 16 Obviously a dynamic link problem, so I run ldd on it: % ldd -a /usr/local/lib/corel/wpbin/xwp libXt.so.6 => not found libX11.so.6 => not found libXpm.so.4 => not found libm.so.5 => not found libc.so.5 => /usr/lib/libc.so.5 (0x28749000) OK. Fair enough. It can't find the first four libraries. But why? libXt.so.6 is listed by ldconfig: % ldconfig -r | grep libXt.so.6 140:-lXt.6 => /usr/X11R6/lib/libXt.so.6 So are the other three: % ldconfig -r | grep libX11.so.6 162:-lX11.6 => /usr/X11R6/lib/libX11.so.6 % ldconfig -r | grep libXpm.so.4 143:-lXpm.4 => /usr/X11R6/lib/libXpm.so.4 % ldconfig -r | grep libm.so.5 712:-lm.5 => /usr/compat/linux/usr/i486-linux-libc5/lib/libm.so.5 So how do I fix this? Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net