Undefined symbols for architecture x86_64

Mark Brethen mark.brethen at gmail.com
Mon Sep 17 13:33:27 UTC 2018


I’m getting the following error when trying to build current snapshot of reduce-csl:


:info:build Undefined symbols for architecture x86_64:
:info:build   "_libintl_dgettext", referenced from:
:info:build       _FcConfigFileInfoIterGet in libfontconfig.a(fccfg.o)
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make[3]: *** [csl] Error 1
:info:build make[2]: *** [all] Error 2

gettext @0.19.8.1_0
fontconfig @2.13.1_0 are installed.

Port fontconfig contains:
  /opt/local/bin/fc-cache
  /opt/local/bin/fc-cat
  /opt/local/bin/fc-conflist
  /opt/local/bin/fc-list
  /opt/local/bin/fc-match
  /opt/local/bin/fc-pattern
  /opt/local/bin/fc-query
  /opt/local/bin/fc-scan
  /opt/local/bin/fc-validate
  /opt/local/etc/fonts/conf.d/10-hinting-slight.conf
  /opt/local/etc/fonts/conf.d/10-scale-bitmap-fonts.conf
  /opt/local/etc/fonts/conf.d/20-unhint-small-vera.conf
  /opt/local/etc/fonts/conf.d/30-metric-aliases.conf
  /opt/local/etc/fonts/conf.d/40-nonlatin.conf
  /opt/local/etc/fonts/conf.d/45-generic.conf
  /opt/local/etc/fonts/conf.d/45-latin.conf
  /opt/local/etc/fonts/conf.d/49-sansserif.conf
  /opt/local/etc/fonts/conf.d/50-user.conf
  /opt/local/etc/fonts/conf.d/51-local.conf
  /opt/local/etc/fonts/conf.d/60-generic.conf
  /opt/local/etc/fonts/conf.d/60-latin.conf
  /opt/local/etc/fonts/conf.d/65-fonts-persian.conf
  /opt/local/etc/fonts/conf.d/65-nonlatin.conf
  /opt/local/etc/fonts/conf.d/69-unifont.conf
  /opt/local/etc/fonts/conf.d/80-delicious.conf
  /opt/local/etc/fonts/conf.d/90-synthetic.conf
  /opt/local/etc/fonts/conf.d/README
  /opt/local/etc/fonts/fonts.conf
  /opt/local/include/fontconfig/fcfreetype.h
  /opt/local/include/fontconfig/fcprivate.h
  /opt/local/include/fontconfig/fontconfig.h
  /opt/local/lib/libfontconfig.1.dylib
  /opt/local/lib/libfontconfig.a
  /opt/local/lib/libfontconfig.dylib
  /opt/local/lib/pkgconfig/fontconfig.pc
<snip>

Port gettext contains:
  /opt/local/bin/autopoint
  /opt/local/bin/envsubst
  /opt/local/bin/gettext
  /opt/local/bin/gettext.sh
  /opt/local/bin/gettextize
  /opt/local/bin/msgattrib
  /opt/local/bin/msgcat
  /opt/local/bin/msgcmp
  /opt/local/bin/msgcomm
  /opt/local/bin/msgconv
  /opt/local/bin/msgen
  /opt/local/bin/msgexec
  /opt/local/bin/msgfilter
  /opt/local/bin/msgfmt
  /opt/local/bin/msggrep
  /opt/local/bin/msginit
  /opt/local/bin/msgmerge
  /opt/local/bin/msgunfmt
  /opt/local/bin/msguniq
  /opt/local/bin/ngettext
  /opt/local/bin/recode-sr-latin
  /opt/local/bin/xgettext
  /opt/local/include/autosprintf.h
  /opt/local/include/gettext-po.h
  /opt/local/include/libintl.h
  /opt/local/lib/gettext/cldr-plurals
  /opt/local/lib/gettext/hostname
  /opt/local/lib/gettext/project-id
  /opt/local/lib/gettext/urlget
  /opt/local/lib/gettext/user-email
  /opt/local/lib/libasprintf.0.dylib
  /opt/local/lib/libasprintf.a
  /opt/local/lib/libasprintf.dylib
  /opt/local/lib/libgettextlib-0.19.8.1.dylib
  /opt/local/lib/libgettextlib.dylib
  /opt/local/lib/libgettextpo.0.dylib
  /opt/local/lib/libgettextpo.a
  /opt/local/lib/libgettextpo.dylib
  /opt/local/lib/libgettextsrc-0.19.8.1.dylib
  /opt/local/lib/libgettextsrc.dylib
  /opt/local/lib/libintl.8.dylib
  /opt/local/lib/libintl.a
  /opt/local/lib/libintl.dylib
<snip>

What am I missing?

Mark Brethen
mark.brethen at gmail.com





More information about the macports-dev mailing list