I have an image mounted in the following way in fstab:
/home/fbence/ee_modbox.img /home/fbence/mounted/modbox lowntfs-3g windows_names,ignore_case,umask=007,uid=fbence 0 0
In a specific folder on the mounted image I have the following files with the following permissions:
fbence@localhost:~/mounted/modbox/bg2ee/game$ ls -l
total 38239
-rwxrwx--- 1 fbence root 11774908 dec 19 2017 baldursgateii
drwxrwx--- 1 fbence root 4096 dec 19 2017 characters
-rwxrwx--- 1 fbence root 1154176 dec 19 2017 chitin.key
drwxrwx--- 1 fbence root 57344 dec 19 2017 data
drwxrwx--- 1 fbence root 4096 jan 27 2018 eet
-rwxrwx--- 1 fbence root 29271 dec 19 2017 eet_end.tp2
-rwxrwx--- 1 fbence root 162 dec 19 2017 eet_gui.tp2
drwxrwx--- 1 fbence root 4096 dec 19 2017 eet_tweaks
-rwxrwx--- 1 fbence root 109 dec 19 2017 engine.lua
drwxrwx--- 1 fbence root 0 dec 19 2017 lang
lrwxrwxrwx 1 fbence root 14 nov 3 23:44 libjson.so.0 -> libjson-c.so.2
-rwxrwx--- 1 fbence root 255 jan 27 2018 list.txt
drwxrwx--- 1 fbence root 0 dec 19 2017 manuals
drwxrwx--- 1 fbence root 4096 dec 19 2017 movies
drwxrwx--- 1 fbence root 53248 dec 19 2017 music
drwxrwx--- 1 fbence root 3072000 jan 27 2018 override
drwxrwx--- 1 fbence root 4096 dec 19 2017 scripts
-rwxrwx--- 1 fbence root 17548975 dec 19 2017 setup-eet.debug
-rwxrwx--- 1 fbence root 1028264 dec 19 2017 setup-eet_end
-rwxrwx--- 1 fbence root 1028264 dec 19 2017 setup-eet_gui
-rwxrwx--- 1 fbence root 3361726 jan 27 2018 setup-eet_tweaks.debug
-rwxrwx--- 1 fbence root 3950 dec 19 2017 weidu-bgee.log
-rwxrwx--- 1 fbence root 17 dec 19 2017 weidu.conf
-rwxrwx--- 1 fbence root 1879 jan 27 2018 weidu.log
drwxrwx--- 1 fbence root 0 dec 19 2017 worldmap
When I try to execute the baldursgateii
executable I get an error, and I totally can't understand how I can be getting this error:
fbence@localhost:~/mounted/modbox/bg2ee/game$ ./baldursgateii
bash: ./baldursgateii: No such file or directory
The image and the setup was copied from another computer running the same Ubuntu 18.04 as the current computer. The file is clearly there, I actually use the bash tab autocomplete to type the filename yet it still says there's no such file ... What is wrong here?
EDIT
fbence@localhost:~/mounted/modbox/bg2ee/game$ ldd baldursgateii
not a dynamic executable
exec
option according to this link – sudodus Feb 16 '19 at 14:23lib
file there as well. Also, do you know how it was installed on the other system? Did it require like Wine or PlayOnLinux or Steam? Everything I can see doesn't have a Linux port of the game. – Terrance Feb 16 '19 at 14:31lib
was also defunct there), that is why I am completely dumbfounded. I tried and I can run normal bash scripts from here. – fbence Feb 16 '19 at 14:36lowntfs-3g
? – heynnema Feb 16 '19 at 15:33ldd baldursgateii
? – steeldriver Feb 16 '19 at 16:06sudo apt install libc6-i386
) and then try again. See for example ldd 32-bit exe / 64-bit OS . – steeldriver Feb 16 '19 at 18:38ntfs-3g
, and remove "windows_names,ignore_case", and see what happens. Report back. – heynnema Feb 16 '19 at 19:03