From owner-freebsd-multimedia@FreeBSD.ORG Sat Nov 4 01:09:52 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C6F6516A4A0 for ; Sat, 4 Nov 2006 01:09:52 +0000 (UTC) (envelope-from root@parse.com) Received: from amd64.ott.parse.com (ottawa-hs-206-191-28-202.s-ip.magma.ca [206.191.28.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8FA443DD5 for ; Sat, 4 Nov 2006 01:08:56 +0000 (GMT) (envelope-from root@parse.com) Received: from amd64.ott.parse.com (localhost.parse.com [127.0.0.1]) by amd64.ott.parse.com (8.13.4/8.13.1) with ESMTP id kA418pK5095454 for ; Fri, 3 Nov 2006 20:08:51 -0500 (EST) (envelope-from root@parse.com) Received: (from root@localhost) by amd64.ott.parse.com (8.13.4/8.13.1/Submit) id kA418p1C095453 for freebsd-multimedia@freebsd.org; Fri, 3 Nov 2006 20:08:51 -0500 (EST) (envelope-from root) From: Robert Krten Message-Id: <200611040108.kA418p1C095453@amd64.ott.parse.com> To: freebsd-multimedia@freebsd.org Date: Fri, 3 Nov 2006 20:08:51 -0500 (EST) X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: XnView on FreeBSD 6.1 AMD64 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Nov 2006 01:09:52 -0000 Hi folks, I've been trying to get XnView (1.70) running on AMD64 with FreeBSD 6.1 release. The port is marked as "i386 only", but the author was surprised that it wouldn't work on AMD64, and he suggested downloading the executable and running it to see what happens. [shitake@ttypa] ./xnview /libexec/ld-elf.so.1: Shared object "libXt.so.6" not found, required by "xnview" My next step was to see what shared objects xnview was looking for: [shitake@ttypa] ldd xnview ldd: xnview: can't read program header ldd: xnview: not a dynamic executable Googling around, there's apparently a bug in 6-current, and the suggestion is to use LD_32_TRACE_LOADER_OBJECTS: [shitake@ttyp6] LD_32_TRACE_LOADED_OBJECTS=1 ./xnview libXt.so.6 => not found (0x0) libX11.so.6 => not found (0x0) libXext.so.6 => not found (0x0) libXp.so.6 => not found (0x0) libstdc++.so.4 => not found (0x0) libm.so.3 => not found (0x0) libc.so.5 => not found (0x0) I thought, "now I'm on to something", so I gave xnview the library path: [shitake@ttyp6] export LD_32_LIBRARY_PATH=/usr/X11R6/lib and ran it again: [shitake@ttyp6] xnview /libexec/ld-elf.so.1: /usr/X11R6/lib/libXt.so.6: unsupported file layout I'm not sure how to proceed here -- should I expect xnview to work on AMD64, like the author implies, or will it simply not work (and should I therefore encourage the author to port it)? Thanks in advance! Cheers, -RK -- Robert Krten, PARSE Software Devices Realtime Systems Architecture, Consulting, Books and Training at www.parse.com Looking for Digital Equipment Corp. PDP-1 through PDP-15 minicomputers!