论坛风格切换切换到宽版
  • 1186阅读
  • 7回复

[问题求助][RedHat] scrot终于装上了,但是运行出错,真要命!!! [复制链接]

上一主题 下一主题
 
发帖
1937
C币
-140796
威望
351
贡献值
1
银元
-1
铜钱
4356
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
tar -zxvf scrot.-0.8.tar..gz.
cd scrot-0.8
./config.ure --.prefix=/soft/scrot.
有如下错误:
checking for giblib - vers.ion >= 1.2..3... no(        游戏          )
*** The gibl.ib-config script installed by giblib could not be f.ound.
*** If giblib was insta.lled i.n PREFIX, make sure PREFIX/bin is in学习
*** your p.ath, or set the GIBLIB_CO.NFIG environment variable to the电影
**.* fu.ll path to giblib-config.
co.nfigure: error: Cannot find giblib: Is giblib.-config in the path?          婚庆


根据提示.错误,我就装giblib:.
tar. -z.vxf giblib-1.2.4.tar.gz健康
cd. giblib-1.2.4           鲜花
./configure .--prefix=/soft/scrot.--------------彩票
有如下错误:
checking for imlib2 - vers.ion >=. 1.0.0... no.
*** The imlib2-config script inst.alle.d by imlib2 could not be found健康
*** If imlib2 was installed in PREFIX, make sure PREFIX/bin is. .in电脑
*** your path, or set the IMLIB2_CONFIG envir.onment variable to .the服务器
*** ful.l. path to imlib2-config.           女人
configure: error: Cannot find imlib2:. Is imlib2-conf.ig in the path?学习

根据提示错误,.我就装imlib2:.
ta.r zxvf imlib2-1.4.2.t.ar.gz
cd. imlib2-1.4.2--- 印刷
./con.figure --prefix=/soft/scro.t             电子
这下成功了,
make
make install

根据这个提示.:make sure PREFIX/bin i.s in your path<性病>
我就:export PATH=/soft/scrot/binPATHhttp://upload.bbs.csuboy.com/Mon_1004/126_7013_00bc4ff17adaaa0.gif[/img]电影
cd ..
cd giblib-.1.2.4    健康
./configure --p.refi.x=/soft/scrot健康
成功
make & m.ake install.

cd scrot-0.8
./c.onf.igure --prefix=/soft/scrot[成人用品]
成功,
make .& make  install           女人

这些都安装成功。。。


但在运行scrot时出错:
cd /soft/.scrot/bin.
[m@l.ocalhost bin]$ ./scro.t.
./scrot: error while loading shared libraries:. libgi.blib.so.1: cannot open .shared object file: No such file or directory.

但是确实有li.bgiblib.s.o.1这个文件,在/soft/scrot/lib下.


这个问题不知咋.解决,请大虾们来帮帮忙。。。。。虚拟主机

评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
离线klxqlqw.
发帖
2074
C币
-262870
威望
355
贡献值
2
银元
-3
铜钱
4474
人人网人气币
0
只看该作者 沙发  发表于: 2010-04-14
Re:[RedHat]
or set the IMLIB2_CONFIG environment variable to the  full path to imlib2-config.
这个提示是不是也可这样:

export IMLIB2_CONFIG=/soft/scrot/bin/imlib2-config

发帖
2112
C币
-235117
威望
406
贡献值
1
银元
-2
铜钱
4772
人人网人气币
0
只看该作者 板凳  发表于: 2010-04-14
Re:[RedHat]
没人回复????????
小弟无法解决呀!!!!!!!

发帖
2005
C币
-235756
威望
360
贡献值
2
银元
-4
铜钱
4376
人人网人气币
0
只看该作者 地板  发表于: 2010-04-14
Re:[RedHat]
LD_DEBUG=libs ./scrot
安装输出的信息建立一个ln -s的软连接 libgiblib.so.1

离线fishleong.
发帖
1929
C币
-61154
威望
331
贡献值
1
银元
-1
铜钱
4179
人人网人气币
0
只看该作者 4楼 发表于: 2010-04-14
Re:[RedHat]
可能我误解你的意思了吧!!!!!


/soft/scrot/lib下的libgiblib.so.1本来就是该目录下libgiblib.so.1.0.6的软链接!!!!

