Skip to Content
0

Does the SAP Data Hub Adapter not work on CentOS?

Nov 18, 2017 at 01:43 PM

164

avatar image

Dear experts,

I am trying to install the SAP Data Hub Adapter on a Hortonworks Data Platform 2.6 image based on CentOS 7. The underlying SAP HANA Data Provisioning Agent seems to have installed fine, since the SAP Data Hub Adapter installer finds it, but then fails because of missing GLIBCXX_3.4.22:

Checking system configuration.. Found DPAgent installations: path: /usr/sap/dataprovagent version:2.2.1.0.0 user:dpagent SAP Data Hub SDI Adapter installation kit detected. SAP HANA Lifecycle Management - bdhagent Installation 1.0.18.00 *************************************************************** Checking installation... Preparing package 'SAP Data Hub SDI Adapter'... Preparing package 'Installer'... Installing SAP Data Hub SDI Adapter to /usr/sap/dataprovagent/bdh... ./DPAgentService: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by ./DPAgentService) ./DPAgentService: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /usr/sap/dataprovagent/bin/libhdbbasis.so) ./DPAgentService: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /usr/sap/dataprovagent/bin/libhdblttbase.so) ./DPAgentService: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /usr/sap/dataprovagent/bin/libhdbversion.so) Installation done Log file written to '/var/tmp/hdb_bdhagent_2017-11-18_11.55.51_17056/hdbinst_bdhagent.log' on host 'sandbox.hortonworks.com'.

Any help or suggestions for further investigation would be very much appreciated.

Best regards

Frank

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Bartosz Jarkowski Nov 18, 2017 at 04:21 PM
0

Hello Frank,

Please execute following command and paste the results here:

strings /usr/lib64/libstdc++.so.6 | grep GLIBCXX

Also, please ensure you have the gcc and libstdc++6 libraries installed.

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Thank you Bartosz,

It seems that HDP 2.6 runs on Centos 6.9 with gcc 4.4.7 and respective libstdc++ 4.4.7.

There is the option to install a separate development environment, that bumpes gcc up to 6.3.1, but issue remains.

When I run strings /usr/lib64/libstdc++.so.6 | grep GLIBCXX I get this result which seems to suggest that for GLIBCXX_3.4.22 I would need a newer libstdc++, but I could not find out how to do that:

GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_FORCE_NEW
GLIBCXX_DEBUG_MESSAGE_LENGTH

Many thank in advance for any further advice or ideas.

Best regards

Frank

0

Have you checked if there is any update available for those libraries using yum?

If you can’t find any, then it might just mean that the libraries in version required by SAP Data Hub are not yet released by CentOS team.

Best regards

Bartosz

0