#3 Cannot mount sshfs


Can mount ftpfs and locasefs with no problems, but get
the error "could not mount filesystem!" when trying with

Here is the command I am using:
lufsmount sshfs://user@host/home/user /mnt/lufs --

I also tried mount with the following:
mount -t lufs none /mnt/lufs -o

Get this error:
liblufs-sshfs.so: cannot open shared object file: No such
file or directory
could not mount filesystem!

The LD_LIBRARY_PATH is set and the .so is there.

I am running RH8.0 with kernel 2.4.18-19.8.0
and openssh 3.5p1-1.

I am trying to map the directory on the same server as
lufs is running, I do not have access to any other SSH
server at the moment.

I have not setup keys for SSH login, I thought it would
prompt me for a password, could this be a problem?

Please help.


  • Michael Johnson

    Michael Johnson - 2003-01-13

    Logged In: YES

    I've had the exact same problem since 0.8.3. 0.9.0 has this problem, but 0.8.2 doesn't. I will be comparing 0.8.2 and 0.9.0 and see if I can find where the difference is. If I find it, I'll let Mali know.


  • Michael Johnson

    Michael Johnson - 2003-01-13

    Logged In: YES

    Well, I didn't have much success. But here's what I did.

    I've taken some time go go through the make output and see if I can figure anything out. I compared the output from 0.8.2 and 0.9.0. I must admit some ignorance when it comes to Linux libraries. All I can tell for sure is that the library conventions have changed. From what I can tell, there should be no problems.

    The exact error I get is as follows. It occurs when I try running lufsmount. This is from the log file from the debugging version.
    [33a3](get_filesystem) trying to load liblufs-sshfs.so
    liblufs-sshfs.so: cannot open shared object file:
    No such file or directory
    unsupported file system: sshfs
    [33a3](main) could not create fs_ctl!

    The error output from the debugging version is:
    [33a3](get_filesystem) [33a3](lu_fsctl_create)

    And the syslog does not provide anything useful.

    Liblufs-sshfs.so appears to be in the proper place (/usr/local/lib) and everything in the make log seems to indicate it is going ot the proper place. But it is not found. The same problem as the original posting.

    I do know that it has nothing to do with SSH itself, since as I've said 0.8.2 works fine for me (still does).


  • Michiel de Roo

    Michiel de Roo - 2003-01-17

    Logged In: YES

    Yep, same problem here with Debian Woody.

  • Michiel de Roo

    Michiel de Roo - 2003-02-06

    Logged In: YES

    I had the same. I soved it by using the --libdir option

    ./configure --libdir=/usr/lib
    make install

    Another hint for the password: use lussh.

    hth, Michiel.

  • Lorenzo Petrone

    Lorenzo Petrone - 2003-04-06

    Logged In: YES

    add line /usr/local/lib to /etc/ld.so.conf and re-run
    ldconfig (as root)

  • Tilmann Singer

    Tilmann Singer - 2003-10-26

    Logged In: YES

    It's a bit sad that there is no more verbose error message than
    "could not mount filesystem!". So for me it's either it works or
    I'm screwed :-(. Maybe a better logging could be part of the next


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks