Re: UnsatisfiedLinkError (gxx and gcj) with JNI and C++ but not C

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 27 February 2011 18:09, Jonathan Wakely wrote:
> On 27 February 2011 17:35, Andrew Richardson wrote:
>> Good observation. I added '-l stdc++' to the ld call. I also had to add a symlink in /usr/lib (it only contained libstdc++.so.6 and libstdc++.so.6.14. I added libstdc++.so --> libstdc++.so.6)
>
> The missing symlink implies you haven't installed the right packages,
> on my Fedora system it would be provided by libstdc++-devel, which
> also installs libsupc++.a and other C++ runtime files.
>

I don't know which library provides the gcj_personality routines, but
you might want the equivalent of libgcj-devel as well


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux