With the recent update of the Sun Studio 12 compiler set I started seeing errors like this when compiling for example MySQL from source:
ld.so.1: exe: fatal: relocation error: R_AMD64_32:
Turns out that it was Zlib 1.2.5 causing the problem.
Both, Zlib and MySQL need to be compiled using the flag
-Kpic
in the compiler settings as well as in the linker flags.
Incoming search terms:
- ld so 1: R: fatal: relocation error: R_AMD64_32
- r_amd64_32
- jamie oliver fleisch pastete mit guinessbier
- jamie oliver fleischpastete
- lddstub: fatal: relocation error solaris R_AMD64_32
- mysql r_amd64_32
- porting zlib
- r: fatal: relocation error: r_amd64_32
- relocation error: r_amd64_32 zlib
- r_amd64_32 relocation error
