Hello,

I have found solution for this, you have to emerge sys-apps/paxctl (I 
assume you're using PaX) and do these 2 steps:
0. become root - sudo su
1. paxctl -C hltv - this creates PT_PAX_FLAGS for hltv executable
2. paxctl -m hltv - this disabled MPROTECT on hltv executable, because 
hltv executable nor hlds_i686 executable doesn't have proper TEXTRELS,

so if you want to start hlds, you have to do this on hlds executable.
HLTV is now working on gentoo hardened with PaX.

Another way is to recompile your kernel using
Non-executable page ->
 [*]   Disallow ELF text relocations

but than you need to reboot.

Kveri

Martin Haas  wrote / napĂ­sal(a):
> I have same problem, i dont know:( so if somebody know what do with this
> error:) pleas tell it :d
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Kveri
> Sent: Wednesday, October 29, 2008 3:31 PM
> To: Half-Life dedicated Linux server mailing list
> Subject: [hlds_linux] HLTV cannot make segment writable for relocation error
>
> Hello,
>
> I have problem with launching hltv on linux.
>
> ./hltvstart -port 27011
>
> Console initialized.
> FileSystem initialized.
> Error:./libsteam_api_c_linux.so: cannot make segment writable for 
> relocation: Permission denied
> Type 'help' for a list of commands.
> WARNING! System::RunFrame: system time difference <= 0.
> WARNING! System::RunFrame: system time difference <= 0.
> WARNING! System::RunFrame: system time difference <= 0.
> WARNING! System::RunFrame: system time difference <= 0.
> WARNING! System::RunFrame: system time difference <= 0.
>
> hltvstart:
> #!/bin/sh
> export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
> ./hltv $@
>
> Could someone tells me what I'm doing wrong?
>
> Kveri
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>
>   


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to