K
kp
Hi,
I am compiling on an AIX 5.1 box and my test machine is AIX 5.3.
I run the foll. steps for compiling my test binary "test"
/usr/vacpp/bin/xlC test.c -c -o test.o -I/home/jag/progs/include -I/
usr/lpp/application/include
/usr/vacpp/bin/xlC -o test -L/home/jag/progs/lib -L/usr/lib -L/usr/lpp/
application/lib -brtl -s test.o -lapplicationapi -liconv
Now, when I run "test" on my AIX 5.3 box, I get the foll. error:
# ./test
exec(): 0509-036 Cannot load program ./opcapitest because of the
following errors:
rtld: 0712-001 Symbol iconv was referenced
from module /usr/lpp/application/lib/libapplicationapi.so(), but
a runtime definition
of the symbol was not found.
rtld: 0712-001 Symbol iconv_open was referenced
from module /usr/lpp/application/lib/libapplicationapi.so(), but
a runtime definition
of the symbol was not found.
rtld: 0712-001 Symbol iconv_close was referenced
from module /usr/lpp/application/lib/libapplicationapi.so(), but
a runtime definition
of the symbol was not found.
You have mail in /usr/spool/mail/root
#
Could you please tell me whats wrong here?
Thanks,
kp
P.S: if this is not the right forum for this question, please direct
me to the right one.
I am compiling on an AIX 5.1 box and my test machine is AIX 5.3.
I run the foll. steps for compiling my test binary "test"
/usr/vacpp/bin/xlC test.c -c -o test.o -I/home/jag/progs/include -I/
usr/lpp/application/include
/usr/vacpp/bin/xlC -o test -L/home/jag/progs/lib -L/usr/lib -L/usr/lpp/
application/lib -brtl -s test.o -lapplicationapi -liconv
Now, when I run "test" on my AIX 5.3 box, I get the foll. error:
# ./test
exec(): 0509-036 Cannot load program ./opcapitest because of the
following errors:
rtld: 0712-001 Symbol iconv was referenced
from module /usr/lpp/application/lib/libapplicationapi.so(), but
a runtime definition
of the symbol was not found.
rtld: 0712-001 Symbol iconv_open was referenced
from module /usr/lpp/application/lib/libapplicationapi.so(), but
a runtime definition
of the symbol was not found.
rtld: 0712-001 Symbol iconv_close was referenced
from module /usr/lpp/application/lib/libapplicationapi.so(), but
a runtime definition
of the symbol was not found.
You have mail in /usr/spool/mail/root
#
Could you please tell me whats wrong here?
Thanks,
kp
P.S: if this is not the right forum for this question, please direct
me to the right one.