Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: GnuPG: users

gnupg 1.4.3 build fails @ 'make' on OSX 10.4.5, unless "--disable-nls"

 

 

GnuPG users RSS feed   Index | Next | Previous | View Threaded


openmacnews at gmail

Apr 3, 2006, 9:26 AM

Post #1 of 6 (585 views)
Permalink
gnupg 1.4.3 build fails @ 'make' on OSX 10.4.5, unless "--disable-nls"

-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

hi all.

1.4.2 was built/running OK on my OSX 10.4.5.

attempting the 1.4.3 build ...

./configure w/:

./configure \
--prefix=/usr/local \
--with-readline=/usr/local \
--with-zlib=/usr/local \
--with-libcurl=/usr/local/lib

results in a 'make' fail @:

...
Making all in tools
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../intl
- -L/usr/local/include -I/usr/local/include -I/usr/local/include
- -I/usr/local/include -g -O2 -Wall -Wno-pointer-sign -MT gpgsplit.o -MD
- -MP -MF ".deps/gpgsplit.Tpo" -c -o gpgsplit.o gpgsplit.c; \
then mv -f ".deps/gpgsplit.Tpo" ".deps/gpgsplit.Po"; else rm -f
".deps/gpgsplit.Tpo"; exit 1; fi
gcc -g -O2 -Wall -Wno-pointer-sign -L/usr/local/lib -lreadline -lpcre
- -L/usr/local/lib -L/usr/local/lib -o gpgsplit gpgsplit.o
../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a -liconv -lintl
- -liconv -lc -lz -lbz2
/usr/bin/ld: multiple definitions of symbol _xfree
/usr/local/lib/libreadline.dylib(xmalloc.so) definition of _xfree
../util/libutil.a(memory.o) definition of _xfree in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _xmalloc
/usr/local/lib/libreadline.dylib(xmalloc.so) definition of _xmalloc
../util/libutil.a(memory.o) definition of _xmalloc in section
(__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _xrealloc
/usr/local/lib/libreadline.dylib(xmalloc.so) definition of _xrealloc
../util/libutil.a(memory.o) definition of _xrealloc in section
(__TEXT,__text)
/usr/bin/ld: warning multiple definitions of symbol _locale_charset
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libiconv.dylib(localcharset.o)
definition of _locale_charset
/usr/local/lib/libintl.dylib(localcharset.o) definition of _locale_charset
collect2: ld returned 1 exit status
make[2]: *** [gpgsplit] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


DISABLING nls, as:

./configure \
--prefix=/usr/local \
--with-readline=/usr/local \
--with-zlib=/usr/local \
--with-libcurl=/usr/local/lib \
--disable-nls

howeverm results in a successful 'make'

fwiw, my /usr/local/lib/libintl.dylib is from a local install of GETTEXT
v0.14.5 ...

just starting to poke around as to what changed ... any suggestions?


richard
- --

/"\
\ / ASCII Ribbon Campaign
X against HTML email, vCards
/ \ & micro$oft attachments

[GPG] OpenMacNews at gmail dot com
fingerprint: 50C9 1C46 2F8F DE42 2EDB D460 95F7 DDBD 3671 08C6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)

iEYEAREDAAYFAkQxTLYACgkQlffdvTZxCMZQQwCeOf4GaBR4/1SpSuzrb0EKQD2f
/KQAn20L+B/D2wRJZ3R7OuktFCeadvxm
=ChrY
-----END PGP SIGNATURE-----


_______________________________________________
Gnupg-users mailing list
Gnupg-users [at] gnupg
http://lists.gnupg.org/mailman/listinfo/gnupg-users


dshaw at jabberwocky

Apr 3, 2006, 3:16 PM

Post #2 of 6 (585 views)
Permalink
Re: gnupg 1.4.3 build fails @ 'make' on OSX 10.4.5, unless "--disable-nls" [In reply to]

