$ java -agentpath:./libyjpagent.so=help
Error occurred during initialization of VM
Could not find agent library ./libyjpagent.so in absolute path, with error: /usr/lib/libstdc++.so.6: version `CXXABI_ARM_1.3.3' not found (required by ./libyjpagent.so)
Which version is required for the agent on the ARMv5 platform? I am running OpenEmbedded Linux with Oracle Java 1.7.0_60.
Yes, I did use the agent from the yjp-2014-build-14104/bin/linux-armv5-sf directory.
I don't have ldd available on the embedded arm5 device.
The output of the other two:
$ /lib/libc.so.6
GNU C Library stable release version 2.9, by Roland McGrath et al.
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.3.3.
Compiled on a Linux >>2.6.32-5-amd64<< system on 2012-11-08.
Available extensions:
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
Native POSIX Threads Library by Ulrich Drepper et al
Support for some architectures added on, not maintained in glibc core.
BIND-8.2.3-T5B
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
Thanks for the info.
Could you please also provide the file /usr/lib/libstdc++.so.6 by either posting a download URL in the forum or sending the file attached to [email protected]
Anyway, this seems a version mismatch. The agent is specially compiled with a relatively old GCC to ensure the resulted .so would run on older systems too (sorry, I can't tell exact specs now because I don't have access to the build environment at the moment, I'll post an update later).
If you have a newer version of libstdc++.so.6 than the one in /user/lib you may try adding its directory path to LD_LIBRARY_PATH.
An update: the agent in linux-armv5-sf is compiled with GCC 4.3.2, your /lib/libc.so.6 - with a newer version 4.3.3, and it is good for compatibility. Code compiled with older versions should run on newer systems.
I did manage to get the agent working with a newer libstdc++.
I will send both the working (libstdc++.so.6.0.14) and not working (libstdc++.so.6.0.10) versions to the support e-mail address.
Thank you for your help!