Simon J Mudd wrote:
Just to follow up my own post a little.

Simon J Mudd <[EMAIL PROTECTED]> writes:


So removing libiconv makes gcc "work".  I am now compiling bind9 again
it it looks like it will complete.


It does.


Can someone explain why installing libiconv makes gcc fail, and does
this mean that the AIX port needs to be built in a specific order,
perhaps with specific options in order to avoid problems like this
happening again?


Does this make libiconv like binutils, a OpenPKG rpm which can not be
used (at least if you use the gcc compiler).  I can compile libiconv
and certain packages require it. Doug was using IBM's compiler so
perhaps was able to compile packages requiring libiconv using that and
did not notice the problem it caused with gcc.

Still confused. I think I'll go and see if Google has any ideas.

Simon
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

I ran into this same issue (see thread "AIX linking with LIBICONV"). What I did to solve it was:

1) Remove RPM version of libiconv
2) Rebuild OpenPKG GCC after building/installing OpenPKG libiconv
3) Rebuild any other package that linked to libiconv (texinfo was one that came to light early on)

I found that the best packages to build before GCC are make, m4, binutils (obviously not AIX), and libiconv. Then I build gcc, perl, and coreutils.

Doug

PS - I did list this in my e-mail regarding my builds on AIX 5.1.
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to