On Mon, Apr 03, 2006 at 09:26:31AM -0700, OpenMacNews wrote:
> hi all.
>
> 1.4.2 was built/running OK on my OSX 10.4.5.
>
> attempting the 1.4.3 build ...
>
> ./configure w/:
>
> ./configure \
> --prefix=/usr/local \
> --with-readline=/usr/local \
> --with-zlib=/usr/local \
> --with-libcurl=/usr/local/lib
>
> results in a 'make' fail @:
>
> ...
> Making all in tools
> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../intl
> -L/usr/local/include -I/usr/local/include -I/usr/local/include
> -I/usr/local/include -g -O2 -Wall -Wno-pointer-sign -MT gpgsplit.o -MD
> -MP -MF ".deps/gpgsplit.Tpo" -c -o gpgsplit.o gpgsplit.c; \
> then mv -f ".deps/gpgsplit.Tpo" ".deps/gpgsplit.Po"; else rm -f
> ".deps/gpgsplit.Tpo"; exit 1; fi
> gcc -g -O2 -Wall -Wno-pointer-sign -L/usr/local/lib -lreadline -lpcre
> -L/usr/local/lib -L/usr/local/lib -o gpgsplit gpgsplit.o
> ../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a -liconv -lintl
> -liconv -lc -lz -lbz2
> /usr/bin/ld: multiple definitions of symbol _xfree
> /usr/local/lib/libreadline.dylib(xmalloc.so) definition of _xfree
> ../util/libutil.a(memory.o) definition of _xfree in section (__TEXT,__text)
> /usr/bin/ld: multiple definitions of symbol _xmalloc
> /usr/local/lib/libreadline.dylib(xmalloc.so) definition of _xmalloc
> ../util/libutil.a(memory.o) definition of _xmalloc in section
> (__TEXT,__text)
> /usr/bin/ld: multiple definitions of symbol _xrealloc
> /usr/local/lib/libreadline.dylib(xmalloc.so) definition of _xrealloc
> ../util/libutil.a(memory.o) definition of _xrealloc in section
> (__TEXT,__text)
> /usr/bin/ld: warning multiple definitions of symbol _locale_charset
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libiconv.dylib(localcharset.o)
> definition of _locale_charset
> /usr/local/lib/libintl.dylib(localcharset.o) definition of _locale_charset

This one doesn't seem related to GnuPG: you installed a a new gettext
and it's conflicting with the Apple-shipped iconv.

What happens if you build with --with-included-gettext ?

David

_______________________________________________
Gnupg-users mailing list
Gnupg-users [at] gnupg
http://lists.gnupg.org/mailman/listinfo/gnupg-users


openmacnews at gmail

Apr 3, 2006, 4:07 PM

Post #3 of 6 (578 views)
Permalink
Re: gnupg 1.4.3 build fails @ 'make' on OSX 10.4.5, unless "--disable-nls" [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

hi david,


>> 1.4.2 was built/running OK on my OSX 10.4.5.
>>
>> attempting the 1.4.3 build ...
>>
>> ./configure w/:
>>
>> ./configure \
>> --prefix=/usr/local \
>> --with-readline=/usr/local \
>> --with-zlib=/usr/local \
>> --with-libcurl=/usr/local/lib
>>
>> results in a 'make' fail @:
>>
>> ...
>> Making all in tools
>> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../intl
>> -L/usr/local/include -I/usr/local/include -I/usr/local/include
>> -I/usr/local/include -g -O2 -Wall -Wno-pointer-sign -MT gpgsplit.o -MD
>> -MP -MF ".deps/gpgsplit.Tpo" -c -o gpgsplit.o gpgsplit.c; \
>> then mv -f ".deps/gpgsplit.Tpo" ".deps/gpgsplit.Po"; else rm -f
>> ".deps/gpgsplit.Tpo"; exit 1; fi
>> gcc -g -O2 -Wall -Wno-pointer-sign -L/usr/local/lib -lreadline -lpcre
>> -L/usr/local/lib -L/usr/local/lib -o gpgsplit gpgsplit.o
>> ../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a -liconv -lintl
>> -liconv -lc -lz -lbz2
>> /usr/bin/ld: multiple definitions of symbol _xfree
>> /usr/local/lib/libreadline.dylib(xmalloc.so) definition of _xfree
>> ../util/libutil.a(memory.o) definition of _xfree in section (__TEXT,__text)
>> /usr/bin/ld: multiple definitions of symbol _xmalloc
>> /usr/local/lib/libreadline.dylib(xmalloc.so) definition of _xmalloc
>> ../util/libutil.a(memory.o) definition of _xmalloc in section
>> (__TEXT,__text)
>> /usr/bin/ld: multiple definitions of symbol _xrealloc
>> /usr/local/lib/libreadline.dylib(xmalloc.so) definition of _xrealloc
>> ../util/libutil.a(memory.o) definition of _xrealloc in section
>> (__TEXT,__text)
>> /usr/bin/ld: warning multiple definitions of symbol _locale_charset
>> /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libiconv.dylib(localcharset.o)
>> definition of _locale_charset
>> /usr/local/lib/libintl.dylib(localcharset.o) definition of _locale_charset
>
> This one doesn't seem related to GnuPG: you installed a a new gettext
> and it's conflicting with the Apple-shipped iconv.

well, not exactly ... yes i see the conflict, but no, i did not install
a 'new' gettext ... its' the same one i've built 1.4.2.2 against.

> What happens if you build with --with-included-gettext ?

have not tried as yet, as it is/was working w/ 1.4.2.2:

otool -L /usr/local/bin/gpg
/usr/local/lib/libreadline.5.1.dylib (compatibility version 5.0.0,
current version 5.1.0)
/usr/local/lib/libpcre.0.dylib (compatibility version 1.0.0, current
version 1.1.0)
/usr/lib/libiconv.2.dylib (compatibility version 5.0.0, current version
5.0.0)
/usr/local/lib/libintl.3.dylib (compatibility version 8.0.0, current
version 8.3.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 88.1.5)
/usr/local/lib/libz.1.dylib (compatibility version 1.0.0, current
version 1.2.3)
/usr/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version
1.0.2)
/usr/local/lib/libusb-0.1.4.dylib (compatibility version 9.0.0, current
version 9.4.0)
/usr/local/lib/libcurl.3.dylib (compatibility version 4.0.0, current
version 4.0.0)
/usr/local/lib/libidn.11.dylib (compatibility version 17.0.0, current
version 17.17.0)
/usr/local/ssl/lib/libssl.0.9.7.dylib (compatibility version 0.9.0,
current version 0.9.7)
/usr/local/ssl/lib/libcrypto.0.9.7.dylib (compatibility version 0.9.0,
current version 0.9.7)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version
1.0.0)

