Forum Post
Index > FileTeePee > Linux installation needs

Author/Date Linux installation needs
08/08/2004 7:17pm

I've used your program in a windows version and am keep to put it onto my Linux box.

However, I get the following error message:

Error while loading shared libraries: : cannot open shared object file: No such file or directory.
08/08/2004 10:35pm
This is what happens if you run the executable 'scribe' directly instead of using the bundled 'run-scribe' script. All the script does is map the current directory into the library path so that it can find the .so files.
09/08/2004 8:45am

Thanks for the reply.

I'm actually trying to use iftp ;)

I downloaded iftp-linux-v183 which contained the following files:


I'm afraid I couldn't find a script called 'run-iftp' or anything similar.

- Dave Coventry
09/08/2004 11:36am
The file should contain this:
# run app


if ls $path/iftp
    export LD_LIBRARY_PATH=$path:$LD_LIBRARY_PATH ; "$path/iftp"

exit 0

So just create a text file, paste that in, and make it executable.
09/08/2004 2:01pm

I'll give it a go!
09/08/2004 8:04pm
I'm afraid that the following error message is generated:

Line 11: 3287 Bus error "$path/iftp"

I've tried setting the $LD_LIBRARY_PATH variable to "/opt/iftp-linux"

But this does not get rid of the error.
Matthew Allen
10/08/2004 1:35am
The other option is to copy/move the file into some folder that is already in the library path, usually /usr/lib ?
10/08/2004 7:45pm

Thanks for the rely.

I have tried to do as you suggested, which has got rid of the error reported above. However, I now get a succinct error message as follows:

'Bus error'

Nothing else. Any ideas?

Incidently, I am using a Debian unstable Sid install from Knoppix 3.4 (kernel 2.6.5 I believe)

Dave Coventry
11/08/2004 1:29am
To check where the library can be found you'd use a command like this:
% ldd ./iftp => /lib/i686/ (0x40036000) => /usr/X11R6/lib/ (0x40087000) => /usr/X11R6/lib/ (0x4008f000) => /usr/X11R6/lib/ (0x4009d000) => /usr/X11R6/lib/ (0x4017c000) => /usr/lib/ (0x4018e000) => /usr/lib/ (0x401df000) => /home/lemon/matthew/lgi/Lgi/ReleaseX/ (0x40205000) => /lib/i686/ (0x403a5000) => /usr/lib/ (0x404dd000)
        /lib/ => /lib/ (0x40000000) => /lib/ (0x40590000) => /usr/lib/ (0x40594000) => /lib/i686/ (0x405b5000) => /lib/ (0x405d7000)

It'll tell you if there is missing libraries. This is obviously an example without missing libraries from my machine. Feel free to post what you get. Sometimes 'ldd' is in /sbin and not in the path so use '/sbin/ldd' if you get a command not found error.

'bus error' is not a valid error message for anything going on in a script so I'm at a loss to understand whats going wrong. I know thats not very helpful but I'm stumped.
11/08/2004 5:37pm
Here's the result of 'ldd ./iftp'

dave@linuxBox:/opt/iftp-linux$ ldd ./iftp
/usr/bin/ldd: line 1: 4228 Bus error LD_TRACE_LOADED_OBJECTS=1 LD_WARN= LD_BIND_NOW= LD_LIBRARY_VERSION=$verify_out LD_VERBOSE= "$file"

>I'm stumped

Well, thanks very much for your help up to now. ;)

Dave Coventry