comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » RedHat-6.0 with Glibc2.1 breaks IDL-5.2
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
RedHat-6.0 with Glibc2.1 breaks IDL-5.2 [message #15325] Fri, 30 April 1999 00:00 Go to next message
NewsMan is currently offline  NewsMan
Messages: 2
Registered: April 1999
Junior Member
The new RedHat-6.0 Linux with glibc-2.1 breaks IDL-5.2. I got the
following error when I invoke IDL.

/usr/local/rsi/idl_5.2/bin/bin.linux/idl: error in loading shared
libraries: /usr/local/rsi/idl_5.2/bin/bin.linux/libidl.so.5.0: undefined
symbol: __setfpucw

Dear Staff Members at RSI,
How long should I wait till you release a patch? Apparently, the RedHat

distribution has the compatibility rpm called
compat-glibc-5.2-2.0.7.1.i386.rpm.
But, I don't know how to use it for IDL. Doea anybody know about it?
Common sense tells me that commercial software vendors like IDL should
package all the static libraries instead of shared libraries. Oh,
well...

I am going back to RedHat 5.2....

Thank you.

G. Hugh Song

--
Newsman

PS: Reply to ghsong "at" kjist "dot" ac "dot" kr, if you really have to.
Re: RedHat-6.0 with Glibc2.1 breaks IDL-5.2 [message #15334 is a reply to message #15325] Thu, 13 May 1999 00:00 Go to previous messageGo to next message
Jeremy Sanders is currently offline  Jeremy Sanders
Messages: 4
Registered: May 1999
Junior Member
John P Grimes wrote:

> I tried this unfortunately to no avail. Where did you get the compatibility
> files. I certianly have /lib/ld-2.0.7 installed.
> this is the error I get
> /usr/local/rsi/idl_5.2/bin/bin.linux/idlde: error in loading shared libraries
> /lib/libc.so.6: undefined symbol: _dl_initial_searchlist

I didn't mean you should copy old versions to /lib/ld-2.0.7. The check in
the script checks to see which version of RedHat you're using.

Just install:
compat-glibc-5.2-2.0.7.1.i386.rpm
compat-libs-5.2-1.i386.rpm
compat-binutils-5.2-2.9.1.0.23.1.i386.rpm

and change the idl script (or create a new one).

Jeremy

--
Jeremy Sanders jss@ast.cam.ac.uk Pembroke College, Cambridge. CB2 1RF
(01223) 337511 Institute of Astronomy, Madingley Road, Cambridge. CB3 0HA
Re: RedHat-6.0 with Glibc2.1 breaks IDL-5.2 [message #15337 is a reply to message #15325] Wed, 12 May 1999 00:00 Go to previous messageGo to next message
John P Grimes is currently offline  John P Grimes
Messages: 2
Registered: May 1999
Junior Member
Hi,
I tried this unfortunately to no avail. Where did you get the compatibility
files. I certianly have /lib/ld-2.0.7 installed.
this is the error I get
/usr/local/rsi/idl_5.2/bin/bin.linux/idlde: error in loading shared libraries
/lib/libc.so.6: undefined symbol: _dl_initial_searchlist

thanks,
John




Jeremy Sanders wrote:

> lrnittler@my-dejanews.com wrote:
>
>> OK, I also am having trouble getting IDL to work with redhat 6.0. I tried the
>> above approach after copying libc-2.0.7.so from /usr/i386-glibc20-linux/lib/
>> (where the compat files are put) to /lib, but even with the 2.0.7 library I
>> get the same error message. Any ideas?
>
> We managed to get IDL to work by installing the compatability libraries. I
> then modified the idl script (the one which runs the binary) at the end to
> read:
>
> app=$IDL_DIR/bin/bin.$OS$OSVER$ARCH/$APPLICATION
>
> if [ -e /lib/ld-2.0.7.so ] ; then
> exec $app $* $APP_ARGS
> else
> libdir=/usr/i386-glibc20-linux/lib
>
> export LD_LIBRARY_PATH="${libdir}:${LD_LIBRARY_PATH}"
> exec ${libdir}/ld-2.0.7.so $app $* $APP_ARGS
> fi
>
> This seems to work, although we haven't tried running programs with external
> shared libraries.
>
> Jeremy Sanders
>
> --
> Jeremy Sanders jss@ast.cam.ac.uk Pembroke College, Cambridge. CB2 1RF
> (01223) 337511 Institute of Astronomy, Madingley Road, Cambridge. CB3 0HA
Re: RedHat-6.0 with Glibc2.1 breaks IDL-5.2 [message #15376 is a reply to message #15325] Mon, 10 May 1999 00:00 Go to previous messageGo to next message
Jeremy Sanders is currently offline  Jeremy Sanders
Messages: 4
Registered: May 1999
Junior Member
lrnittler@my-dejanews.com wrote:

> OK, I also am having trouble getting IDL to work with redhat 6.0. I tried the
> above approach after copying libc-2.0.7.so from /usr/i386-glibc20-linux/lib/
> (where the compat files are put) to /lib, but even with the 2.0.7 library I
> get the same error message. Any ideas?

We managed to get IDL to work by installing the compatability libraries. I
then modified the idl script (the one which runs the binary) at the end to
read:

app=$IDL_DIR/bin/bin.$OS$OSVER$ARCH/$APPLICATION

if [ -e /lib/ld-2.0.7.so ] ; then
exec $app $* $APP_ARGS
else
libdir=/usr/i386-glibc20-linux/lib

export LD_LIBRARY_PATH="${libdir}:${LD_LIBRARY_PATH}"
exec ${libdir}/ld-2.0.7.so $app $* $APP_ARGS
fi

This seems to work, although we haven't tried running programs with external
shared libraries.

Jeremy Sanders

--
Jeremy Sanders jss@ast.cam.ac.uk Pembroke College, Cambridge. CB2 1RF
(01223) 337511 Institute of Astronomy, Madingley Road, Cambridge. CB3 0HA
Re: RedHat-6.0 with Glibc2.1 breaks IDL-5.2 [message #15388 is a reply to message #15325] Sun, 16 May 1999 00:00 Go to previous messageGo to next message
John P Grimes is currently offline  John P Grimes
Messages: 2
Registered: May 1999
Junior Member
Hi,
First thank you jeremy for your help. it definetely helped. What was actually
causing the problem was that /lib/ld-2.0.7.so existed (redhat upgrade left it there)
but libc-2.1.1.so was also in the same directory. So it was using incompatible
version of the libraries. So I just deleted ld-2.0.7 from the directory and now it
is happily loading from the /usr/i386-glibc20-linux/lib directory.
As a side note before running the idl license manager you have to preload
/usr/i486-linux-libc5/lib/ (or whereever you have the libc 5.0 libraries). When is
idl and the license manager going to be updated. The license manager is archaic to
run on libc 5.0 and wouldn't it be easy for idl to support more linux systems? I
"think" it would be worth it.
thanks
John
Re: RedHat-6.0 with Glibc2.1 breaks IDL-5.2 [message #15449 is a reply to message #15325] Wed, 19 May 1999 00:00 Go to previous message
NewsMan is currently offline  NewsMan
Messages: 2
Registered: April 1999
Junior Member
John P Grimes wrote:

> Hi,
> First thank you jeremy for your help. it definetely helped. What was actually
> causing the problem was that /lib/ld-2.0.7.so existed (redhat upgrade left it there)
> but libc-2.1.1.so was also in the same directory. So it was using incompatible
> version of the libraries. So I just deleted ld-2.0.7 from the directory and now it
> is happily loading from the /usr/i386-glibc20-linux/lib directory.
> As a side note before running the idl license manager you have to preload
> /usr/i486-linux-libc5/lib/ (or whereever you have the libc 5.0 libraries). When is
> idl and the license manager going to be updated. The license manager is archaic to
> run on libc 5.0 and wouldn't it be easy for idl to support more linux systems? I
> "think" it would be worth it.
> thanks
> John

I thought that all the compatibility problem has been solved by users.
In my case, one problem was solved following Jeremy's patch. But when I
lauched my application, I got:
/usr/local/rsi/idl_5.2/bin/bin.linux/idl: error in loading shared libraries
/usr/X11R6/lib/libX11.so.6: undefined symbol: __bzero

So, have you guys solved all the compatibility problem as much as you
want?

Please help.

Thank you

G. Hugh Song

--
Newsman

PS: Reply to ghsong "at" kjist "dot" ac "dot" kr, if you really have to.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: krig2d.pro question
Next Topic: IDL and MPI

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 10:16:00 PDT 2025

Total time taken to generate the page: 2.00120 seconds