After emerging nwn-166 with nowin, game installs, ebuild instructs to run "/opt/nwn/fixinstall" which also runs without problems. However after trying to run the game I get: /usr/games/bin/nwn: line 10: /opt/nwn/nwn: is a directory /usr/games/bin/nwn: line 10: exec: /opt/nwn/nwn: cannot execute: Success The script /usr/games/bin/nwn has a few stranges things: the if on line 3 is always true, why have it? I think one of the scripts makes the error of putting a directory "nwn" in the /opt/nwn directory. This maybe replaces the original "nwn" script? If I change /usr/games/bin/nwn to exec nwmain, I get the following: ./nwmain: error while loading shared libraries: libmss.so.6: cannot open shared object file: No such file or directory I also checked that I had a LD_LIBRARY_PATH set as well. However, the miles (libmss.so.6) is in /opt/nwn/miles. To get my copy of nwn to work I had to change the script, /usr/games/bin/nwn, to include miles lib path and call nwmain. I also removed the always true if statment. Attaching script.
Created attachment 81995 [details] fixed /usr/games/bin/nwn launcher script fixed /usr/games/bin/nwn launcher script that removes always true if statment, addes lib path for miles sound (/opt/nwn/miles) and calls the correct executable /opt/nwn/nwmain.
just wanted to note that looking at the ebuild for 1.66, it does put some of the data in /opt/nwn/nwn... which is incorrect.
OK, I'm not changing the launcher script. /opt/nwn/nwn should be a file, not a directory. I know that I fixed this on 1.66-r1, but I was pretty sure that I had caused it there. I was unaware that it also affected 1.66, too. Anyway, this should be resolved now.