[Fontconfig] ld: 2 duplicate symbols for architecture x86_64

桃源老師 xanadu6291 at dream.jp
Tue Oct 9 08:26:25 UTC 2018


Hello list member, 

I’m trying to build fontconfig 2.13.1 on macOS 10.14 Mojave but it fails with error “ld: 2 duplicate symbols for architecture x86_64”.

The error portion is as follows: 

  CCLD     test-bz106632
duplicate symbol _FcConfigHome in:
    test_bz106632-test-bz106632.o
    ../src/.libs/libfontconfig.a(fccfg.o)
duplicate symbol _FcLangNormalize in:
    test_bz106632-test-bz106632.o
    ../src/.libs/libfontconfig.a(fclang.o)
ld: 2 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [test-bz106632] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

This error occurs with fontconfig 2.13.1 but never occurs with fontconfig 2.13.0.

Please help me how to fix it!!


Best Regards,

// Miya a.k.a. Tougenroushi


More information about the Fontconfig mailing list