LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   sun one glibc (https://www.linuxquestions.org/questions/linux-software-2/sun-one-glibc-154961/)

ignuu2 03-08-2004 08:50 AM

sun one glibc
 
Good morning everyone. I am trying to install sun one, formerly iplanet on a redhat 9 machine. The problem is that glibc on redhat is incompatible with even the latest version of sun one webserver and although the server is installed it refuses to run, What I would like to do is download the source for the older sun compatible glibc compile it and have it sitting somewhere other than where it should be, ie where the current glibc lives. Once that's done I hope to tell sun one where to look for the older expected glibc without disturbing anything else. I have been reading up on ldconfig to see how I could go about doing this.

Does this sound like an isurmountable issue? If not does anyone have suggestions as to how I could do this?

Thanks

IgnuU2

plamping 01-26-2005 02:35 PM

Has anyone figured this out?

I have a similar situation, and I know it can be done because the previous SysAdmin did it. We have 2 machines (let's just call them T1 & T2). We had RedHat 7 installed on T1 and RedHat 8 installed on T2. Both machines had iPlanet 6.0 SP8 running.

We upgraded T1 to RedHat 9 and restored the /usr/iplanet/servers directory, then tried to start iplanet. Result:

./commit: relocation error: ../../lib/libnsres30.so: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
:confused:

I know that simply restoring the /usr/iplanet/servers directory was only a shortcut, but now it seems there is no guarantee that iPlanet will work if I install fresh off the CD.

:scratch:

__J 01-26-2005 02:45 PM

this problem occurs when the vendor program is linked with a glibc < 2.3. You could try building a lower version of glibc and installing it in something like /usr/local/glibc-compat (DO NOT make it link with your system libraries). you could then make a simple shell script to set the library path and launch your app from there.

EDIT: I should add that if you compile progs on this maching, you do not want to compile anything in the new environment ( the one you run you program out of ) but from a fresh console
(we don't want new programs linking against the older glibc version).


All times are GMT -5. The time now is 09:07 AM.