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 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.


[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