Re: IDL problems with XML !! [message #43869] |
Thu, 05 May 2005 00:40 |
Antonio Santiago
Messages: 201 Registered: February 2004
|
Senior Member |
|
|
Antonio Santiago wrote:
> Hi,
> I have just installed IDL on my laptop with an Ubuntu (debian based)
> distribution.
> I had a problem with libstdc++ but I was resolve with a link (see this
> http://groups-beta.google.com/group/comp.lang.idl-pvwave/bro wse_frm/thread/c9df1db8851fb4b7/5729be364888e32e?q=libstdc%2 B%2B&rnum=2&hl=en#5729be364888e32e
> )
>
> Now the problem is here:
>
> 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.1/bin/bin.linux.x86/idl_xml.so
> /usr/local/rsi/idl_6.1/bin/bin.linux.x86/libxerces-c2_4_0.so .24:
> undefined symbol: cout
> % Error occurred at: DEMOOBJ__DEFINE
> % OBJ_NEW
> % DEMO
> % $MAIN$
> % Execution halted at: $MAIN$
> IDL>
>
> I dont know waht the problem is with libxerces.
> The file 'libxerces-c2_4_0.so.24' is a soft-link to the file
> 'libxerces-c2_4_0.so.24.0' in the same directory.
>
> Any idea?
>
> Antonio.
Well, this is an autor-reply :)
Finally I found the package needed to run idl and load correctly the XML
module.
I use Ubuntu (Debian based) distribution and the magic package (among
others) is:
libstdc++2.10-glibc2.2
Bye.
--
-----------------------------------------------------
Antonio Santiago P�rez
( email: santiago<<at>>grahi.upc.edu )
( www: http://www.grahi.upc.edu/santiago )
( www: http://asantiago.blogsite.org )
-----------------------------------------------------
GRAHI - Grup de Recerca Aplicada en Hidrometeorologia
Universitat Polit�cnica de Catalunya
-----------------------------------------------------
|
|
|
|
Re: IDL problems with XML !! [message #43879 is a reply to message #43871] |
Wed, 04 May 2005 15:48  |
Robert Barnett
Messages: 70 Registered: May 2004
|
Member |
|
|
Hi,
I've had the same problem for a while and threw it in the "too hard
basket". You don't just need libstdc++, you actually need libstdc++ as
it was packaged for mandrake and redhat. The distribution I use (gentoo) has a
compatibility package lib-compat - "Compatibility C++ and libc5 and
libc6 libraries for programs new and old". I recommend looking for an
equivalent package in your distribution.
If you can't find one then you need to install libstdc++ yourself.
I'm guessing that redhat/mandrake used libstdc++ for gcc 2.95.3 or
something close to that (Perhaps you can verify it with RSI).
You can get gcc from ftp://gcc.gnu.org/pub/gcc/releases/
Don't make the entire of gcc, just "make all-target-libstdc++".
Another option is to include the binaries themselves. There are numerous
versions floating around. For example:
> When migrating users from a Mandrake 6 box, we found that some C++
> binaries were broken due to our missing libstdc++-libc6.1-2.so.3.
> lib-compat doesn't provide this one, but it really should. creating
> symlinks to either of the other libstdc++-libc6*so's seemed to work,
> but I decided to go with the Mandrake binary for certainty (see the
> tarball)
> http://dev.gentoo.org/~eradicator/lib-compat-add.tar.bz2
As you can see, this is a general issue with migrating binaries from
redhat and mandrake.
Another thing to note is that there is a makefile in
/usr/local/rsi/idl_6.0/bin/bin.linux.x86
I wonder if it is possible to build objects like
libxerces-c1_7_0.so overselves so that we (and RSI) don't have to worry
about the compatibility libraries.
I can't really give a detailed way to solve this without knowing the
distribution. But I hope this post gives you a few options to get it
working.
--
Robbie Barnett
Sydney Australia
|
|
|
Re: IDL problems with XML !! [message #43893 is a reply to message #43879] |
Wed, 04 May 2005 07:07  |
Michael Wallace
Messages: 409 Registered: December 2003
|
Senior Member |
|
|
Antonio Santiago wrote:
> Hi,
> I have just installed IDL on my laptop with an Ubuntu (debian based)
> distribution.
> I had a problem with libstdc++ but I was resolve with a link (see this
> http://groups-beta.google.com/group/comp.lang.idl-pvwave/bro wse_frm/thread/c9df1db8851fb4b7/5729be364888e32e?q=libstdc%2 B%2B&rnum=2&hl=en#5729be364888e32e
> )
>
> Now the problem is here:
>
> 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.1/bin/bin.linux.x86/idl_xml.so
> /usr/local/rsi/idl_6.1/bin/bin.linux.x86/libxerces-c2_4_0.so .24:
> undefined symbol: cout
> % Error occurred at: DEMOOBJ__DEFINE
> % OBJ_NEW
> % DEMO
> % $MAIN$
> % Execution halted at: $MAIN$
> IDL>
>
> I dont know waht the problem is with libxerces.
> The file 'libxerces-c2_4_0.so.24' is a soft-link to the file
> 'libxerces-c2_4_0.so.24.0' in the same directory.
>
> Any idea?
>
> Antonio.
It looks like you still have a problem with C++. The undefined symbol
"cout" is a symbol which should exist in the core C++ libraries. I
don't know where to go from here. ????
-Mike
|
|
|
Re: IDL problems with XML !! [message #43922 is a reply to message #43893] |
Tue, 03 May 2005 16:10  |
Robert Barnett
Messages: 70 Registered: May 2004
|
Member |
|
|
What version of libstdc++ did you install?
On Tue, 03 May 2005 12:49:01 +0200
Antonio Santiago <d6522117@est.fib.upc.es> wrote:
> Hi,
> I have just installed IDL on my laptop with an Ubuntu (debian based)
> distribution.
> I had a problem with libstdc++ but I was resolve with a link (see this
> http://groups-beta.google.com/group/comp.lang.idl-pvwave/bro wse_frm/thread/c9df1db8851fb4b7/5729be364888e32e?q=libstdc%2 B%2B&rnum=2&hl=en#5729be364888e32e
> )
>
> Now the problem is here:
>
> 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.1/bin/bin.linux.x86/idl_xml.so
> /usr/local/rsi/idl_6.1/bin/bin.linux.x86/libxerces-c2_4_0.so .24:
> undefined symbol: cout
> % Error occurred at: DEMOOBJ__DEFINE
> % OBJ_NEW
> % DEMO
> % $MAIN$
> % Execution halted at: $MAIN$
> IDL>
>
> I dont know waht the problem is with libxerces.
> The file 'libxerces-c2_4_0.so.24' is a soft-link to the file
> 'libxerces-c2_4_0.so.24.0' in the same directory.
>
> Any idea?
>
> Antonio.
--
nrb@ Robbie Barnett
imag Research Assistant
wsahs Nuclear Medicine & Ultrasound
nsw Westmead Hospital
gov Sydney Australia
au +61 2 9845 7223
|
|
|