View previous topic :: View next topic |
Author |
Message |
odenien
Joined: 26 Sep 2005 Posts: 37
|
Posted: Tue Sep 27, 2005 13:45 Post subject: NWNX2 on Fedora Core 4 |
|
|
Has then been attempted or verified? I was running Linux 9.0 with the 2.53 components with no problems, until I lost the server. I restaged it using Fedora Core 4. After re-configuring the project and re-building I am unable to load nwserver with the nwnx2 preload. I receive
System Error wrote: | ./nwserver: error while loading shared libraries: /home/neverwinternights/nwn/nwnx2.so: cannot restore segment prot after reloc: Permission denied |
Apparently, this is happening on the dlopen. Any help, would be appreciated. |
|
Back to top |
|
|
monezz
Joined: 03 Jan 2005 Posts: 52 Location: The Netherlands
|
Posted: Wed Sep 28, 2005 16:17 Post subject: |
|
|
Could be a permissions problem.
Mine looks like this:
-rwxr-xr-x 1 nwn nwn 100793 Aug 5 17:23 nwnx2.so
If you compiled the module with another user as you are running nwn, you might have to change the owner/group aswell
Hope it helps,
Monezz |
|
Back to top |
|
|
odenien
Joined: 26 Sep 2005 Posts: 37
|
Posted: Wed Sep 28, 2005 17:49 Post subject: |
|
|
Unfortunately, no it did not. Already had the proper permissions. |
|
Back to top |
|
|
monezz
Joined: 03 Jan 2005 Posts: 52 Location: The Netherlands
|
Posted: Wed Sep 28, 2005 17:58 Post subject: |
|
|
You could also check the permissions for the libs nwnx.so depends on
(ldd nwnx.so) |
|
Back to top |
|
|
odenien
Joined: 26 Sep 2005 Posts: 37
|
Posted: Thu Sep 29, 2005 11:53 Post subject: |
|
|
Every other library loads, so I am would guess it has to do with the nwnx2.so itself. |
|
Back to top |
|
|
monezz
Joined: 03 Jan 2005 Posts: 52 Location: The Netherlands
|
Posted: Thu Sep 29, 2005 12:16 Post subject: |
|
|
Have you tried to recompile it? |
|
Back to top |
|
|
odenien
Joined: 26 Sep 2005 Posts: 37
|
Posted: Thu Sep 29, 2005 22:32 Post subject: |
|
|
yes, I stated that in the first post. I called ./configure, make clean , make. no luck. |
|
Back to top |
|
|
odenien
Joined: 26 Sep 2005 Posts: 37
|
Posted: Thu Sep 29, 2005 23:36 Post subject: |
|
|
Sorry guys, for running you around. One thing I did when I installed the new linux was enabled SELinux. Turns out this locks down your system worse than a possessed wife. Disabling the security fixed the problem, but I may play with the security rules to see if I can get a working combination. |
|
Back to top |
|
|
monezz
Joined: 03 Jan 2005 Posts: 52 Location: The Netherlands
|
Posted: Sat Oct 01, 2005 14:25 Post subject: |
|
|
Glad to hear you got it working |
|
Back to top |
|
|
|