I am getting the same error as noted here.
Code: Select all
trfRoutine: Error when checking composite operator: Failed to load the library "V0S1_TestJob_trfRoutine.so"; either the directory containing the library file
is not on the library search path, or the library was compiled on a system
that is incompatible with this system: Could not load "V0S1_TestJob_trfRoutine": /xxxx/iws/xxx/xxx/xxx/RT_BP369.O/V0S1_TestJob_trfRoutine.so: undefined symbol: DSGetProjectList.
ld path = /usr/lib:.:/bustools/oracle/product/12.1.0.2_client/lib:/bustools/wmq/800/lib64
shell search path = /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:.
I updated both the above paths to point to my object file but didnt work, i get the same error.
These are my compiler options
compiler OPT = -c -O -fPIC -Wno-deprecated -m64 -mtune=generic -mcmodel=small
compiler = g++
My programs is very simple
Code: Select all
#include <stdio.h>
#include "/xxxx/iws/InformationServer/Server/DSEngine/include/dsapi.h"
char* projects1()
{
char* prlist;
prlist=DSGetProjectList();
return prlist;
}
Thanks