Salman Mohsin wrote:
After doing what Daniel asked me to do (setting environment variables), configure went a few steps further but again gave the same error:
...
configure:6318: checking for bindtextdomain in -lintlconfigure:6348: cc -o conftest -I/usr/local/include -I/usr/local/include -L/usr/local/lib conftest.c -lintl >&5ld: 0711-317 ERROR: Undefined symbol: .libiconv_close ld: 0711-317 ERROR: Undefined symbol: .libiconv_set_relocation_prefix ld: 0711-317 ERROR: Undefined symbol: .libiconv_open ld: 0711-317 ERROR: Undefined symbol: .libiconvld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
IIRC, AIX doesn't honor LD_LIBRARY_PATH, but uses LIBPATH instead. So try export LIBPATH=/usr/local/lib instead.
-- Christer Palm