From owner-freebsd-emulation@FreeBSD.ORG Fri Feb 25 10:41:49 2005 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 51DD916A4CE; Fri, 25 Feb 2005 10:41:49 +0000 (GMT) Received: from mailout10.sul.t-online.com (mailout10.sul.t-online.com [194.25.134.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF9A443D54; Fri, 25 Feb 2005 10:41:48 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from fwd01.aul.t-online.de by mailout10.sul.t-online.com with smtp id 1D4cup-0001PO-03; Fri, 25 Feb 2005 11:41:47 +0100 Received: from Andro-Beta.Leidinger.net (Zkxq86ZLQeiHta-VtGqn5q184k0l3QPTqkOTO5YEP-UQ-V87kHHc8J@[84.128.193.53]) by fmrl01.sul.t-online.com with esmtp id 1D4cul-0gkpSy0; Fri, 25 Feb 2005 11:41:43 +0100 Received: from localhost (localhost [127.0.0.1])j1PAexeW001713; Fri, 25 Feb 2005 11:40:59 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from 141.113.101.32 ([141.113.101.32]) by netchild.homeip.net (Horde) with HTTP for ; Fri, 25 Feb 2005 11:40:59 +0100 Message-ID: <20050225114059.nfdaxsarwo8og0gs@netchild.homeip.net> X-Priority: 3 (Normal) Date: Fri, 25 Feb 2005 11:40:59 +0100 From: Alexander Leidinger To: Phil Schulz References: <421E1005.5020406@gmx.de> In-Reply-To: <421E1005.5020406@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.2) / FreeBSD-4.11 X-ID: Zkxq86ZLQeiHta-VtGqn5q184k0l3QPTqkOTO5YEP-UQ-V87kHHc8J@t-dialin.net X-TOI-MSGID: dac53c6a-03b6-4d9b-8a72-d4dbfbe74d8f cc: ports@freebsd.org cc: freebsd-emulation@freebsd.org Subject: Re: [patch] upgrading x11-toolkits/linux-gtk2 fails X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2005 10:41:49 -0000 Phil Schulz wrote: >> ===> Generating temporary packing list >> pango-1.2.1-3.i386.rpm >> /compat/linux/usr/bin/pango-querymodules: error while loading shared >> libraries: libXft.so.2: cannot open shared object file: No such file >> or directory >> *** Error code 127 Do you know about the 20041231 entry in /usr/ports/UPDATING? > When applying the following patch to x11-toolkits/linux-gtk2/Makefile > everything works (for me). > >> --- Makefile.orig Thu Feb 24 18:22:59 2005 >> +++ Makefile Thu Feb 24 18:23:17 2005 >> @@ -33,7 +33,7 @@ >> .for ii in gdk-pixbuf-query-loaders gtk-demo >> gtk-query-immodules-2.0 testgtk testtext >> @${BRANDELF} -t Linux ${PREFIX}/usr/bin/${ii} >> .endfor >> - @chroot ${PREFIX} /usr/bin/gtk-query-immodules-2.0 > >> ${PREFIX}/etc/gtk-2.0/gtk.immodules >> - @chroot ${PREFIX} /usr/bin/gdk-pixbuf-query-loaders > >> ${PREFIX}/etc/gtk-2.0/gdk-pixbuf.loaders >> + /usr/X11R6/bin/gtk-query-immodules-2.0 > >> ${PREFIX}/etc/gtk-2.0/gtk.immodules >> + /usr/X11R6/bin/gdk-pixbuf-query-loaders > >> ${PREFIX}/etc/gtk-2.0/gdk-pixbuf.loaders >> >> .include "../linux-gtk/Makefile" > > I must admit I haven't searched the archives too long whether the > problem has been reported before or if it is just me who is having > issues here. > > If this is the correct fix, please let me know if you want me to file a PR. This is wrong, it uses the FreeBSD binary which searches the FreeBSD modules/loaders. But we need the Linux binary to search for the linux modules/loaders. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 Underlying Principle of Socio-Genetics: Superiority is recessive.