richard


- --

/"\
\ / ASCII Ribbon Campaign
X against HTML email, vCards
/ \ & micro$oft attachments

[GPG] OpenMacNews at gmail dot com
fingerprint: 50C9 1C46 2F8F DE42 2EDB D460 95F7 DDBD 3671 08C6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)

iEYEAREDAAYFAkQxqsUACgkQlffdvTZxCMbaLwCfetE2xRDKXWJqlAObLsaD3OhR
rocAoLq228yqLnWARSDopomLAHrBxS/A
=qme/
-----END PGP SIGNATURE-----


_______________________________________________
Gnupg-users mailing list
Gnupg-users [at] gnupg
http://lists.gnupg.org/mailman/listinfo/gnupg-users


openmacnews at gmail

Apr 3, 2006, 4:20 PM

Post #4 of 6 (568 views)
Permalink
Re: gnupg 1.4.3 build fails @ 'make' on OSX 10.4.5, unless "--disable-nls" [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

david,

and a little more info ... per request:

> What happens if you build with --with-included-gettext ?

configuring 143 as:

./configure \
--prefix=/usr/local/gpg143 \
--with-readline=/usr/local \
--with-zlib=/usr/local \
--with-libcurl=/usr/local/lib \
--with-included-gettext

also fails @:

...
Making all in tools
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../intl
- -L/usr/local/include -I/usr/local/include -I/usr/local/include -g -O2
- -Wall -Wno-pointer-sign -MT gpgsplit.o -MD -MP -MF ".deps/gpgsplit.Tpo"
- -c -o gpgsplit.o gpgsplit.c; \
then mv -f ".deps/gpgsplit.Tpo" ".deps/gpgsplit.Po"; else rm -f
".deps/gpgsplit.Tpo"; exit 1; fi
gcc -g -O2 -Wall -Wno-pointer-sign -L/usr/local/lib -lreadline -lpcre
- -L/usr/local/lib -L/usr/local/lib -o gpgsplit gpgsplit.o
../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a -liconv
../intl/libintl.a -liconv -lz -lbz2
/usr/bin/ld: multiple definitions of symbol _xfree
/usr/local/lib/libreadline.dylib(xmalloc.so) definition of _xfree
../util/libutil.a(memory.o) definition of _xfree in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _xmalloc
/usr/local/lib/libreadline.dylib(xmalloc.so) definition of _xmalloc
../util/libutil.a(memory.o) definition of _xmalloc in section
(__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _xrealloc
/usr/local/lib/libreadline.dylib(xmalloc.so) definition of _xrealloc
../util/libutil.a(memory.o) definition of _xrealloc in section
(__TEXT,__text)
collect2: ld returned 1 exit status
make[2]: *** [gpgsplit] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


- --

/"\
\ / ASCII Ribbon Campaign
X against HTML email, vCards
/ \ & micro$oft attachments

[GPG] OpenMacNews at gmail dot com
fingerprint: 50C9 1C46 2F8F DE42 2EDB D460 95F7 DDBD 3671 08C6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)

iEYEAREDAAYFAkQxrcoACgkQlffdvTZxCMbPuQCeO06+IfaT/HzksBEksXTIjRM3
VFwAn2Iz5eo581L6/TO45q2LELbWcsKH
=7aAx
-----END PGP SIGNATURE-----


_______________________________________________
Gnupg-users mailing list
Gnupg-users [at] gnupg
http://lists.gnupg.org/mailman/listinfo/gnupg-users


dshaw at jabberwocky

Apr 3, 2006, 6:03 PM

Post #5 of 6 (585 views)
Permalink
Re: gnupg 1.4.3 build fails @ 'make' on OSX 10.4.5, unless "--disable-nls" [In reply to]

On Mon, Apr 03, 2006 at 04:07:49PM -0700, OpenMacNews wrote:

> >> gcc -g -O2 -Wall -Wno-pointer-sign -L/usr/local/lib -lreadline -lpcre
> >> -L/usr/local/lib -L/usr/local/lib -o gpgsplit gpgsplit.o
> >> ../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a -liconv -lintl
> >> -liconv -lc -lz -lbz2
> >> /usr/bin/ld: multiple definitions of symbol _xfree
> >> /usr/local/lib/libreadline.dylib(xmalloc.so) definition of _xfree
> >> ../util/libutil.a(memory.o) definition of _xfree in section (__TEXT,__text)
> >> /usr/bin/ld: multiple definitions of symbol _xmalloc
> >> /usr/local/lib/libreadline.dylib(xmalloc.so) definition of _xmalloc
> >> ../util/libutil.a(memory.o) definition of _xmalloc in section
> >> (__TEXT,__text)
> >> /usr/bin/ld: multiple definitions of symbol _xrealloc
> >> /usr/local/lib/libreadline.dylib(xmalloc.so) definition of _xrealloc
> >> ../util/libutil.a(memory.o) definition of _xrealloc in section
> >> (__TEXT,__text)
> >> /usr/bin/ld: warning multiple definitions of symbol _locale_charset
> >> /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libiconv.dylib(localcharset.o)
> >> definition of _locale_charset
> >> /usr/local/lib/libintl.dylib(localcharset.o) definition of _locale_charset
> >
> > This one doesn't seem related to GnuPG: you installed a a new gettext
> > and it's conflicting with the Apple-shipped iconv.
>
> well, not exactly ... yes i see the conflict, but no, i did not install
> a 'new' gettext ... its' the same one i've built 1.4.2.2 against.

It was just luck that 1.4.3 triggers the failure and 1.4.2 doesn't.
The code in 1.4.3 is legal. Your library setup seems not to be.

I have a Tiger box and 1.4.3 builds fine. Even if I add readline, it
still builds fine. Maybe go to the Apple site and download the latest
build environment? Aside from that, I'm not sure what to suggest to
you aside from building without your added readline or with
--disable-nls, or maybe with --disable-gnupg-iconv

David

_______________________________________________
Gnupg-users mailing list
Gnupg-users [at] gnupg
http://lists.gnupg.org/mailman/listinfo/gnupg-users


openmacnews at gmail

Apr 3, 2006, 6:26 PM

Post #6 of 6 (568 views)
Permalink
Re: gnupg 1.4.3 build fails @ 'make' on OSX 10.4.5, unless "--disable-nls" [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

hi david,

> It was just luck that 1.4.3 triggers the failure and 1.4.2 doesn't.
> The code in 1.4.3 is legal. Your library setup seems not to be.

> I have a Tiger box and 1.4.3 builds fine. Even if I add readline, it
> still builds fine. Maybe go to the Apple site and download the latest
> build environment? Aside from that, I'm not sure what to suggest to
> you aside from building without your added readline or with
> --disable-nls, or maybe with --disable-gnupg-iconv

thx for your insights.

odd, tho, as i routinely use gettext & readline across *dozens* of other
builds/apps/etc, with nary a problem ... even with gpg for ages (lucky'
tho i may have been ...)

as for the build environment, mine's not simply up to date with apple's
latest (it is), but further, in keeping with most upt-to-date app/tool
releases. i kinda doubt 'too old' is the problem ...

i guess i'll be sticking with stable 1.4.2.2 for now.

thx again!

cheers,

richard

- --

/"\
\ / ASCII Ribbon Campaign
X against HTML email, vCards
/ \ & micro$oft attachments

[GPG] OpenMacNews at gmail dot com
fingerprint: 50C9 1C46 2F8F DE42 2EDB D460 95F7 DDBD 3671 08C6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)

iEYEAREDAAYFAkQxy0QACgkQlffdvTZxCMbSxACfThWmPE6kr9nGXLu2+gcMIo1P
1wYAoIp5EQN3J1XuX8tuu3/Sx8tSQZQm
=34DK
-----END PGP SIGNATURE-----


_______________________________________________
Gnupg-users mailing list
Gnupg-users [at] gnupg
http://lists.gnupg.org/mailman/listinfo/gnupg-users

GnuPG users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.