Stuart Henderson <s...@spacehopper.org> wrote:

> > aha: gajim is calling setproctitle via ctypes, which dlopen()'s libc.so
> > (without a specific version number). ld.so is picking the latest and
> > loading it, but libc.so.98.0 was already loaded, so we hit msyscall
> > error.
> 
> oh, it's not ld.so which is picking the latest version, it's python's
> ctypes code, which parses the output of "ldconfig -r" to decide.

That's just so ridiculous.  On all other operating systems that is not
neccessary, because they don't do versioning, so they only have one library.
That approach is wrong.

Does it work if this is modified to just ask for "libc.so"?

> I don't think there's anything we can sanely do in ld.so to work
> around this.

No, actually maybe we can.  It just isn't what the current ld.so diff was
trying to do.  It was more conservative.  It could perform more aggressive
remapping, but then we need a long test cycle to ensure there's no bad
effects.

Reply via email to