Problem building 2.0.1 (on Mac OS X 10.4.8)

Ludwig Hügelschäfer mlisten at hammernoch.net
Sat Dec 9 16:32:27 CET 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

David Shaw wrote on 08.12.2006 14:53 Uhr:
> On Fri, Dec 08, 2006 at 11:49:18AM +0100, Michael Bienia wrote:
>> On 2006-12-08 02:08:37 -0500, Charly Avital wrote:
>>> 1. Patch applied:
>>> - ----------
>>> $ cd /Users/shavital/Desktop/gnupg-2.0.1/
>>> Charly-Avitals-PBG4:~/Desktop/gnupg-2.0.1 shavital$ patch -p0 <
>>> /Users/shavital/Desktop/gnupg-2.0-osx-iconv.patch
>>> patching file tools/Makefile.am
>>> patching file g10/Makefile.am
>>> patching file agent/Makefile.am
>>> - ----------
>> This only patches Makefile.am. You need to have this changes also in
>> Makefile.in so either regenerate Makefile.in with automake or patch
>> Makefile.in manually and add the same changes there.
> 
> That is correct.  Charly, you have to run automake before the patch is
> useful to you.

This still doesn't help - at least for me...

Despite the applied patch and manually modifying Makefile.in in tools,
g10 and agent I get:

ld: Undefined symbols:
_libiconv
_libiconv_close
_libiconv_open
make[2]: *** [kbxutil] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

After modifying Makefile.in and Makefile.am in kbx by adding $(LIBICONV)
to kbxutil_LDADD I get the following:

gcc -I/usr/local/include  -I/usr/local/include -I/usr/local/include
- -I/usr/local/include  -g -O2 -Wall   -o gpgsm  gpgsm.o misc.o keydb.o
server.o call-agent.o call-dirmngr.o fingerprint.o base64.o certlist.o
certdump.o certcheck.o certchain.o keylist.o verify.o sign.o encrypt.o
decrypt.o import.o export.o delete.o certreqgen.o qualified.o
../jnlib/libjnlib.a ../kbx/libkeybox.a ../common/libcommon.a
../gl/libgnu.a -L/usr/local/lib -lgcrypt -L/usr/local/lib -lgpg-error
- -L/usr/local/lib -lksba -lgpg-error -L/usr/local/lib -lassuan
- -L/usr/local/lib -lgpg-error  -lz -lbz2
ld: Undefined symbols:
_libiconv
_libiconv_close
_libiconv_open
make[2]: *** [gpgsm] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

*sigh*

Ludwig
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEVAwUBRXrXC1YnpxVXVowdAQIjtwgA0VBCDknLQNMZwAhSrfTKyQOSvCgBN9cA
3HKjj847a4pWencownsWGZxUi0/PLNkrj+Ls6ydVQdIG5T4NVqzymhx7pD6GJTlL
A2R3gWpxwlBIpJ5m5yY0g5fVBP6zb/AnpoHAXsbuoYfxxeRd3Qtv+QJ4+sW3A/hw
Emj2Qb1hTAWDULXLYtVj102XlOzeAmpLASls0Se44WuDSeFgwpc+8ArEuFpDQIJt
xGiinXkFB/mEABFHJTvnNmjgAPi1SChoGK8h2XpyYylgDakeiUu+a7VO+IQr0agf
X/7RVh8axz41elWnKo8QbVa+4bxqYdonq0jGAQc7AnOSNkisKcF9aw==
=gX90
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list