IBM Support

DataStage Teradata Connector cannot load library reporting ELF class : ELFCLASS32

Technote (troubleshooting)


Jobs on MPP environment fail to run reporting error:
Teradata_CC,0: Error loading connector library wrong ELF Class: ELFCLASS32 (CC_LoadedConnector::loadlibrary, file CC_ConnectorFactory.cpp, line 1,525)(pxbridge.C:7466)


On MPP environments the paths containing DataStage binaries as well as other Clients binaries are NFS mounted to the compute nodes. During the Teradata client installation process on the Conductor a symbolic link is created in /usr/lib64 to point to in the Teradata install home. If /usr/lib64 is not NFS mounted to the compute nodes this symbolic link will not exist on compute nodes.

This symbolic link only exists on the server where Teradata client was installed.

cd /usr/lib64

$ ls -l
lrwxrwxrwx 1 root root 43 2012-03-27 10:10 -> /opt/teradata/client/13.0/lib64/

Diagnosing the problem

After setting the environment variables for DataStage you can test the existence of required Teradata binaries by changing directory to /opt/IBM/InformationServer/DSComponents/bin and running the ldd command:

ldd (or for variant 8.1)

$ ldd => /opt/app/IBM/IS/Server/PXEngine/lib/ (0x00002b3385a12000) => /opt/app/IBM/IS/Server/PXEngine/lib/ (0x00002b3385d00000) => not found => /opt//teradata/client/13.0/tbuild/lib64/ (0x00002b338604b000) => /lib64/ (0x00002b33861bf000) => /lib64/ (0x00002b33863d8000) => /lib64/ (0x00002b33865f3000) => /opt/app/IBM/IS/ASBNode/apps/proxy/cpp/linux-all-x86_64/ (0x00002b33867f7000) => /lib64/ (0x00002b33869f6000) => /lib64/ (0x00002b3386c79000) => /lib64/ (0x00002b3386e87000) => /opt/app/IBM/IS/Server/PXEngine/lib/ (0x00002b33871df000) => /opt/app/IBM/IS/Server/PXEngine/lib/ (0x00002b33873fd000) => /opt/app/IBM/IS/Server/PXEngine/lib/ (0x00002b338750c000) => /opt/app/IBM/IS/Server/DSComponents/lib/ (0x00002b3387619000) => /opt/app/IBM/IS/Server/PXEngine/lib/ (0x00002b3387ab6000) => /opt/app/IBM/IS/Server/PXEngine/lib/ (0x00002b3388646000) => /opt/app/IBM/IS/Server/PXEngine/lib/ (0x00002b338889c000) => /opt//teradata/client/13.0/tbuild/lib64/ (0x00002b338962b000)
/lib64/ (0x00002b3385531000) => /opt/app/IBM/IS/Server/PXEngine/lib/ (0x00002b338972e000)

If you see any "not found" messages, this means the files either do not exist or there are permission problems with the file.

Resolving the problem

In this case, to resolve this issue, you can either A. create the symbolic link in the /usr/lib64 OR B. set the LD_LIBRARY_PATH to point the the actual binary in the Teradata Home/lib directory.


cd /usr/lib64

ln -s /opt//teradata/client/13.0/lib64/


in $DSHOME/dsenv add the path of to LD_LIBRARY_PATH and restart DataStage

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt//teradata/client/13.0/lib64

Document information

More support for: InfoSphere DataStage

Software version: 8.5, 8.7

Operating system(s): Linux

Reference #: 1622226

Modified date: 14 January 2013

Translate this page: