Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » "libxerces-c.so.24: file too short" under Debian !?
"libxerces-c.so.24: file too short" under Debian !? [message #48768] Mon, 02 January 2006 10:06 Go to next message
Eclipse User
Originally posted by: nospam.home.de

Hi

I get this error, when trying to start RAServer:

----------
menge@ls10pc13:/opt/TPTP/bin$ RAStart.sh
Starting Agent Controller
RAServer: error while loading shared libraries: ../lib/libxerces-c.so.24:
file too short
RAServer failed to start
----------

Im a first-timer in both TPTP and profiling in general.

My System:
Debian Etch (testing),
sun-java 1.4.2-10

I also tried the "CarModel"-Tutorial but when starting the profiling, it
dies with: "Error occurred during initialization of VM". I guess this is
because RAServer isn't running, right!?
(Using Eclipse 3.1.1 with TPTP 4.1)

I have followed all the (fairly complicated) instructions to install and
configure RAServer and TPTP. Only the requirement to have
"libstdc++-libc6.2-2.so.3" in my LD_LIBRARY_PATH isn't fulfilled, since i
cant find that in my debian-repsoitories.

Any help would greatly be appreiciated.

Thanks in advance, Sebastian.
Re: "libxerces-c.so.24: file too short" under Debian !? [message #48861 is a reply to message #48768] Tue, 03 January 2006 09:02 Go to previous messageGo to next message
Samson Wai is currently offline Samson Wai
Messages: 46
Registered: July 2009
Member
Hi Sebastian,

The library "libstdc++-libc6.2-2.so.3" is a requirement for the Apache
Xerces-C library "libxerces-c.so" shipped under the Agent Controller's "lib"
directory.

bash-2.05$ ldd -r libxerces-c.so
libpthread.so.0 => /lib/i686/libpthread.so.0 (0x4045d000)
libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3
(0x4048e000)
libm.so.6 => /lib/i686/libm.so.6 (0x404d2000)
libc.so.6 => /lib/i686/libc.so.6 (0x404f5000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
bash-2.05$

We build the Xerces-C library using this level of C++ library to make sure
the Agent Controller can support older Linux kernel 2.4. Newer Linunx kernel
should have a compatibility RPM package which includes older C++ runtime
libraries.

The Debian site has the library available for download:
http://packages.debian.org/stable/libs/libstdc++2.10-glibc2. 2

Installing the package will resolve the problem.


Samson


"Sebastian Menge" <nospam@home.de> wrote in message
news:pan.2006.01.02.15.06.15.482382@home.de...
> Hi
>
> I get this error, when trying to start RAServer:
>
> ----------
> menge@ls10pc13:/opt/TPTP/bin$ RAStart.sh
> Starting Agent Controller
> RAServer: error while loading shared libraries: ../lib/libxerces-c.so.24:
> file too short
> RAServer failed to start
> ----------
>
> Im a first-timer in both TPTP and profiling in general.
>
> My System:
> Debian Etch (testing),
> sun-java 1.4.2-10
>
> I also tried the "CarModel"-Tutorial but when starting the profiling, it
> dies with: "Error occurred during initialization of VM". I guess this is
> because RAServer isn't running, right!?
> (Using Eclipse 3.1.1 with TPTP 4.1)
>
> I have followed all the (fairly complicated) instructions to install and
> configure RAServer and TPTP. Only the requirement to have
> "libstdc++-libc6.2-2.so.3" in my LD_LIBRARY_PATH isn't fulfilled, since i
> cant find that in my debian-repsoitories.
>
> Any help would greatly be appreiciated.
>
> Thanks in advance, Sebastian.
Re: "libxerces-c.so.24: file too short" under Debian !? [message #56015 is a reply to message #48861] Thu, 02 March 2006 04:42 Go to previous messageGo to next message
Andreas Heinecke is currently offline Andreas Heinecke
Messages: 21
Registered: July 2009
Junior Member
Hi,

on my notebook which is running on debian, I've got the same problem. My
other computer which is running on Fedora Core 4 haven't got this
problem. Everything works fine there. the library
libstdc++-libc6.2-2.so.3 is there it is located in
/usr/lib/libstdc++-libc6.2-2.so.3 but i doesn't work.

Can you help me?

Andreas

Samson Wai schrieb:
> Hi Sebastian,
>
> The library "libstdc++-libc6.2-2.so.3" is a requirement for the Apache
> Xerces-C library "libxerces-c.so" shipped under the Agent Controller's "lib"
> directory.
>
> bash-2.05$ ldd -r libxerces-c.so
> libpthread.so.0 => /lib/i686/libpthread.so.0 (0x4045d000)
> libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3
> (0x4048e000)
> libm.so.6 => /lib/i686/libm.so.6 (0x404d2000)
> libc.so.6 => /lib/i686/libc.so.6 (0x404f5000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
> bash-2.05$
>
> We build the Xerces-C library using this level of C++ library to make sure
> the Agent Controller can support older Linux kernel 2.4. Newer Linunx kernel
> should have a compatibility RPM package which includes older C++ runtime
> libraries.
>
> The Debian site has the library available for download:
> http://packages.debian.org/stable/libs/libstdc++2.10-glibc2. 2
>
> Installing the package will resolve the problem.
>
>
> Samson
>
>
> "Sebastian Menge" <nospam@home.de> wrote in message
> news:pan.2006.01.02.15.06.15.482382@home.de...
>> Hi
>>
>> I get this error, when trying to start RAServer:
>>
>> ----------
>> menge@ls10pc13:/opt/TPTP/bin$ RAStart.sh
>> Starting Agent Controller
>> RAServer: error while loading shared libraries: ../lib/libxerces-c.so.24:
>> file too short
>> RAServer failed to start
>> ----------
>>
>> Im a first-timer in both TPTP and profiling in general.
>>
>> My System:
>> Debian Etch (testing),
>> sun-java 1.4.2-10
>>
>> I also tried the "CarModel"-Tutorial but when starting the profiling, it
>> dies with: "Error occurred during initialization of VM". I guess this is
>> because RAServer isn't running, right!?
>> (Using Eclipse 3.1.1 with TPTP 4.1)
>>
>> I have followed all the (fairly complicated) instructions to install and
>> configure RAServer and TPTP. Only the requirement to have
>> "libstdc++-libc6.2-2.so.3" in my LD_LIBRARY_PATH isn't fulfilled, since i
>> cant find that in my debian-repsoitories.
>>
>> Any help would greatly be appreiciated.
>>
>> Thanks in advance, Sebastian.
>
>
Re: "libxerces-c.so.24: file too short" under Debian !? [message #56224 is a reply to message #56015] Thu, 02 March 2006 12:32 Go to previous messageGo to next message
Thayaparan Shanmugaratnam is currently offline Thayaparan Shanmugaratnam
Messages: 12
Registered: July 2009
Junior Member
Hi Andreas,

What error message is displayed on your console when you issue RAStart.sh?
I had the same problem as you did with Debian a couple of days ago. I was
able to fix this problem by ungrading my entire debian install using
dselect.

Regards

Thay

Andreas Heinecke wrote:

> Hi,

> on my notebook which is running on debian, I've got the same problem. My
> other computer which is running on Fedora Core 4 haven't got this
> problem. Everything works fine there. the library
> libstdc++-libc6.2-2.so.3 is there it is located in
> /usr/lib/libstdc++-libc6.2-2.so.3 but i doesn't work.

> Can you help me?

> Andreas
Re: "libxerces-c.so.24: file too short" under Debian !? [message #56281 is a reply to message #56224] Sun, 05 March 2006 05:43 Go to previous messageGo to next message
Andreas Heinecke is currently offline Andreas Heinecke
Messages: 21
Registered: July 2009
Junior Member
Hi Thay,

the following message is shown:
Starting Agent Controller
RAServer: error while loading shared libraries: ../lib/libxerces-c.so.24:
file too short
RAServer failed to start

Maybe you can tell me what you have done to fix this problem.

best regards,

Andreas

Thay Shanmugaratnam schrieb:
> Hi Andreas,
> What error message is displayed on your console when you issue RAStart.sh?
> I had the same problem as you did with Debian a couple of days ago. I
> was able to fix this problem by ungrading my entire debian install using
> dselect.
>
> Regards
>
> Thay
>
> Andreas Heinecke wrote:
>
>> Hi,
>
>> on my notebook which is running on debian, I've got the same problem. My
>> other computer which is running on Fedora Core 4 haven't got this
>> problem. Everything works fine there. the library
>> libstdc++-libc6.2-2.so.3 is there it is located in
>> /usr/lib/libstdc++-libc6.2-2.so.3 but i doesn't work.
>
>> Can you help me?
>
>> Andreas
>
>
>
Re: "libxerces-c.so.24: file too short" under Debian !? [message #56381 is a reply to message #56281] Mon, 06 March 2006 11:23 Go to previous message
Thayaparan Shanmugaratnam is currently offline Thayaparan Shanmugaratnam
Messages: 12
Registered: July 2009
Junior Member
Hi,

I followed Samson's instructions from earlier regarding the installation
of the new library files. Once the library files were installed, I
re-intalled the RAC and I did not get the error message again. So I would
suggest first make sure you have the updated library files, then
re-install the RAC and your problem should be resolved.

Regards

Thay


Hi Sebastian,

The library "libstdc++-libc6.2-2.so.3" is a requirement for the Apache
Xerces-C library "libxerces-c.so" shipped under the Agent Controller's
"lib"
directory.

bash-2.05$ ldd -r libxerces-c.so
libpthread.so.0 => /lib/i686/libpthread.so.0 (0x4045d000)
libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3
(0x4048e000)
libm.so.6 => /lib/i686/libm.so.6 (0x404d2000)
libc.so.6 => /lib/i686/libc.so.6 (0x404f5000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
bash-2.05$

We build the Xerces-C library using this level of C++ library to make sure
the Agent Controller can support older Linux kernel 2.4. Newer Linunx
kernel
should have a compatibility RPM package which includes older C++ runtime
libraries.

The Debian site has the library available for download:
http://packages.debian.org/stable/libs/libstdc++2.10-glibc2. 2

Installing the package will resolve the problem.


Samson
Previous Topic:RAServer log file
Next Topic:HTTP Recording/ Doku
Goto Forum:
  


Current Time: Fri Apr 18 04:07:38 EDT 2014

Powered by FUDForum. Page generated in 0.01791 seconds