0
I am trying to replace manually a library for freeradius.
On a one hand I installed freeradius with an apt-get install. There was a library "libfoo-2.0.4.so" (let's call it the lib(apt)).
On the other hand I used the sources (from apt-get source) to modify the library "libfoo-2.0.4.so" (let's call it the lib(src)). The i compiled the sources (./configure, make) to retrieve this modified lib(src). (The lib works fine when i test it).
When I try to manually replace lib(apt) by lib(src) the freeradius segfaults during the call of that library.
So it seems that the libraries are not compatible.
Could it be because of compilation issues? (precompiled version versus local compilation)
Any ideas?
Thanks!
I wonder if some build option in the package install is missing in the source-built version – Journeyman Geek – 2013-04-15T09:09:28.567
Might be something like that, yes. Is there a way to know which build options were used for the precompiled version? – yco – 2013-04-15T09:13:04.357
I have no clue, would be an interesting thing to ask though! – Journeyman Geek – 2013-04-15T13:58:19.653
@JourneymanGeek You should post your answer so i can mark it a the valid answer. – yco – 2013-04-16T08:07:18.277