bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: link failure because of previously installed gettext


From: David Alanis
Subject: Re: link failure because of previously installed gettext
Date: Fri, 15 May 2009 22:05:49 -0500
User-agent: Internet Messaging Program (IMP) H3 (4.1.4)

Quoting Tim Mooney <address@hidden>:


[I'm not subscribed to bug-gnu-gettext, please Cc: me on any replies]

I'm trying to build gettext-0.17 on x86_64-sun-solaris2.10, with the
no-cost Sun Workshop compilers and the standard Solaris linker.  I already
have 0.16.1 installed on the system, which I built.

The problem I'm running into is that when libtool attempts to create
libgettextlib.la, the link fails when creating the shared library because
in addition to the libintl.so that's part of gettext-0.17, libtool is also
attempting to link in the previously-installed libintl.so as a dependency
of glib:


/bin/bash ../libtool --tag=CC   --mode=link cc  -Xa -xO4 -xstrconst
-xtarget=generic -m64 -xarch=generic -I/local/include
-I/local/gnu/include  -L/local/lib/64 -L/local/gnu/lib/64 -o
libglib_rpl.la  glib/libglib_rpl_la-ghash.lo
glib/libglib_rpl_la-glist.lo glib/libglib_rpl_la-gmessages.lo
glib/libglib_rpl_la-gprimes.lo glib/libglib_rpl_la-gstrfuncs.lo
glib/libglib_rpl_la-gstring.lo ar cru .libs/libglib_rpl.a
glib/.libs/libglib_rpl_la-ghash.o glib/.libs/libglib_rpl_la-glist.o
glib/.libs/libglib_rpl_la-gmessages.o
glib/.libs/libglib_rpl_la-gprimes.o
glib/.libs/libglib_rpl_la-gstrfuncs.o
glib/.libs/libglib_rpl_la-gstring.o
ranlib .libs/libglib_rpl.a
creating libglib_rpl.la
 cc -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I..
-I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1
-DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I../intl
-I///local/gnu/include/libcroco-0.6/libcroco -I/local/include
-I/local/gnu/include -D_REENTRANT -Xa -xO4 -xstrconst -xtarget=generic
-m64 -xarch=generic -I/local/include -I/local/gnu/include -c
libxml/xpointer.c  -KPIC -DPIC -o libxml/.libs/libxml_rpl_la-xpointer.o
(cd .libs && rm -f libglib_rpl.la && ln -s ../libglib_rpl.la libglib_rpl.la)
 cc -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I..
-I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1
-DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I../intl
-I///local/gnu/include/libcroco-0.6/libcroco -I/local/include
-I/local/gnu/include -D_REENTRANT -Xa -xO4 -xstrconst -xtarget=generic
-m64 -xarch=generic -I/local/include -I/local/gnu/include -c
libxml/xpointer.c -o libxml/libxml_rpl_la-xpointer.o >/dev/null 2>&1
 cc -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I..
-I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1
-DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I../intl
-I///local/gnu/include/libcroco-0.6/libcroco -I/local/include
-I/local/gnu/include -D_REENTRANT -Xa -xO4 -xstrconst -xtarget=generic
-m64 -xarch=generic -I/local/include -I/local/gnu/include -c
libxml/xmlwriter.c -o libxml/libxml_rpl_la-xmlwriter.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC   --mode=link cc  -Xa -xO4 -xstrconst
-xtarget=generic -m64 -xarch=generic -I/local/include
-I/local/gnu/include  -L/local/lib/64 -L/local/gnu/lib/64 -o
libxml_rpl.la  libxml/libxml_rpl_la-DOCBparser.lo
libxml/libxml_rpl_la-HTMLparser.lo libxml/libxml_rpl_la-HTMLtree.lo
libxml/libxml_rpl_la-SAX.lo libxml/libxml_rpl_la-SAX2.lo
libxml/libxml_rpl_la-c14n.lo libxml/libxml_rpl_la-catalog.lo
libxml/libxml_rpl_la-chvalid.lo libxml/libxml_rpl_la-debugXML.lo
libxml/libxml_rpl_la-dict.lo libxml/libxml_rpl_la-encoding.lo
libxml/libxml_rpl_la-entities.lo libxml/libxml_rpl_la-error.lo
libxml/libxml_rpl_la-globals.lo libxml/libxml_rpl_la-hash.lo
libxml/libxml_rpl_la-legacy.lo libxml/libxml_rpl_la-list.lo
libxml/libxml_rpl_la-nanoftp.lo libxml/libxml_rpl_la-nanohttp.lo
libxml/libxml_rpl_la-parser.lo libxml/libxml_rpl_la-parserInternals.lo
libxml/libxml_rpl_la-pattern.lo libxml/libxml_rpl_la-relaxng.lo
libxml/libxml_rpl_la-schematron.lo libxml/libxml_rpl_la-thr!
eads.lo libxml/libxml_rpl_la-tree.lo libxml/libxml_rpl_la-uri.lo
libxml/libxml_rpl_la-valid.lo libxml/libxml_rpl_la-xinclude.lo
libxml/libxml_rpl_la-xlink.lo libxml/libxml_rpl_la-xmlIO.lo
libxml/libxml_rpl_la-xmlmemory.lo libxml/libxml_rpl_la-xmlmodule.lo
libxml/libxml_rpl_la-xmlreader.lo libxml/libxml_rpl_la-xmlregexp.lo
libxml/libxml_rpl_la-xmlsave.lo libxml/libxml_rpl_la-xmlschemas.lo
libxml/libxml_rpl_la-xmlschemastypes.lo
libxml/libxml_rpl_la-xmlstring.lo libxml/libxml_rpl_la-xmlunicode.lo
libxml/libxml_rpl_la-xmlwriter.lo libxml/libxml_rpl_la-xpath.lo
libxml/libxml_rpl_la-xpointer.lo ar cru .libs/libxml_rpl.a
libxml/.libs/libxml_rpl_la-DOCBparser.o
libxml/.libs/libxml_rpl_la-HTMLparser.o
libxml/.libs/libxml_rpl_la-HTMLtree.o libxml/.libs/libxml_rpl_la-SAX.o
libxml/.libs/libxml_rpl_la-SAX2.o libxml/.libs/libxml_rpl_la-c14n.o
libxml/.libs/libxml_rpl_la-catalog.o
libxml/.libs/libxml_rpl_la-chvalid.o
libxml/.libs/libxml_rpl_la-debugXML.o libxml/.libs/libxml_rpl_la-dict.o
libxml/.libs/libxml_rpl_la-encoding.o
libxml/.libs/libxml_rpl_la-entities.o
libxml/.libs/libxml_rpl_la-error.o libxml/.libs/libxml_rpl_la-globals.o
libxml/.libs/libxml_rpl_la-hash.o libxml/.libs/libxml_rpl_la-legacy.o
libxml/.libs/libxml_rpl_la-list.o libxml/.libs/libxml_rpl_la-nanoftp.o
libxml/.libs/libxml_rpl_la-nanohttp.o
libxml/.libs/libxml_rpl_la-parser.o
libxml/.libs/libxml_rpl_la-parserInternals.o
libxml/.libs/libxml_rpl_la-pattern.o
libxml/.libs/libxml_rpl_la-relaxng.o
libxml/.libs/libxml_rpl_la-schematron.o
libxml/.libs/libxml_rpl_la-threads.o libxml/.libs/libxml_rpl_la-tree.o
libxm!
l/.libs/libxml_rpl_la-uri.o libxml/.libs/libxml_rpl_la-valid.o
libxml/.libs/libxml_rpl_la-xinclude.o
libxml/.libs/libxml_rpl_la-xlink.o libxml/.libs/libxml_rpl_la-xmlIO.o
libxml/.libs/libxml_rpl_la-xmlmemory.o
libxml/.libs/libxml_rpl_la-xmlmodule.o
libxml/.libs/libxml_rpl_la-xmlreader.o
libxml/.libs/libxml_rpl_la-xmlregexp.o
libxml/.libs/libxml_rpl_la-xmlsave.o
libxml/.libs/libxml_rpl_la-xmlschemas.o
libxml/.libs/libxml_rpl_la-xmlschemastypes.o
libxml/.libs/libxml_rpl_la-xmlstring.o
libxml/.libs/libxml_rpl_la-xmlunicode.o
libxml/.libs/libxml_rpl_la-xmlwriter.o
libxml/.libs/libxml_rpl_la-xpath.o libxml/.libs/libxml_rpl_la-xpointer.o
ranlib .libs/libxml_rpl.a
creating libxml_rpl.la
(cd .libs && rm -f libxml_rpl.la && ln -s ../libxml_rpl.la libxml_rpl.la)
/bin/bash ../libtool --tag=CC   --mode=link cc  -Xa -xO4 -xstrconst
-xtarget=generic -m64 -xarch=generic -I/local/include
-I/local/gnu/include  -release 0.17 ../intl/libintl.la     -lc
-L/local/gnu/lib/64 -lcroco-0.6 -L/local/gnu/lib/64 -lglib-2.0
-L/local/gnu/lib/64 -lintl -lc -L/local/gnu/lib/64 -lxml2 -lpthread
-L/local/lib/64 -lz -lm -lsocket -lnsl -R/local/gnu/lib/64
-R/local/lib/64    -ltermcap -L/local/lib/64 -L/local/gnu/lib/64 -o
libgettextlib.la -rpath /local/gnu/lib/64 areadlink.lo gl_array_list.lo
backupfile.lo addext.lo basename.lo c-ctype.lo c-strcasecmp.lo
c-strncasecmp.lo c-strcasestr.lo c-strstr.lo classpath.lo clean-temp.lo
closeout.lo copy-file.lo csharpcomp.lo csharpexec.lo error-progname.lo
execute.lo exitfail.lo fatal-signal.lo fd-ostream.lo file-ostream.lo
concat-filename.lo findprog.lo fstrcmp.lo full-write.lo fwriteerror.lo
gcd.lo  hash.lo html-ostream.lo html-styled-ostream.lo  javacomp.lo
javaexec.lo javaversion.lo linebreak.lo gl_linkedhash_list.!
lo gl_list.lo localcharset.lo localename.lo lock.lo malloca.lo
mbchar.lo mbslen.lo mbsstr.lo mbswidth.lo ostream.lo pipe.lo
progname.lo propername.lo quote.lo quotearg.lo sh-quote.lo striconv.lo
strnlen1.lo styled-ostream.lo term-ostream.lo term-styled-ostream.lo
tls.lo tmpdir.lo uniname/uniname.lo unistr/u16-mbtouc.lo
unistr/u16-mbtouc-aux.lo unistr/u16-mbtouc-unsafe.lo
unistr/u16-mbtouc-unsafe-aux.lo unistr/u8-mbtouc.lo
unistr/u8-mbtouc-aux.lo unistr/u8-mbtouc-unsafe.lo
unistr/u8-mbtouc-unsafe-aux.lo unistr/u8-uctomb.lo
unistr/u8-uctomb-aux.lo uniwidth/width.lo wait-process.lo xmalloc.lo
xstrdup.lo xerror.lo xmalloca.lo xreadlink.lo xsetenv.lo xstriconv.lo
xvasprintf.lo xasprintf.lo acl.lo argmatch.lo asnprintf.lo
canonicalize-lgpl.lo error.lo file-has-acl.lo getdelim.lo getline.lo
getopt.lo getopt1.lo mkdtemp.lo obstack.lo printf-args.lo
printf-parse.lo safe-read.lo safe-write.lo stpcpy.lo stpncpy.lo
strnlen.lo tempname.lo vasnprintf.lo vasprintf.lo  libglib_rpl.la libx!
ml_rpl.la /usr/ccs/bin/ld -G -h libgettextlib-0.17.so -o
.libs/libgettextlib-0.17.so  .libs/areadlink.o .libs/gl_array_list.o
.libs/backupfile.o .libs/addext.o .libs/basename.o .libs/c-ctype.o
.libs/c-strcasecmp.o .libs/c-strncasecmp.o .libs/c-strcasestr.o
.libs/c-strstr.o .libs/classpath.o .libs/clean-temp.o .libs/closeout.o
.libs/copy-file.o .libs/csharpcomp.o .libs/csharpexec.o
.libs/error-progname.o .libs/execute.o .libs/exitfail.o
.libs/fatal-signal.o .libs/fd-ostream.o .libs/file-ostream.o
.libs/concat-filename.o .libs/findprog.o .libs/fstrcmp.o
.libs/full-write.o .libs/fwriteerror.o .libs/gcd.o .libs/hash.o
.libs/html-ostream.o .libs/html-styled-ostream.o .libs/javacomp.o
.libs/javaexec.o .libs/javaversion.o .libs/linebreak.o
.libs/gl_linkedhash_list.o .libs/gl_list.o .libs/localcharset.o
.libs/localename.o .libs/lock.o .libs/malloca.o .libs/mbchar.o
.libs/mbslen.o .libs/mbsstr.o .libs/mbswidth.o .libs/ostream.o
.libs/pipe.o .libs/progname.o .libs/propername.o .libs/quote.o .li!
bs/quotearg.o .libs/sh-quote.o .libs/striconv.o .libs/strnlen1.o
.libs/styled-ostream.o .libs/term-ostream.o .libs/term-styled-ostream.o
.libs/tls.o .libs/tmpdir.o uniname/.libs/uniname.o
unistr/.libs/u16-mbtouc.o unistr/.libs/u16-mbtouc-aux.o
unistr/.libs/u16-mbtouc-unsafe.o unistr/.libs/u16-mbtouc-unsafe-aux.o
unistr/.libs/u8-mbtouc.o unistr/.libs/u8-mbtouc-aux.o
unistr/.libs/u8-mbtouc-unsafe.o unistr/.libs/u8-mbtouc-unsafe-aux.o
unistr/.libs/u8-uctomb.o unistr/.libs/u8-uctomb-aux.o
uniwidth/.libs/width.o .libs/wait-process.o .libs/xmalloc.o
.libs/xstrdup.o .libs/xerror.o .libs/xmalloca.o .libs/xreadlink.o
.libs/xsetenv.o .libs/xstriconv.o .libs/xvasprintf.o .libs/xasprintf.o
.libs/acl.o .libs/argmatch.o .libs/asnprintf.o
.libs/canonicalize-lgpl.o .libs/error.o .libs/file-has-acl.o
.libs/getdelim.o .libs/getline.o .libs/getopt.o .libs/getopt1.o
.libs/mkdtemp.o .libs/obstack.o .libs/printf-args.o
.libs/printf-parse.o .libs/safe-read.o .libs/safe-write.o
.libs/stpcpy.o .lib!
s/stpncpy.o .libs/strnlen.o .libs/tempname.o .libs/vasnprintf.!
o .libs/
vasprintf.o -z allextract ./.libs/libglib_rpl.a ./.libs/libxml_rpl.a -z
defaultextract
-R/local/src/RPM/BUILD/gettext-0.17/gettext-tools/intl/.libs
-R/local/gnu/lib/64 -R/local/gnu/lib/64 -R/local/lib/64
../intl/.libs/libintl.so -L/local/lib/64 -L/local/gnu/lib/64
/local/gnu/lib/64/libcroco-0.6.so /local/gnu/lib/64/libglib-2.0.so
/local/gnu/lib/64/libintl.so -lc /local/gnu/lib/64/libxml2.so -lpthread
-lz -lm -lsocket -lnsl -ltermcap -lc ld: fatal: recording name
conflict: file `../intl/.libs/libintl.so' and file
`/local/gnu/lib/64/libintl.so' provide identical dependency names:
libintl.so.8  (possible multiple inclusion of the same file)
ld: fatal: File processing errors. No output written to
.libs/libgettextlib-0.17.so
gmake[4]: *** [libgettextlib.la] Error 1
gmake[4]: Leaving directory
`/local/src/RPM/BUILD/gettext-0.17/gettext-tools/gnulib-lib'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory
`/local/src/RPM/BUILD/gettext-0.17/gettext-tools/gnulib-lib'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/local/src/RPM/BUILD/gettext-0.17/gettext-tools'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/local/src/RPM/BUILD/gettext-0.17/gettext-tools'
gmake: *** [all-recursive] Error 1



Anyone else run into this, and have a suggestion for how to work around
the issue?

Tim
--
Tim Mooney                                             address@hidden
Enterprise Computing & Infrastructure                  701-231-1076 (Voice)
Room 242-J6, IACC Building                             701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164

Tim,

Have you read this(?)
http://www.nabble.com/gettext-0.17-build-problem-with-libcroco-td13638771.html

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]