Re: buildinstall/pango issues.. [fix]

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

 



On Sunday 06 October 2002 10:53 pm, J. Lucha wrote:
> As someone else has posted, I too am getting pango
> errors, and the install has no fonts.
>
> Unlike the other person, I haven't extensivly modified
> anything.
>
> In fact I've tried to build just a straight RH 8.0
> installation, all RPMS from a purchased copy of RH8, and
> that fails as well.
>
> Looking back at the buildinstall output I too see the
> following error:
>
> Running mkfontdir...
> /usr/X11R6/bin/mkfontdir: failed to create directory in
> /usr/redhat/i386/RedHat/instimage/usr/share/fonts/ISO8859
>-2/* Getting pango modules
> /usr/bin/pango-querymodules: error while loading shared
> libraries: libX11.so.6: cannot open shared object file:
> No such file or directory Getting gtk2 input method
> modules
> /usr/bin/gtk-query-immodules-2.0: error while loading
> shared libraries: libXi.so.6: cannot open shared object
> file:
>
> The machine has XFree86-libs installed, and the file
> /usr/X11R6/lib/libX11.so.6 does physically exist on the
> machine.
>
> Is the upd-instroot script in anaconda-runtime not the
> one used to actually build RH 8?

We have a simple fix. I've mailed it out to others who had 
the same problem that mailed me directly. Simply run this 
before running buildinstall:

export LD_LIBRARY_PATH=/usr/X11R6/lib:$LD_LIBRARY_PATH

FWIW, upd-instroot automatically adds it if there is a 
/usr/bin/runroot, but if there isn't it doesn't. Here's the 
snippet from upd-instroot:
if [ -x /usr/bin/runroot -a -n "$COMPONENT" ]; then
        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
        /usr/sbin/chroot $DESTGR 
/usr/bin/gtk-query-immodules-2.0 > 
$DESTGR/etc/gtk-2.0/gtk.immodules
    fi

-Jeff





[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