trouble setting up build environment on new linux system
erik.joelsson at oracle.com
Wed May 4 06:19:45 UTC 2016
On 2016-05-03 20:58, Steve Drach wrote:
>> Have you tried jib to set up your build environment?
> No I haven’t tried it.
>> bash ./common/bin/jib.sh configure
> But it works perfectly! Thanks a lot.
Good to hear! If you want to get your local toolchain working too, I
believe you are missing the dev/devel package for libstdc++. I'm not
sure of the exact name. It normally provides a soft link from lib*.so to
lib*.so.X which is needed when building.
>> On 2016-05-03 20:03, Steve Drach wrote:
>>> My linux system was upgraded to Oracle Linux 7u1 from Linux 6u5. I manually installed, using yum, jdk1.8.0_92, ran configure with the following options,
>>> --disable-warnings-as-errors --with-boot-jdk=/usr/java/jdk1.8.0_92 and started a make of jdk. For the most part it worked fine until it got here:
>>> Building JVM variant 'server' with features 'all-gcs cds closed-src commercial-features compiler1 compiler2 fprof jni-check jvmci jvmti management nmt services trace vm-structs'
>>> /bin/ld: cannot find -lstdc++
>>> I see these libstdc++ on my system
>>> $ ls /usr/lib/libstdc++.so.*
>>> /usr/lib/libstdc++.so.5 /usr/lib/libstdc++.so.6
>>> /usr/lib/libstdc++.so.5.0.7 /usr/lib/libstdc++.so.6.0.19
>>> Do I need some other versions? I can’t seem to find a configure option to point to those libs, but they seem to be in a pretty standard place.
>>> Any clues, or even better, a cheat sheet for OL 7.1?
More information about the build-dev