It seems to not be possible to build a shared lib from relocable objects with R_X86_64_PC32
references and I don't understand why.
These references are IP relative and so are position independent. So why ld tell me this is not the case and I have to use -fPIC
which generate a GOT reference ?
relocation R_X86_64_PC32 against symbol `infolib' can not be used when making a shared object; recompile with -fPIC