Re: ld: 2 duplicate symbols for architecture x86_64

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

 



That should be fixed by
https://gitlab.freedesktop.org/fontconfig/fontconfig/commit/8208f99fa1676c42bfd8d74de3e9dac5366c150c
or you could simply disable that build for static. i.e. add "if
!ENABLE_SHARED" and "endif" around that rule in Makefile.am.

Sorry for inconvenience.
On Tue, Oct 9, 2018 at 5:35 PM 桃源老師 <xanadu6291@xxxxxxxx> wrote:
>
> 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
> _______________________________________________
> Fontconfig mailing list
> Fontconfig@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/fontconfig



-- 
Akira TAGOH
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/fontconfig




[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux