Home » General » Support » SSHFS: libfuse.so.2: No such file or directory
SSHFS: libfuse.so.2: No such file or directory [message #33317] |
Tue, 07 October 2008 15:06 |
ittec
Messages: 41 Registered: February 2008
|
Member |
|
|
Hi
I have followed FUSE guide on OpenVZ Wiki but i can't solve this issue. I choose FUSE when I noticed the problem with kernel support reading a lot of post on forum and FUSE looks good idea.
[B]# /usr/local/bin/sshfs[/B]: error while loading shared libraries: libfuse.so.2: cannot open shared object file: No such file or directory
I think there are something wrong with ld.so.conf
[B]#cat /etc/ld.so.conf[/B]
include /usr/local/lib/libfuse.so.2
include ld.so.conf.d/*.conf
But when i run ldconfig a lot of strange characters appears on screen
ldconfig: îÝv$º Ö¿Ã ó{ is not a known library type
ldconfig: =uuq@Zð=»×ôu;/Y«ç«
u
Z/u!
?® is not a known library type
ldconfig: ;£f/gKgKÚ<>
is not a known library type
òlA?Ê is not a known library type
ldconfig: uvS58!»Y-;=1u
x;Ko;/-/6wuÈg=dJc<gKy(X\t¬
.d is not a known library type
ldconfig: [»=;KeÊÙuä-<..x<´ /t=]fÚ.Wt¼ is not a known library type
-bash-3.2# PuTTYPuTTY
Any idea?
|
|
|
|
|
Re: SSHFS: libfuse.so.2: No such file or directory [message #33350 is a reply to message #33346] |
Wed, 08 October 2008 13:39 |
ittec
Messages: 41 Registered: February 2008
|
Member |
|
|
Thanks maratrus,
i have downloaded SSHFS and FUSE from Sourceforge and ive compiled from source inside Container, following openvz WIKI. This is the result of strace:
-bash-3.1# strace /usr/local/bin/sshfs root@one.ip.remote:/home/sharing /mnt/remote
execve("/usr/local/bin/sshfs", ["/usr/local/bin/sshfs", "root@one.ip.remote:/home/sharin"..., "/mnt/remote"...], [/* 17 vars */]) = 0
brk(0) = 0x9b95000
uname({sys="Linux", node="52.grupoitnet.net", ...}) = 0
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=9905, ...}) = 0
mmap2(NULL, 9905, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fbe000
close(3) = 0
open("/lib/tls/i686/sse2/libfuse.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/i686/sse2", 0xbfe26098) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/libfuse.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/i686", 0xbfe26098) = -1 ENOENT (No such file or directory)
open("/lib/tls/sse2/libfuse.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/sse2", 0xbfe26098) = -1 ENOENT (No such file or directory)
open("/lib/tls/libfuse.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
open("/lib/i686/sse2/libfuse.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i686/sse2", 0xbfe26098) = -1 ENOENT (No such file or directory)
open("/lib/i686/libfuse.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i686", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
open("/lib/sse2/libfuse.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/sse2", 0xbfe26098) = -1 ENOENT (No such file or directory)
open("/lib/libfuse.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib", {st_mode=S_IFDIR|0755, st_size=5120, ...}) = 0
open("/usr/lib/tls/i686/sse2/libfuse.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/i686/sse2", 0xbfe26098) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/i686/libfuse.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/i686", 0xbfe26098) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/sse2/libfuse.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/sse2", 0xbfe26098) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libfuse.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
open("/usr/lib/i686/sse2/libfuse.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686/sse2", 0xbfe26098) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/libfuse.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686", 0xbfe26098) = -1 ENOENT (No such file or directory)
open("/usr/lib/sse2/libfuse.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/sse2", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
open("/usr/lib/libfuse.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=7168, ...}) = 0
writev(2, [{"/usr/local/bin/sshfs", 20}, {": ", 2}, {"error while loading shared libra"..., 36}, {": ", 2}, {"libfuse.so.2", 12}, {": ", 2}, {"cannot open shared object file", 30}, {": ", 2}, {"No such file or directory", 25}, {"\n", 1}], 10/usr/local/bin/sshfs: error while loading shared libraries: libfuse.so.2: cannot open shared object file: No such file or directory
) = 132
exit_group(127) = ?
Sshfs try to open libfuse.so.2 in many directorys. I have libfuse.so.2 in /usr/local/lib
Perhaps creating a symbolic link on all failed directorys solve the error???
|
|
|
|
|
|
Goto Forum:
Current Time: Thu Nov 07 08:30:02 GMT 2024
Total time taken to generate the page: 0.03289 seconds
|