editors/vim: buffer.c:(.text+0x1589): undefined reference to `libintl_gettext'

Jeffrey Bouquet jeffreybouquet at yahoo.com
Fri Jul 12 16:22:28 UTC 2013


I'd be interested in a solution to this, also, it consistently lets ports such as pinot, mc, mutt etc

fail to build, some to be only pkg-added later.  (v9.1-Stable)



________________________________
 editors/vim: buffer.c:(.text+0x1589): undefined reference to `libintl_gettext'
 

Updating port /editors/vim on a CURRENT box (FreeBSD 10.0-CURRENT #0
r253194: Thu Jul 11 10:45:47 CEST 2013 amd64) ends up in the error
shown below.

Since this happens only on exact one box running CURRENT (out of a
bunch of CURRENT of the same OS revision, the same compiler settings,
the same settings in /etc/src.conf et cetera) while other CURRENT don't
show this weird error, is suspect a faulty local library, like
libintl.so, which belongs to gettext I suppose.

Well, I tried to do a

portmaster -r editors/vim

as well as 

portmaster -r gettext

to "compile away" the suspected problem in one of the prerquisited
ports, but that didn't end up in success.

The problem is still sticky and I'm a bit out of ideas ...

Has anybody an idea?

Thanks and regards,

Oliver

[...]
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  cc   -L.  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread
-L/usr/local/lib -rdynamic -Wl,-R/usr/local/lib/perl5/5.16/mach/CORE
-L/usr/local/lib -Wl,--as-needed  -o vim objects/buffer.o
objects/blowfish.o  objects/charset.o  objects/diff.o
objects/digraph.o  objects/edit.o  objects/eval.o  objects/ex_cmds.o
objects/ex_cmds2.o  objects/ex_docmd.o  objects/ex_eval.o
objects/ex_getln.o  objects/fileio.o  objects/fold.o
objects/getchar.o  objects/hardcopy.o  objects/hashtab.o
objects/if_cscope.o  objects/if_xcmdsrv.o  objects/mark.o
objects/memline.o  objects/menu.o  objects/message.o  objects/misc1.o
objects/misc2.o  objects/move.o  objects/mbyte.o  objects/normal.o
objects/ops.o  objects/option.o  objects/os_unix.o  objects/pathdef.o
objects/popupmnu.o  objects/quickfix.o  objects/regexp.o
objects/screen.o  objects/search.o  objects/sha256.o  objects/spell.o
objects/syntax.o    objects/tag.o  objects/term.o  objects/ui.o
objects/undo.o  objects/version.o  objects/window.o
objects/if_lua.o    objects/if_perl.o objects/if_perlsfio.o
objects/if_python.o    objects/if_tcl.o  objects/if_ruby.o
objects/netbeans.o    objects/main.o  objects/memfile.o
-lm -lelf  -pthread -ltermlib -liconv
-Wl,-R/usr/local/lib/perl5/5.16/mach/CORE -pthread -Wl,-E
-fstack-protector -L/usr/local/lib
-L/usr/local/lib/perl5/5.16/mach/CORE -lperl -lm -lcrypt -lutil
-L/usr/local/lib/python2.7/config -lpython2.7 -lutil -lm
-Wl,--export-dynamic    -L/usr/local/lib -ltcl86 -lz -lpthread -lm
-Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -lexecinfo
-lpthread -lcrypt -lm -L/usr/local/lib
-Wl,-rpath=/usr/lib:/usr/local/lib -pthread -L/usr/local/lib
objects/buffer.o: In function `open_buffer': buffer.c:(.text+0x1df):
undefined reference to `libintl_gettext' buffer.c:(.text+0x1fb):
undefined reference to `libintl_gettext' objects/buffer.o: In function
`close_buffer': buffer.c:(.text+0x5d3): undefined reference to
`libintl_gettext' objects/buffer.o: In function `do_buffer':
buffer.c:(.text+0x1589): undefined reference to `libintl_gettext'
buffer.c:(.text+0x15bc): undefined reference to `libintl_gettext'
objects/buffer.o:buffer.c:(.text+0x163f): more undefined references to
`libintl_gettext' follow
freebsd-ports at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"




Bottom posting here.  New webmail won't even let me see it as I type. so top posting for now...


More information about the freebsd-ports mailing list