Hydras 发表于 2004-5-17 09:19:41

安了libstroke为什么安FVWM后却提示没有?谢谢

请问我安了libstroke,为什么安FVWM后,运行提示没有libstroke?谢谢

我先安的libstroke-0.51fvwm.tar.gz
tar zfxv libstroke-0.51fvwm.tar.gz
cd libstroke-0.51fvwm
./configure
make install
没有出错

然后安的fvwm-2.4.18.tar.bz2
tar fxvj fvwm-2.4.18.tar.bz2
cd fvwm-2.4.18
./configure
make install
也没有出错

但我运行fvwm后,提示:
# fvwm
fvwm: error while loading shared libraries: libstroke.so.0: cannot open shared o
bject file :No such file or directory

怎么办?我的fvwm无法运行。我是新手,请大家讲解的时候详细一点,谢谢!
我用的Redhat 9.0 Kernel 2.4.20-8

athlonxhy 发表于 2004-5-17 21:29:10

那是因为没有安装目录!
默认的libstroke被安装到了/usr/local/lib下面,而FVWM的configure却去查找/usr/lib以及/usr/X11R6/lib等等目录,所以查找它的时候失败。

两个办法:
一:在/usr/lib/或者/usr/X11/lib下面做出libstrock.so.0链接:
"ln -s /usr/local/lib/libstroke.so.0/usr/lib/libstroke.so.0"(或者/usr/X11R6/lib/libstroke.so.0)
二:把/usr/local/lib导出:
在~/.bash_profile的PATH里面加上/usr/local/lib,用env看环境变量。

试试看,有什么问题再帖出来。

Hydras 发表于 2004-5-18 00:38:29

谢谢,解决了!
谢谢,谢谢! :P

athlonxhy 发表于 2004-5-18 12:21:25

不用客气 :-)

webwizard 发表于 2004-6-15 17:55:32

还是不行!
提示
:<<ERROR>> can't open display

怎么回事?
望大虾们告知在下 :cry:

KanKer 发表于 2004-6-15 18:17:27

运行xinit了么?可以将fvwm命令写到~/.xinirc里面。如:
exec /usr/bin/fvwm

freeknight 发表于 2004-7-7 14:15:55

那是因为没有安装目录!
默认的libstroke被安装到了/usr/local/lib下面,而FVWM的configure却去查找/usr/lib以及/usr/X11R6/lib等等目录,所以查找它的时候失败。

两个办法:
一:在/usr/lib/或者/usr/X11/lib下面做出libstrock.so.0链接:
"ln -s /usr/local/lib/libstroke.so.0/usr/lib/libstroke.so.0"(或者/usr/X11R6/lib/libstroke.so.0)
二:把/usr/local/lib导出:
在~/.bash_profile的PATH里面加上/usr/local/lib,用env看环境变量。

试试看,有什么问题再帖出来。

我的这么做了,可是还不行啊?我下载的libstroke是ForFVWM的。我确保在上述需要的文件夹内都有libstroke.so.0文件,但安装FVWM依然提示:

# rpm -ivh fvwm-2.4.17-1.i386.rpm
error: Failed dependencies:
      libstroke.so.0 is needed by fvwm-2.4.17-1

athlonxhy 发表于 2004-7-7 20:49:25

rpm?
建议你用从源码直接安装,我是这么做的没有什么问题。你试试看! :roll:

demonstrate 发表于 2004-8-6 11:34:17

我的问题是这样的,原来也是找不到libstroke.so.0,我在系统路径里面加入了符号连接以后,X启动了,但是出现了一个黑屏幕,有鼠标,但是右键点一下仅仅出来一个方框,估计是菜单,可是菜单里面甚么都没有,点菜单的最后一项就退出了...

yttlovezxx 发表于 2004-9-13 00:45:45

请问是不是这样呀????

PATH=$PATH:$HOME/bin /usr/local/lib

lzhweb 发表于 2004-9-24 22:15:59

from source to setup, It's too ease,and no problem.

dragonchina 发表于 2004-10-1 22:23:17

我的问题的反应是Xsession文件错误

显示是./Xsession-error file

dragonchina 发表于 2004-10-1 22:43:48

回复

我弄妥了,不一样就是不一样。刚进去不会玩。

gai1020 发表于 2004-10-16 13:38:11

找不文件的话
做个连接
要不复制过去就行了

sukewinte 发表于 2006-3-6 16:49:14

#./configure
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether build environment is sane... yes
checking host system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized

checking build system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized

checking for ranlib... ranlib
checking for gcc... gcc
checking whether the C compiler (gcc) works... yes
checking whether the C compiler (gcc) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking command to parse /usr/bin/nm -B output... yes
checking for _ prefix in compiled symbols... (cached) no
checking whether ln -s works... yes
ltconfig: you must specify a host type if you use `--no-verify'
Try `ltconfig --help' for more information.
configure: error: libtool configure failed

#uname -a
Linux localhost.localdomain 2.6.15-1.1831_FC4 #1 SMP Tue Feb 7 13:37:59 EST 2006 x86_64 x86_64 x86_64 GNU/Linux

楼主呀,这该如何解决?
页: [1] 2
查看完整版本: 安了libstroke为什么安FVWM后却提示没有?谢谢