In article <52abe2b5-385b-4d29-a4e8-db678b3e6ae9@e23g2000prf.googlegroups.com>,
kp <kiran.r.pillai@gmail.comwrote:
[OT]
Quote:
>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
Quote:
>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.
You linked with -liconv on the 5.1 box, and I am going to guess
that that is linking against a shared library rather than
a static link. But the shared library symbol definitions
for the iconv library are corrupt or missing on your AIX 5.3 box.
My speculation would be that your problem is that you do not
have an accessible libiconv.so (on your dynamic link path) on
your AIX 5.3 box. iconv is sometimes an add-on or optionally-
installed library rather than something always installed with the OS.
--
"Ignorance has been our king... he sits unchallenged on the throne of
Man. His dynasty is age-old. His right to rule is now considered
legitimate. Past sages have affirmed it. They did nothing to unseat
him." -- Walter M Miller, Jr