Closed-source Apache module "webgate.so" and LD_ASSUME_KERNEL=2.4.19 (LinuxThreads)

Asked by ashayh

Hi,

I have this closed source Apache module called "webgate.so" that I need to get working with a standard Edgy install. The Apache version is 2.0.55-4ubuntu4.

This module is part of Oracle's COREid system. I realize this is a 3rd product that you may never even have heard of (or like to support). However, this is working perfectly on a Debian Sarge 3.1 r3 standard install.

On Deb 3.1, I have to modify the init.d script for apache2. I modify the ENV variable to read:

ENV="env -i LANG=C PATH=/usr/local/bin:/usr/bin:/bin LD_ASSUME_KERNEL=2.4.19"

I just add the LD_ASSUME_KERNEL=2.4.19 part.

When I do the same on Ubuntu Edgy, I get the error:

/bin/sh: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

This library does exist, so I suppose its got something to do with the different Threading libraries on Deb 3.1 and Edgy. The Apache version on Deb is 2.0.54-5sarge, so I don't think that's a problem.

So basically I need to get libraries that can handle the LD_ASSUME_KERNEL=2.4.19 over ride to support LinuxThreads (threading model before NPTL)

I know LinuxThreads support was removed from Ubuntu a while ago.

But is there ANY way to get this working on Edgy? Any help is appreciated.

Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Christian Reis (kiko) said :
#1

Hmmm. I don't know, but:

  a) Isn't Sarge shipped with a 2.4 kernel? Edgy uses 2.6, you know.
  b) From the sound of it it seems like your module was compiled against an incompatible (old) version of glibc.

Is there no newer version of this module available?

What does 'ldd -r /path/to/module.so' say?

There is a set of kernel-image-2.4.27 packages you might want to try, but I believe the fact that this binary is linked to an incomatible glibc version is a showstopper unless you manage to install an additional compat version of glibc.

Revision history for this message
ashayh (ashay-humane) said :
#2

Thats exactly what I want to know, what compat library should I install ?

I tried getting the 2.4.27 kernel for Edgy, but that did not help.

Thanks for the reply

Can you help with this problem?

Provide an answer of your own, or ask ashayh for more information if necessary.

To post a message you must log in.