From owner-freebsd-questions@FreeBSD.ORG Sat Nov 22 15:35:01 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6BFF68A9 for ; Sat, 22 Nov 2014 15:35:01 +0000 (UTC) Received: from mail-la0-x236.google.com (mail-la0-x236.google.com [IPv6:2a00:1450:4010:c03::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CBD72E2E for ; Sat, 22 Nov 2014 15:35:00 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id gf13so5790726lab.13 for ; Sat, 22 Nov 2014 07:34:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=6akNWPSXI5C5MiJLjIZkLgGmmTvswr7u4VID/AKVCIU=; b=NyInlPet1KJUKPJ0bbQEFer+e3NQOqLRPaUEhsaKYFI4So3dVeNc0MMfBnOWVcnSbs z6r7v2xWIRi1fzp9xno+3YL+kCiFzZDfUWmFxDGw3QJ0anh51EqNUpHaaiIHUk0DPBGk 7xeEilWt8nkHqY8035KhmKria9JyzanzuZYKqz1Szeokw7vhsCVyZUTlyd8i/RovAvpN c6MxJP3hIQ/UUmboPqo5CvtxmOLTtCqaflcGqenmVGvVAn45t7v+8OeBc43siFu1CUbm 2eFtLurV8ga9o4lLjxMkJSvQrBhuMSU017jm9lghAeXs6B5u9hKrT8UFNzjfUZDRZRJt VeHw== MIME-Version: 1.0 X-Received: by 10.152.22.135 with SMTP id d7mr11112167laf.46.1416670498424; Sat, 22 Nov 2014 07:34:58 -0800 (PST) Received: by 10.25.31.2 with HTTP; Sat, 22 Nov 2014 07:34:58 -0800 (PST) In-Reply-To: <54708DC4.8070209@bananmonarki.se> References: <546E5D2D.6010603@gmail.com> <54700218.8090300@bananmonarki.se> <54708578.5070401@bananmonarki.se> <54708DC4.8070209@bananmonarki.se> Date: Sat, 22 Nov 2014 13:34:58 -0200 Message-ID: Subject: Re: olvwm on amd64 From: Luciano Rottava da Silva To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2014 15:35:01 -0000 No chaps, I am not trying to compile xview or olvwm. I am just trying to run them - the FreeBSD 32-bit version - on my amd64. So I downloaded the binary packages, xview* and olvwm from ftp server. Then untar and now trying to put the 32-bit version of the shared libraries in the right paths in order to run olvwm. root@desktop:/tmp/XVIEW/bin # readelf -d olvwm Dynamic section at offset 0x44014 contains 26 entries: Tag Type Name/Value 0x00000001 (NEEDED) Shared library: [libXpm.so.4] 0x00000001 (NEEDED) Shared library: [libolgx.so.3] 0x00000001 (NEEDED) Shared library: [libXext.so.6] 0x00000001 (NEEDED) Shared library: [libX11.so.6] 0x00000001 (NEEDED) Shared library: [libm.so.5] 0x00000001 (NEEDED) Shared library: [libc.so.7] 0x0000000f (RPATH) Library rpath: [/usr/local/lib] Like I said, problem seems to be related to library path. Readelf output shows that, RPATH var env. Searching mailing list archive I found this, which is exactly my problem: http://lists.freebsd.org/pipermail/freebsd-stable/2012-May/067787.html Question is; how make RPATH search for 32-bit version of libX11, libXext and libXpm? My .cshrc has a setenv LD_32_LIBRARY_PATH /usr/local/lib32/compat, but that did not help. More ideas? Thanks, Luciano. On 22 November 2014 at 11:21, Bernt Hansson wrote: > On 2014-11-22 13:45, Bernt Hansson wrote: > >> Xview is broken. >> >> On 2014-11-22 07:45, Adrian Chadd wrote: >> >>> Hm! Well, that doesn't look like it's a problem with a 64 bit system >>> in particular - see where that .tmpl file is supposed to be? >>> >> > > :/usr/ports/x11-toolkits/xview # make > ===> xview-3.2.1.4.19c_1 depends on executable: mkfontdir - found > ===> xview-3.2.1.4.19c_1 depends on executable: mkfontscale - found > ^[ (escape) menu ^y search prompt ^k delete line ^p prev li ^g prev > page > make -f Imakefile > "Imakefile", line 3: Need an operator > "Imakefile", line 4: Need an operator > "Imakefile", line 5: Need an operator > "Imakefile", line 9: Need an operator > "Imakefile", line 10: Need an operator > "Imakefile", line 11: Need an operator > "Imakefile", line 20: Need an operator > "Imakefile", line 21: Need an operator > "Imakefile", line 38: Need an operator > "Imakefile", line 39: Need an operator > "Imakefile", line 42: Need an operator > "Imakefile", line 43: Need an operator > "Imakefile", line 44: Need an operator > "Imakefile", line 45: Missing dependency operator > "Imakefile", line 46: Missing dependency operator > "Imakefile", line 47: Missing dependency operator > "Imakefile", line 48: Missing dependency operator > "Imakefile", line 49: Missing dependency operator > "Imakefile", line 50: Missing dependency operator > "Imakefile", line 53: Need an operator > "Imakefile", line 54: Need an operator > "Imakefile", line 63: Missing dependency operator > "Imakefile", line 101: Need an operator > "Imakefile", line 102: Need an operator > "Imakefile", line 103: Need an operator > "Imakefile", line 143: Need an operator > "Imakefile", line 144: Need an operator > "Imakefile", line 145: Need an operator > "Imakefile", line 165: Need an operator > "Imakefile", line 166: Need an operator > "Imakefile", line 167: Need an operator > make: fatal errors encountered -- cannot continue >