Re: AIX glib compile error message "gettext not found"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I had already tried that and it gave the same result :-(
 
I posted the output from running configure and excerpt from config.log. Can some knowledgeable person who knows these intricacies have a look at these and see if there's something amiss. Of particular interest to me are the following lines from config.log:
 
configure:6455: checking if -liconv is needed to use gettext
configure:6457: result:
configure:6459: checking for dcgettext in -lintl
configure:6489: cc -o conftest -I/usr/local/include -I/usr/local/include -L/usr/local/lib conftest.c -lintl -liconv  >&5
ld: 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: .libiconv
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
configure:6495: $? = 8
configure: failed program was:
 
and the following output from configure:
 
checking for iconv_open... no
checking for libiconv_open in -liconv... no
checking for iconv_open in -liconv... yes

So somehow, configure found out that "libiconv_open" is not available but "iconv_open" is, but still in the config.log we see that it's erroring out on "libiconv_open". Is it significant? Does it matter? I don't know, someone with more insight would have to take a look.
 
Also, I apologize if this is not the correct list for posting such problems. If it's not, please let me know which list to post to, thanks.
 
Salman

Christer Palm <palm@xxxxxxxx> wrote:
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 -lintl
> configure:6348: cc -o conftest -I/usr/local/include -I/usr/local/include
> -L/usr/local/lib conftest.c -lintl >&5
> ld: 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: .libiconv
> ld: 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
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux