libgcrypt 1.10.2 compile on AIX POWER
NIIBE Yutaka
gniibe at fsij.org
Thu Nov 9 01:58:12 CET 2023
Hello,
Frank Lindner <gnupg at shoran-und-alira.de> wrote:
> For 1.10.2 I now run into the following:
>>---- start ---<
> /opt/freeware/bin/bash ../libtool --tag=CC --mode=link cc
> -I/opt/freeware/include -qmaxmem=16384 -qlanglvl=extc99 -DSYSV
> -D_AIX -D_AIX32 -D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53
> -D_AIX61 -D_AIX71 -D_AIX72 -D_ALL_SOURCE -DFUNCPROTO=15 -O2
> -I/opt/freeware/include -no-install -L/opt/freeware/lib64
> -L/opt/freeware/lib
> -Wl,-blibpath:/opt/freeware/lib64:/opt/freeware/lib:/usr/lib:/lib
> -Wl,-bmaxdata:0x80000000 -o hashtest hashtest.o
> ../src/libgcrypt.la ../compat/libcompat.la -L/opt/freeware/lib
> -lgpg-error -lpthread
(line is wrapped by me)
IIUC, you manually supplied LDFLAGS (at configure or make), which
doesn't work well in this particular case (since LDFLAGS has a
precedence over locally specified ../src, compiler finds **installed**
version of libgcrypt, instead of currently building one).
Please check gpgrt-config from libgpg-error is installed correctly.
Possibly, in your case, it might be /opt/freeware/bin. Then, make sure
/opt/freeware/bin in PATH, and run configure.
This way, configure script should find correct value for -L, by
gpgrt-config (no need to manually supply LDFLAGS).
--
More information about the Gnupg-users
mailing list