Usage Note 42949: An invalid magic number occurs when you use SAS/ACCESS® Interface to Teradata in 64-bit UNIX operating environments
When you use SAS/ACCESS Interface to Teradata in 64-bit UNIX environments, you might receive the following error:
ERROR: Could not load /sas/sas92/SASFoundation/9.2/sasexe/sastra (99 images loaded)
ERROR: Could not load module /sas/sas92/SASFoundation/9.2/sasexe/sastra.
Dependent module /usr/lib/libcliv2.so could not be loaded.
The module has an invalid magic number.
Could not load module/sas/sas92/SASFoundation/9.2/sasexe/sastra.
Dependent module /sas/sas92/SASFoundation/9.2/sasexe/sastra could not be loaded.
Teradata has two LIBCLIV2.SO modules. The problem occurs because one module resides in
/usr/lib (a 32-bit directory) and one module resides in
/usr/lib/lib_64, a 64-bit directory. These directories vary from machine to machine. In some cases, it is located in
/opt/teradata/client/13.l0/lib64.
To resolve the problem, make sure that the /usr/lib/lib_64 directory is set in the library-path environment variables for your system. The library-path environment variables vary depending on your environment (for example, LIBPATH under AIX, LD_LIBRARY_PATH under Solaris and Linux, and SHLIB_PATH under HPUX). To determine what environment variables are set, submit the following code:
data temp1;
length result $2000;
result=sysget('PATH');
put result;
run;
/*** For AIX ***/
data temp2;
length result $2000;
result=sysget('LIBPATH');
put result;
run;
/**** For Solaris & Linux ***/
data temp2;
length result $2000;
result=sysget('LD_LIBRARY_PATH');
put result;
run;
/**** For HPUX ***/
data temp2;
length result $2000;
result=sysget('SHLIB_PATH');
put result;
run;
After you have determined the environment variables, you can change the library-path environment variable in the code to match your system using the
export command or the
setenv command, depending on which shell you are running (korn shell or c shell).
Operating System and Release Information
| SAS System | SAS/ACCESS Interface to Teradata | 64-bit Enabled AIX | 9.1 TS1M3 SP4 | |
| 64-bit Enabled HP-UX | 9.1 TS1M3 SP4 | |
| 64-bit Enabled Solaris | 9.1 TS1M3 SP4 | |
| HP-UX IPF | 9.1 TS1M3 SP4 | |
| Linux | 9.1 TS1M3 SP4 | |
| Solaris for x64 | 9.1 TS1M3 SP4 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
When you use SAS/ACCESS Interface to Teradata in 64-bit UNIX environments, you can receive an invalid magic number on LIBCLIV2.SO. To solve the problem, make sure that the 64-bit libraries that LIBCLIV2.SO are patched first.
| Date Modified: | 2012-08-02 15:21:39 |
| Date Created: | 2011-04-14 10:10:27 |