ekmett / linear

Low-dimensional linear algebra primitives for Haskell.
http://hackage.haskell.org/package/linear
Other
200 stars 50 forks source link

Compilation failure w/ GHC 7.8.4 and lens-4.8 - there seems to be a missing symbol #72

Closed mgmeier closed 9 years ago

mgmeier commented 9 years ago

I've got a really strange failure building linear when lens is loaded via TH. Am I even at the right issue tracker here, or is something missing on the lens-side?

Configuring linear-1.18.0.1...
Building linear-1.18.0.1...
Preprocessing library linear-1.18.0.1...
[ 1 of 22] Compiling Linear.Instances ( src/Linear/Instances.hs, dist/build/Linear/Instances.o )
[ 2 of 22] Compiling Linear.Vector    ( src/Linear/Vector.hs, dist/build/Linear/Vector.o )
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package array-0.5.0.0 ... linking ... done.
Loading package deepseq-1.3.0.2 ... linking ... done.
Loading package containers-0.5.6.3 ... linking ... done.
Loading package stm-2.4.4 ... linking ... done.
Loading package transformers-0.4.2.0 ... linking ... done.
Loading package StateVar-1.1.0.0 ... linking ... done.
Loading package bytestring-0.10.4.1 ... linking ... done.
Loading package text-1.2.0.4 ... linking ... done.
Loading package hashable-1.2.3.1 ... linking ... done.
Loading package nats-1 ... linking ... done.
Loading package unordered-containers-0.2.5.1 ... linking ... done.
Loading package semigroups-0.16.0.1 ... linking ... done.
Loading package transformers-compat-0.4.0.4 ... linking ... done.
Loading package void-0.7 ... linking ... done.
Loading package contravariant-1.3 ... linking ... done.
Loading package tagged-0.7.3 ... linking ... done.
Loading package distributive-0.4.4 ... linking ... done.
Loading package comonad-4.2.5 ... linking ... done.
Loading package semigroupoids-4.3 ... linking ... done.
Loading package bifunctors-4.2.1 ... linking ... done.
Loading package mtl-2.2.1 ... linking ... done.
Loading package exceptions-0.6.1 ... linking ... done.
Loading package filepath-1.3.0.2 ... linking ... done.
Loading package prelude-extras-0.4 ... linking ... done.
Loading package profunctors-4.4.1 ... linking ... done.
Loading package pretty-1.1.1.1 ... linking ... done.
Loading package template-haskell ... linking ... done.
Loading package free-4.11 ... linking ... done.
Loading package adjunctions-4.2 ... linking ... done.
Loading package kan-extensions-4.2.1 ... linking ... done.
Loading package parallel-3.2.0.6 ... linking ... done.
Loading package primitive-0.5.4.0 ... linking ... done.
Loading package reflection-1.5.1.2 ... linking ... done.
Loading package vector-0.10.12.2 ... linking ... done.
Loading package lens-4.8 ... <command line>: can't load .so/.DLL for: /home/mgore/.cabal/lib/x86_64-linux-ghc-7.8.4/lens-4.8/libHSlens-4.8-ghc7.8.4.so (/home/mgore/.cabal/lib/x86_64-linux-ghc-7.8.4/lens-4.8/libHSlens-4.8-ghc7.8.4.so: undefined symbol: templatezmhaskell_LanguageziHaskellziTHziSyntax_zdfMonadQ4_closure)
glguy commented 9 years ago

This is likely a problem with your local installation. You might need to reinstall some things.

mgmeier commented 9 years ago

That did it, thank you. I was hesitant at first to throw away and rebuild all of ghc's packages, but alas... Sry for the noise, I'll close the issue.

ekmett commented 9 years ago

Just glad it wasn't something we did, because I had no idea how to fix it. =)