execute a program file
Hi,
I try to run a program: ~/tmp$ ./vwlinux86gui bash: ./vwlinux86gui: No such file or directory ~/tmp$ ls -l ./vwlinux86gui -rwxrwxrwx 1 ernst ernst 4079840 2008-08-26 00:45 ./vwlinux86gui I do not understand why bash does not find the file and not execute it! i.e ~/tmp$ chmod -x ./vwlinux86gui ~/tmp$ ./vwlinux86gui bash: ./vwlinux86gui: Permission denied Now it did find it and gives the correct error message I hope this is very simple, but I can't see it. Thanks Ernst |
Maybe vwlinux86gui is a script with a shabang line which refers to an interpreter which is not installed.
Do this: Code:
head -n 4 vwlinux86gui Code:
#!/usr/bin/wish You might also see it like this: Code:
#!/bin/sh |
head -n 10 vwlinux86gui
shows on first line: ELF04��<4 ((%444������^ then unprintable characters and later: /lib/ld-linux.so.2 On this box I have ld-linux-x86-64.so.2 instead of ld-linux.so.2 This must be the problem. Thanks Ernst |
Linux x86 (32-bit) is supported, § 7.1 :
http://www.cincomsmalltalk.com/docum...seNotes7.1.pdf Ask matthewg42 for the possibility to use it on your system. (64-bit system) Regards |
I know nothing about 64-bit apps and if they run or not on a system of the other type.
|
Thanks to everyone,
The turning point was to realise that I am trying to run a 32 bit app on a 64 bit os. Here is an article about this http://www.debian-administration.org/articles/534 With this in mind I did: apt-file --architecture i386 search libX11.so.6 which points to two packages: libx11-6 and ia32-libs The first one was already installed. After installing the second one VisualWorks runs. |
All times are GMT -5. The time now is 01:32 PM. |