I am trying to compile gnupg on AIX 5.3 and I am not able to figure
out what's going wrong. I was able to compile all the require
software with a couple of tweaks, like the tests would not compile for
libgcrypt but everything else compiled fine. Now I am trying to
compile gnupg and I am getting this error message about undefined
symbol's.
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -DLOCALEDIR=\"/usr/local/
share/locale\" -I../gl -I../common -I../intl -I/usr/local/include -I/
usr/local/include -I/usr/local/include -I/usr/local/include -g -O2 -
Wall -Wno-pointer-sign -MT kbxutil.o -MD -MP -MF ".deps/kbxutil.Tpo" -
c -o kbxutil.o kbxutil.c; then mv -f ".deps/kbxutil.Tpo" ".deps/
kbxutil.Po"; else rm -f ".deps/kbxutil.Tpo"; exit 1; fi
gcc -g -O2 -Wall -Wno-pointer-sign -o kbxutil kbxutil.o
keybox-util.o keybox-init.o keybox-blob.o keybox-file.o keybox-
search.o keybox-update.o keybox-openpgp.o keybox-dump.o ../jnlib/
libjnlib.a ../gl/libgnu.a ../common/libcommon.a -L/usr/local/lib -
lksba -lgpg-error -L/usr/local/lib -lgcrypt -L/usr/local/lib -lgpg-
error -L/usr/local/lib -lgpg-error /usr/local/lib/libintl.a -liconv -
lc -liconv
ld: 0711-317 ERROR: Undefined symbol: .gcry_md_open
ld: 0711-317 ERROR: Undefined symbol: .gcry_md_write
ld: 0711-317 ERROR: Undefined symbol: .gcry_md_read
ld: 0711-317 ERROR: Undefined symbol: .gcry_md_close
ld: 0711-317 ERROR: Undefined symbol: .gcry_md_hash_buffer
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: ld returned 8 exit status
Thank you

Likes:

Quote