EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB483485: "Failed to dynamically load library 'libM8TeraWrp.so'" error appears when executing a Report or publishing an Intelligent Cube with Teradata Parallel Transporter API (TPT API) in MicroStrategy Developer


Yang Huang

Quality Engineer, Principal • MicroStrategy


This knowledge base article describes an issue that may occur when trying to execute a Report or publishing an Intelligent Cube with Teradata Parallel Transporter API (TPT API) in MicroStrategy Developer.

Content
SYMPTOM:
After following knowledge base article to integrate Teradata Parallel Transporter API (TPTAPI) into Strategy the error "Failed to dynamically load library 'libM8TeraWrp.so'" is still shown when execute a report or publishing an Intelligent Cube in Strategy Developer.
 
Error: SQL Generation Complete
QueryEngine encountered error: TeradataWrpLibrary::Load failed. Teradata TPT API encountered an error.
Error type: TeradataWrapper Error. Failed to dynamically load library 'libM8TeraWrp.so'. (Server message 305419896) libpxicu.so: cannot open shared object file: No such file or directory (UNIX Dynamic Linking message -1)..
Error in Process method of Component: QueryEngineServer, Project BI Reporting and Analytics - UAT, Job 9227, Error Code= -2147212544.
CAUSE:
Failed to load ‘libM8TeraWrp.so’ due to its dependent libraries ‘libpxicu.so’ and ‘libtelapi.so’ cannot be found in the library search path.
ACTION:
1.   Remove ‘libpxicu.so’ and ‘libtelapi.so’ under / [MSTR installation path] /lib if exist.
2.   Appended the below command to <your Strategy I-Server installation path>/env/ODBC.sh, for example: /opt/mstr/MicroStrategy/env/ODBC.sh and set correct value of TPT_LIBRARY_PATH according to your TTU installation path.
# The Green Highlights are the changes that we have made in the profile after installing TTU
# TPT API configuration for Teradata
# For TTU 15.00, TTU 15.10, TTU 16.10 and TTU 16.20
# Please set correct value of TPT_LIBRARY_PATH according to your TTU installation path, for example:
# TPT_LIBRARY_PATH='/opt/teradata/client/15.00/tbuild'
# TPT_LIBRARY_PATH='/opt/teradata/client/15.10'
# TPT_LIBRARY_PATH='/opt/teradata/client/16.10'
# TPT_LIBRARY_PATH='/opt/teradata/client/16.20'

 TPT_LIBRARY_PATH='<TPT_LIBRARY_PATH>'

 if [ "${TPT_LIBRARY_PATH}" != '<TPT_LIBRARY_PATH>' ]; then

    mstr_append_path LD_LIBRARY_PATH "${TPT_LIBRARY_PATH:?}/lib64"
    export LD_LIBRARY_PATH
    export THREADONOFF=1

     NLSPATH=${TPT_LIBRARY_PATH}/msg/%N:${TPT_LIBRARY_PATH}/msg/opermsgs.cat
    export NLSPATH
 fi

 
Note:
Set THREADONOFF to 1 means to run the Teradata PT multi-threaded application.
3.    Restart Strategy service to take changes into effect.
 


Comment

0 comments

Details

Knowledge Article

Published:

July 12, 2019

Last Updated:

July 12, 2019