It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
When I try to execute the start.sh file, I get the following error:

bash ./start.sh

Running Wasteland 2
support/gog_com.shlib: line 211: ./WL2: Permission denied

I've used chmod to try and give permission, but get the same error.

Anyone have any ideas?
avatar
zubbs1: When I try to execute the start.sh file, I get the following error:

bash ./start.sh

Running Wasteland 2
support/gog_com.shlib: line 211: ./WL2: Permission denied

I've used chmod to try and give permission, but get the same error.

Anyone have any ideas?
Could be missing 32-bits compatibility libraries, if you're running it on a 64-bits system. The list of libraries to install is on the GoG Linux FAQ : http://www.gog.com/support/wasteland_2_kickstarter/some_games_come_with_a_32bit_binary_only_what_does_this_mean
avatar
zubbs1: When I try to execute the start.sh file, I get the following error:

bash ./start.sh

Running Wasteland 2
support/gog_com.shlib: line 211: ./WL2: Permission denied

I've used chmod to try and give permission, but get the same error.

Anyone have any ideas?
avatar
kilobug: Could be missing 32-bits compatibility libraries, if you're running it on a 64-bits system. The list of libraries to install is on the GoG Linux FAQ : http://www.gog.com/support/wasteland_2_kickstarter/some_games_come_with_a_32bit_binary_only_what_does_this_mean
Attached is the verification that my libraries had already been updated. I did figure out that this was a NTFS drive, so chmod would not work. I had to edit my fstab to grant execute permission. I have verified with ls -l that I have read/write/execute permission in the entire wasteland 2 directory. This is the breakdown when I try to run the script with various commands:

sh./start.sh

./start.sh: 6: ./start.sh: declare: not found
./start.sh: 7: ./start.sh: declare: not found
./start.sh: 8: ./start.sh: declare: not found
./start.sh: 9: ./start.sh: declare: not found
./start.sh: 10: ./start.sh: declare: not found
./start.sh: 13: ./start.sh: Bad substitution
./start.sh: 13: ./start.sh: declare: not found
./start.sh: 19: ./start.sh: source: not found
./start.sh: 42: ./start.sh: define_option: not found
./start.sh: 45: ./start.sh: standard_options: not found

./start.sh
bash: ./start.sh: Permission denied

bash ./start.sh

Running Wasteland 2
support/gog_com.shlib: line 211: ./WL2: Permission denied

I'm new to linux, but trying my best to learn. I thought I had it nailed when I learned about the ntfs chmod function not working. However there is no change to the output when I try to run the script. I've seen elsewhere where they say to just run the WL2 file directly, but when I try that:

./wl2

bash: ./wl2: No such file or directory

sh ./WL2

./WL2: 1: ./WL2: ELF4�s4: not found
./WL2: 2: ./WL2: Syntax error: "(" unexpected (expecting ")")

bash ./WL2

./WL2: ./WL2: cannot execute binary file

I'm very frustrated that a simple .sh file cannot run as directed, and everywhere around the internet everyone seems like its so easy, just ./start.sh and it runs, well IT DOESN'T.

Anyone have any additional insight?
Attachments:
Post edited April 07, 2015 by zubbs1
NTFS and Linux don’t go well together *at all*.
If you want to get rid of all these problems, you really should install the game on a file system supporting UNIX rights, such as ext4.

(Woops, didn’t realized you’re the one I already told this on the thread next door)
Post edited April 08, 2015 by vv221
avatar
vv221: NTFS and Linux don’t go well together *at all*.
If you want to get rid of all these problems, you really should install the game on a file system supporting UNIX rights, such as ext4.

(Woops, didn’t realized you’re the one I already told this on the thread next door)
No worries mate, I don't mind being told twice, better chance it will sink in :D. I knew there would be a learning curve when switching to Linux, so I 'm just adding all the tidbits I can come across.

Cheers.
Ah, NTFS partition... indeed, those don't work that well with Linux, lots of glitches.

You can try to invoke the dynamic linker directly with a command like (adjust for your glibc version) :

/lib/i386-linux-gnu/ld-2.19.so ./WL2

that might work But it would be much better to use a native Linux filesystem (ext3/ext4 or btrfs or whatever).

If you can't repartition, as a hack you can make one on a loop device with something like :

dd if=/dev/zero of=image.ext4 bs=4096 count=10485760
losteup /dev/loop0 image.ext4
mkfs.ext4 /dev/loop0

And then use it with :

losteup /dev/loop0 image.ext4
mount /dev/loop0 /mnt

That'll create a 40Gb disk image named 'image.ext4' and mount it on /mnt, then you can expand WL2 on /mnt and run it from there. That should work, but with the double indirection of ext4 on top of NTFS, the loading performances are likely to suffer.
I offloaded all filles to another drive, then formated the NTFS drive. I now have two partitions, one with ext4 and one with NTFS (for whenver I get around to making a dual boot, I want to have available space for windows).

After that I reran the start.sh and it worked fine.


Thanks all for the help :D