diff --git a/THANKS.md b/THANKS.md
--- a/THANKS.md
+++ b/THANKS.md
@@ -126,3 +126,5 @@
 
 - Stephen J. Barr suggested flipping argument order in the double integral example
 
+- Greg Horn fixed the bus error on ghci 64-bit.
+
diff --git a/hmatrix.cabal b/hmatrix.cabal
--- a/hmatrix.cabal
+++ b/hmatrix.cabal
@@ -1,5 +1,5 @@
 Name:               hmatrix
-Version:            0.15.0.0
+Version:            0.15.0.1
 License:            GPL
 License-file:       LICENSE
 Author:             Alberto Ruiz
@@ -188,6 +188,10 @@
 
     if os(windows)
         extra-libraries: gsl-0 blas lapack
+
+    if os(linux)
+        if arch(x86_64)
+            cc-options: -fPIC
 
 -- The extra-libraries required for GSL and LAPACK
 -- should now be automatically detected by configure(.hs)
