1 Reply Latest reply on Jun 25, 2019 5:44 AM by Robert Brunel

    Hyper SDK python on RHEL 7

    Hero W

      Hi Community,

       

      we are unable to run hyper SDK python on enterprise linux redhat 7

      The RHEL 7 gcc does not support glibcxx_3.4.20 or after

      error below:

       

      Caused by: java.lang.UnsatisfiedLinkError: Unable to load library 'TableauHyperExtract': /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found

       

      According to Troubleshooting with the Extract API 2.0 - Tableau it requires glibcxx_3.4.22 or newer

      but RHEL 7 currently does not support glibcxx_3.4.20 or newer, if i manual update libstdc library, it could break anything on the server that link into that lib.

       

      anyone has workaround for this?

      Is it possible if I do not modify libstdc from default system - /lib64/libstdc++.so.6

      And force tableau library to use a custom libstdc somewhere else on linux, for example, /usr/custom/libstdc++.so.6 ?

        • 1. Re: Hyper SDK python on RHEL 7
          Robert Brunel

          Hey Hero,

           

          The Exract API package comes with a libstdc++.so.6 under the lib64/tableausdk/ directory that should be suitable. You need too debug why, in your application, the dynamic linker chooses to load /lib64/libstdc++.so.6 instead, and instruct it to prefer the bundled one. One technique to do this is to set the DYLD_LIBRARY_PATH environment variable before executing your application. You'll find plenty of tutorials on that around the web.

           

          Cheers,

          Robert