发新话题
打印

简单处理安装显卡驱动后找不到 libGL.so.1.2

简单处理安装显卡驱动后找不到 libGL.so.1.2

网上有很多解决这个问题的办法,安装驱动前备份什么的!

我现在这部机器上的显卡是ATI9550,装了ati的驱动,重启后
selinux 出来下面一堆报告,最不爽的 mplayer 不能播电影了

libGL.S0.1.2是属 openGL,为什么装显卡驱动会这样,我也是菜鸟就不知了

找到一个很简单的办法就是把
mesa-libGL-6.5.2-10.fc7.i386强行删掉

——————————————————————————-—

rpm -e --nodeps mesa-libGL-6.5.2-10.fc7.i386

————————————————————————————

然后从安装光盘里把  mesa-libGL-6.5.2-10.fc7.i386.rpm
找出来重新装上.mplayer能播电影了,游戏能玩了

这只是一个菜鸟的方法,大家有什么好方法也贴上来看看!



———————————————————————————————————————————
——————————————————————————————————————————-
Summary
    SELinux is preventing /usr/bin/gmplayer from loading
    /usr/lib/xorg/libGL.so.1.2 which requires text relocation.

Detailed Description
    The /usr/bin/gmplayer application attempted to load
    /usr/lib/xorg/libGL.so.1.2 which requires text relocation.  This is a
    potential security problem. Most libraries do not need this permission.
    Libraries are sometimes coded incorrectly and request this permission.  The
    http://people.redhat.com/drepper/selinux-mem.html web page explains how to
    remove this requirement.  You can configure SELinux temporarily to allow
    /usr/lib/xorg/libGL.so.1.2 to use relocation as a workaround, until the
    library is fixed. Please file a
    http://bugzilla.redhat.com/bugzilla/enter_bug.cgi against this package.

Allowing Access
    If you trust /usr/lib/xorg/libGL.so.1.2 to run correctly, you can change the
    file context to textrel_shlib_t. "chcon -t textrel_shlib_t
    /usr/lib/xorg/libGL.so.1.2"

    The following command will allow this access:
    chcon -t textrel_shlib_t /usr/lib/xorg/libGL.so.1.2
————————————————————————————————————————————————————      

TOP

发新话题