Re: libgpg-error 1.61 compile IBM POWER AIX

NIIBE Yutaka via Gnupg-users <[email protected]> Wed, 13 May 2026 09:52:48 +0900
Newsgroups gmane.comp.encryption.gpg.user
Message-ID <[email protected]>
Frank <[email protected]> wrote:
> Towards this, I found that the -L./.libs which is there for/from the 
> linktool seems to be to late.
> Putting it before the environment provided LDDFLAGS solves the problem.

You manually edited Makefile, right?

All in all, IIUC, the way you "configure" was wrong.  (And the
information was missing in your report.)  Because it was wrongly
configured, you needed to edit the Makefile.

For configure, specifying LDFLAGS with -L/opt/freeware/lib64
-L/opt/freeware/lib is wrong when you have old library there already.
Because it comes earlier than -L./.libs, it results linking with old
library installed, instead of the one just built.
--