我又在/soft/scrot/bin下面建了个软链接:
[m@localhost bin]$ ln -s ../lib/libgiblib.so.1 libgiblib.so.1
[m@localhost bin]$ LD_DBEBUG=libs ./scrot
./scrot: error while loading shared libraries: libgiblib.so.1: cannot open shared object file: No such file or directory
[m@localhost bin]$  ./scrot
./scrot: error while loading shared libraries: libgiblib.so.1: cannot open shared object file: No such file or directory
[m@localhost bin]$ LD_DBEBUG=../lib ./scrot
./scrot: error while loading shared libraries: libgiblib.so.1: cannot open shared object file: No such file or directory
[m@localhost bin]$ LD_DBEBUG=lib ./scrot
./scrot: error while loading shared libraries: libgiblib.so.1: cannot open shared object file: No such file or directory
[m@localhost bin]$

这些都不行,是我写错了吗????????

发帖
2119
C币
-235314
威望
380
贡献值
1
银元
-4
铜钱
4762
人人网人气币
0
只看该作者 5楼 发表于: 2010-04-14
Re:[RedHat]
是我写错了,但还不行:


[m@localhost bin]$ export PATH=/soft/scrot/binPATH
[m@localhost bin]$ LD_DEBUG=libs ./scrot
      3260:     find library=libX11.so.6 [0]; searching
      3260:      search cache=/etc/ld.so.cache
      3260:       trying file=/usr/lib/libX11.so.6
      3260:
      3260:     find library=libgiblib.so.1 [0]; searching
      3260:      search cache=/etc/ld.so.cache
      3260:      search path=/lib/tls/i686/sse2:/lib/tls/i686:/lib/tls/sse2:/lib/tls:/lib/i686/sse2:/lib/i686:/lib/sse2:/lib:/usr/lib/tls/i686/sse2:/usr/lib/tls/i686:/usr/lib/tls/sse2:/usr/lib/tls:/usr/lib/i686/sse2:/usr/lib/i686:/usr/lib/sse2:/usr/lib            (system search path)
      3260:       trying file=/lib/tls/i686/sse2/libgiblib.so.1
      3260:       trying file=/lib/tls/i686/libgiblib.so.1
      3260:       trying file=/lib/tls/sse2/libgiblib.so.1
      3260:       trying file=/lib/tls/libgiblib.so.1
      3260:       trying file=/lib/i686/sse2/libgiblib.so.1
      3260:       trying file=/lib/i686/libgiblib.so.1
      3260:       trying file=/lib/sse2/libgiblib.so.1
      3260:       trying file=/lib/libgiblib.so.1
      3260:       trying file=/usr/lib/tls/i686/sse2/libgiblib.so.1
      3260:       trying file=/usr/lib/tls/i686/libgiblib.so.1
      3260:       trying file=/usr/lib/tls/sse2/libgiblib.so.1
      3260:       trying file=/usr/lib/tls/libgiblib.so.1
      3260:       trying file=/usr/lib/i686/sse2/libgiblib.so.1
      3260:       trying file=/usr/lib/i686/libgiblib.so.1
      3260:       trying file=/usr/lib/sse2/libgiblib.so.1
      3260:       trying file=/usr/lib/libgiblib.so.1
      3260:
./scrot: error while loading shared libraries: libgiblib.so.1: cannot open shared object file: No such file or directory
[m@localhost bin]$ echo $PATH
/soft/scrot/bin:/soft/server/jdk1.6.0_12/bin:/soft/server/jdk1.6.0_12/jre/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/soft/server/jdk1.6.0_12/bin:/soft/server/jdk1.6.0_12/jre/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/m/bin
[m@localhost bin]$

离线pkx520.
发帖
2006
C币
-235498
威望
354
贡献值
1
银元
-4
铜钱
4577
人人网人气币
0
只看该作者 6楼 发表于: 2010-04-14
Re:[RedHat]
好像没去找/soft/scrot/lib下面的libgiblib.so.1呀!!!


怎么进去呢????

离线blueii.
发帖
1982
C币
-152858
威望
353
贡献值
1
银元
-2
铜钱
4430
人人网人气币
0
只看该作者 7楼 发表于: 2010-04-14
Re:[RedHat]
3260:      search path=/lib/tls/i686/sse2:/lib/tls/i686:/lib/tls/sse2:/lib/tls:/lib/i686/sse2:/lib/i686:/lib/sse2:/lib:/usr/lib/tls/i686/sse2:/usr/lib/tls/i686:/usr/lib/tls/sse2:/usr/lib/tls:/usr/lib/i686/sse2:/usr/lib/i686:/usr/lib/sse2:/usr/lib            (system search path)

看来只要加到这个path中行了,怎样把/soft/scrot/lib/libgiblib.so.1的路径加到这system search path中呢???????????
快速回复
限100 字节
如果您在写长篇帖子又不马上发表,建议存为草稿
 
上一个 下一个