【求助】需要库已经安装并存在,但是编译时,仍然缺少库
发表于 : 2012-08-17 17:01
我在安装libdrm-2.4.38时,执行./configure
checking for PCIACCESS... configure: error: Package requiremengts (pciaccess >=0.10) were not met:
No package ‘pciaccess’ found
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.
Alternatively,you may set the environment variables PCIACCESS_CFLAGS and PCIACCESS_LIBS to avoid the need to call pkg-config.
see the pkg-config man page for more details.
执行rpm -qa|grep libpciaccess
得到 libpciaccess-0.12.1-1.el6.i686
并且在/usr/lib下找到
libpciaccess.so.0 libpciaccess.so.0.10.8
百度过PKG—CONFIG-PATH,并且修改/etc/ld.so.conf加入
/usr/lib
/usr/local/lib
/opt/lib
还是一样,求帮忙,已经为这个问题忙活了一天了…………
checking for PCIACCESS... configure: error: Package requiremengts (pciaccess >=0.10) were not met:
No package ‘pciaccess’ found
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.
Alternatively,you may set the environment variables PCIACCESS_CFLAGS and PCIACCESS_LIBS to avoid the need to call pkg-config.
see the pkg-config man page for more details.
执行rpm -qa|grep libpciaccess
得到 libpciaccess-0.12.1-1.el6.i686
并且在/usr/lib下找到
libpciaccess.so.0 libpciaccess.so.0.10.8
百度过PKG—CONFIG-PATH,并且修改/etc/ld.so.conf加入
/usr/lib
/usr/local/lib
/opt/lib
还是一样,求帮忙,已经为这个问题忙活了一天了…………