Problem building 2.0.1 (on Mac OS X 10.4.8)
Charly Avital
shavital at mac.com
Sat Dec 9 18:16:58 CET 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ludwig Hügelschäfer wrote the following on 12/9/06 10:32 AM:
> 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
Ludwig,
I didn't dare modify the Makefile.in modules manually, after automake
1.6.3 didn't work. I have not succeeded to install a higher version of
automake, the compiling and installing process seems to complete
positively, but whenever I type automake --version, I get 1.6.3. Baffles me.
I have been at it part of Thursday, and almost all Friday, always ending
in one kind of error or another, including the ones you indicate in your
message (ld: Undefines symbols etc., and kabxutil.
I know (I hope) that I have the three required libraries installed:
libgpg-error 1.4, libassuan 1.0.1, and libksba 1.0.1 - iconv is there
too (albeit an Apple version). No success. I am still running gpg2
1.9.20 that I installed with the help of Ben Donnachie.
Thanks for your information.
Charly
KeyOnCard at:
<http://homepage.mac.com/shavital/iblog/B788933981/C1591872826/E20061125110933/index.html>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
Comment: GnuPG for Privacy
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQCVAwUBRXrvWCRJoUyU/RYhAQLr3QP9GHlQ/bNUeampx7/krUGTylZ5vQ7hWFm2
ZgHhFUP2ov3proiWFFb39GKwWefaBIDqOnc5u+m7uy8QShNviRaTkhtBUkEwdjW4
7kToCOCXAiw0j2jkiLHSUbhigi/vQ7OKANXxV/1mxXMTCpo42R9Rz/HossqD2DZq
47wWRscaIsc=
=CiAy
-----END PGP SIGNATURE-----
More information about the Gnupg-users
mailing list