Pango library-problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jeff/Moe had some problems with the missing libraries
a while ago, and I didn't see any replies to it so
here goes:

For me this ment that no texts would be displayed during
the installation so I used some time to investigate this
problem, and found the following patch would fix the problem:

--- anaconda-8.0/scripts/upd-instroot   2002-08-30 07:52:44.000000000 +0300
+++ anaconda-8.0-cardinal/scripts/upd-instroot  2002-11-01
00:32:13.000000000 +0200
@@ -738,6 +738,8 @@
        REALPATH=`(cd $DESTGR; /bin/pwd | sed 's,/md1/,/,g')`
        runroot $COMPONENT --onlyone --arch $ARCH
"LD_LIBRARY_PATH=/usr/X11R6/lib:$LD_LIBRARY_PATH /usr/sbin/chroot $REALPATH
/usr/bin/pango-querymodules 2> $REALPATH/etc/pango/pango.modules"
     else
+       export LD_LIBRARY_PATH=/usr/X11R6/lib:$LD_LIBRARY_PATH
+       export LD_PRELOAD=/usr/X11R6/lib/libX11.so.6.2
        /usr/sbin/chroot $DESTGR /usr/bin/pango-querymodules >
$DESTGR/etc/pango/pango.modules
     fi
     rm -f $DESTGR/usr/bin/pango-querymodules
@@ -749,6 +751,8 @@
        REALPATH=`(cd $DESTGR; /bin/pwd | sed 's,/md1/,/,g')`
        runroot $COMPONENT --onlyone --arch $ARCH
"LD_LIBRARY_PATH=/usr/X11R6/lib:$LD_LIBRARY_PATH /usr/sbin/chroot $REALPATH
/usr/bin/gtk-query-immodules-2.0 2> $REALPATH/etc/gtk-2.0/gtk.immodules"
     else
+       export LD_LIBRARY_PATH=/usr/X11R6/lib:$LD_LIBRARY_PATH
+       export LD_PRELOAD=/usr/X11R6/lib/libXi.so.6.0
        /usr/sbin/chroot $DESTGR /usr/bin/gtk-query-immodules-2.0 >
$DESTGR/etc/gtk-2.0/gtk.immodules
     fi
     rm -f $DESTGR/usr/bin/gtk-query-immodules-2.0

The LD_LIBRARY_PATH is not actually needed, but a extra hit
never hurts :)
I would guess that people at Red Hat have used remote hosts
to succesfully build the packages (with the help of the
runroot-script).

Urgh, need sleep.

Poltsi

_________________________________________
Paul-Erik Törrönen
Cardinal Information Systems Ltd
Pursimiehenkatu 29-31 C, 00150 Helsinki, FINLAND
E-mail: paul-erik.torronen@xxxxxxxxxxx
Mobile: +358 (0) 40 703 1231
Phone: +358 (0) 424 162 4204
Fax: +358 (0) 424 162 4207
Web: <www.cardinal.fi>





[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux