Date: Fri, 25 Feb 2005 11:40:59 +0100 From: Alexander Leidinger <Alexander@Leidinger.net> To: Phil Schulz <ph.schulz@gmx.de> Cc: freebsd-emulation@freebsd.org Subject: Re: [patch] upgrading x11-toolkits/linux-gtk2 fails Message-ID: <20050225114059.nfdaxsarwo8og0gs@netchild.homeip.net> In-Reply-To: <421E1005.5020406@gmx.de> References: <421E1005.5020406@gmx.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Phil Schulz <ph.schulz@gmx.de> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050225114059.nfdaxsarwo8og0gs>