1 |
I assume your using PaX in your kernel. |
2 |
|
3 |
You probably enabled NOELFRELOCS in the kernel .config without |
4 |
reading the config help. |
5 |
|
6 |
On Sat, 2004-09-11 at 21:18, Andrei Ivanov wrote: |
7 |
> Hello, |
8 |
> I'm having problems with mysql: |
9 |
> |
10 |
> resolveip: error while loading shared libraries: cannot make segment |
11 |
> writable for relocation: Permission denied |
12 |
> |
13 |
> ldd `which resolveip` |
14 |
> libstdc++.so.5 => |
15 |
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.so.5 (0x23d21000) |
16 |
> libgcc_s.so.1 => |
17 |
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libgcc_s.so.1 (0x23e6e000) |
18 |
> libc.so.6 => /lib/libc.so.6 (0x23e81000) |
19 |
> libpthread.so.0 => /lib/libpthread.so.0 (0x23f99000) |
20 |
> libz.so.1 => /lib/libz.so.1 (0x23fab000) |
21 |
> libcrypt.so.1 => /lib/libcrypt.so.1 (0x23fbf000) |
22 |
> libnsl.so.1 => /lib/libnsl.so.1 (0x23fed000) |
23 |
> libm.so.6 => /lib/libm.so.6 (0x24003000) |
24 |
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x23d0a000) |
25 |
> |
26 |
|
27 |
> ./gen_lex_hash > lex_hash.h |
28 |
> ./gen_lex_hash: error while loading shared libraries: cannot make segment |
29 |
> writable for relocation: Permission denied |
30 |
|
31 |
[snip crap] |
32 |
|
33 |
> What can I do? |
34 |
|
35 |
If the above is the case then disable the option or chpax/paxctl -m said program. |
36 |
|
37 |
|
38 |
> -- |
39 |
> gentoo-hardened@g.o mailing list |
40 |
-- |
41 |
Ned Ludd <solar@g.o> |
42 |
Gentoo (hardened,security,infrastructure,embedded,toolchain) Developer |