Re: Problems with IDL 6.0 on Red Hat Enterprise Linux [message #38649] |
Thu, 18 March 2004 09:54 |
Foldy Lajos
Messages: 268 Registered: October 2001
|
Senior Member |
|
|
On Thu, 18 Mar 2004, Liam Gumley wrote:
> Hey folks,
>
> We just installed IDL 6.0 on a Dell box running Red Hat Enterprise Linux
> (Intel 32-bit):
>
> $ uname -a
> Linux xxxx 2.4.21-9.0.1.ELsmp #1 SMP Mon Feb 9 22:26:51 EST 2004 i686 i686
> i386 GNU/Linux
>
> However I get the following error when I try and start the IDL demo:
>
> % Embedded IDL: Research Systems, Inc., IDL Demo.
> % Restored file: DEMO.
> % Error loading sharable executable.
> Symbol: IDL_Load, File =
> /usr/local/rsi/idl_6.0/bin/bin.linux.x86/idl_xmlsax.so
> libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or
> directory
> % Error occurred at: DEMOOBJ__DEFINE
> % OBJ_NEW
> % DEMO
> % $MAIN$
> % Execution halted at: $MAIN$
>
> Does anyone have any suggestions? I thought I'd try the group before I
> contact RSI.
>
> Cheers,
> Liam.
> Practical IDL Programming
> http://www.gumley.com/
>
Hi,
I don't use RHEL, but I guess the problem is that IDL was compiled against
a different standard C++ library. On SuSE 9.0, this problem is solved by a
'compatibility' RPM, which contains different versions of the standard C++
library. Probably RHEL has something similar. As a dirty trick, you can
try
ln -s /usr/lib/libstdc++.so.5 /usr/lib/libstdc++-libc6.2-2.so.3
regards,
lajos
|
|
|
Re: Problems with IDL 6.0 on Red Hat Enterprise Linux [message #38650 is a reply to message #38649] |
Thu, 18 March 2004 09:19  |
Liam Gumley
Messages: 473 Registered: November 1994
|
Senior Member |
|
|
Well, I should have done a bit more digging. Apparently when the default
shell is tcsh, you need to set LD_LIBRARY_PATH, e.g.
% setenv LD_LIBRARY_PATH /usr/lib
and the problem goes away.
Cheers,
Liam.
Practical IDL Programming
http://www.gumley.com/
"Liam Gumley" <pip_book@mailinator.com> wrote in message
news:c3ckbd$rcj$1@news.doit.wisc.edu...
> Hey folks,
>
> We just installed IDL 6.0 on a Dell box running Red Hat Enterprise Linux
> (Intel 32-bit):
>
> $ uname -a
> Linux xxxx 2.4.21-9.0.1.ELsmp #1 SMP Mon Feb 9 22:26:51 EST 2004 i686 i686
> i386 GNU/Linux
>
> However I get the following error when I try and start the IDL demo:
>
> % Embedded IDL: Research Systems, Inc., IDL Demo.
> % Restored file: DEMO.
> % Error loading sharable executable.
> Symbol: IDL_Load, File =
> /usr/local/rsi/idl_6.0/bin/bin.linux.x86/idl_xmlsax.so
> libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file
or
> directory
> % Error occurred at: DEMOOBJ__DEFINE
> % OBJ_NEW
> % DEMO
> % $MAIN$
> % Execution halted at: $MAIN$
>
> Does anyone have any suggestions? I thought I'd try the group before I
> contact RSI.
>
> Cheers,
> Liam.
> Practical IDL Programming
> http://www.gumley.com/
>
>
|
|
|
Re: Problems with IDL 6.0 on Red Hat Enterprise Linux [message #38651 is a reply to message #38650] |
Thu, 18 March 2004 09:38  |
Nigel Wade
Messages: 286 Registered: March 1998
|
Senior Member |
|
|
Liam Gumley wrote:
> Hey folks,
>
> We just installed IDL 6.0 on a Dell box running Red Hat Enterprise Linux
> (Intel 32-bit):
>
> $ uname -a
> Linux xxxx 2.4.21-9.0.1.ELsmp #1 SMP Mon Feb 9 22:26:51 EST 2004 i686 i686
> i386 GNU/Linux
>
> However I get the following error when I try and start the IDL demo:
>
> % Embedded IDL: Research Systems, Inc., IDL Demo.
> % Restored file: DEMO.
> % Error loading sharable executable.
> Symbol: IDL_Load, File =
> /usr/local/rsi/idl_6.0/bin/bin.linux.x86/idl_xmlsax.so
> libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or
> directory
> % Error occurred at: DEMOOBJ__DEFINE
> % OBJ_NEW
> % DEMO
> % $MAIN$
> % Execution halted at: $MAIN$
>
> Does anyone have any suggestions? I thought I'd try the group before I
> contact RSI.
>
> Cheers,
> Liam.
> Practical IDL Programming
> http://www.gumley.com/
>
>
In RH9 and FC1 that library is in compat-libstdc++-7.3-2.96.118.i386.rpm
I don't have RHEL, but there's a good chance the RPM will be the same.
Not that the demo is likely to work, though...
--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
|
|
|