Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Shared Library libstdc++.so.6 - GLIBCXX_3.4.20 - missmatch

userCIPSep 22 2016 — edited Sep 27 2016

Hello,

we start to compile our software with dev. studio 12.5 (not updates installed) installed on standard solaris 11.3 environment (SRU 11). Required C++ symbols in /usr/lib directory are not installed / located with required version (/usr/lib/libstdc++.so.6.0.18 is installed). libstdc++.so.6.0.21 is needed for new compiiler !

Our workarround was to modify to link with ld_library_path included with: /opt/developerstudio12.5/lib/compilers/CC-gcc/lib.

This let us bind our programs successful. Some programs runs but others fail with:

example:

# /Entw/SOLARIS125C14/allg/mod/main/A2ps_pagefont

ld.so.1: A2ps_pagefont: fatal: libstdc++.so.6: version 'GLIBCXX_3.4.20' not found (required by file /net/is004/mount_Entw/SOLARIS125C14/allg/mod/main/A2ps_pagefont)

ld.so.1: A2ps_pagefont: fatal: libstdc++.so.6: open failed: No such file or directory

Killed

why is the new library not installed to /usr/lib and GLIBCXX_3.4.20 is not supported in this library ? do we include library path of new developer studio for future program buidling and usage. OS and developer studio updates are more risky...!

We dont want to include library path to ld_library_path variable for all programs by default !

many thanks,

Christian

This post has been answered by Steve.Clamage-Oracle on Sep 26 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 25 2016
Added on Sep 22 2016
8 comments
3,479 views