[Haskell-cafe] Linking + zstd on FreeBSD

Vanessa McHale vamchale at gmail.com
Mon Jun 29 14:43:43 UTC 2020


I tried linking against zstd within a Vagrant simulating FreeBSD. I get
the following:

ld: error: duplicate symbol: XXH64
>>> defined at xxhash.c
>>>            xxhash.o:(XXH64) in archive
/home/vagrant/.cabal/store/ghc-8.8.3/zstd-0.1.2.0-c8ee757c8e8a7307779ab3cfbc91f3445940e16bbf8f9916f4c90432a0ac499e/lib/libHSzstd-0.1.2.0-c8ee757c8e8a7307779ab3cfbc91f3445940e16bbf8f9916f4c90432a0ac499e.a
>>> defined at xxhash.c:693
(/wrkdirs/usr/ports/lang/ghc/work/ghc-8.8.3/rts/xxhash.c:693)
>>>            RTS.o:(.text.XXH64+0x0) in archive
/usr/local/lib/ghc-8.8.3/rts/libHSrts.a

...

I am using GHC version 8.8.3_1 and cabal-install 3.0 installed by 'sudo
pkg install ...'

(I was trying to run cabal install language-dickinson)

Cheers,
Vanessa McHale


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: OpenPGP digital signature
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20200629/27a0b7ee/attachment.sig>


More information about the Haskell-Cafe mailing list