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