Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7577717
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T17:15:35+00:00 2026-05-30T17:15:35+00:00

I am trying to install hmatrix on my Ubuntu Linux machine (don’t know if

  • 0

I am trying to install hmatrix on my Ubuntu Linux machine (don’t know if this is necessary, but it may help) and no matter what I do it will not work.

I run cabal install hmatrix and get this:

   Configuring hmatrix-0.13.1.0...
   Checking foreign libraries... FAIL
   *** Sorry, I can't link GSL.
   *** Please make sure that the appropriate -dev packages are installed.
   *** You can also specify the required libraries using
   *** cabal install hmatrix --configure-option=link:lib1,lib2,lib3,etc.
   setup: Package hmatrix-0.13.1.0 can't be built on this system.
   cabal: Error: some packages failed to install:
   hmatrix-0.13.1.0 failed during the building phase. The exception was:
   ExitFailure 1

Apparently the ExitFailure 1 thing is a leftover from the original program.

When I run cabal configure I get

  Warning: 'hs-source-dirs: lib' directory does not exist.
  Checking foreign libraries... FAIL
  *** Sorry, I can't link GSL.
  *** Please make sure that the appropriate -dev packages are installed.
  *** You can also specify the required libraries using
  *** cabal install hmatrix --configure-option=link:lib1,lib2,lib3,etc.

Any help would be greatly appreciated and thank you for reading.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T17:15:37+00:00Added an answer on May 30, 2026 at 5:15 pm

    You have to install the C libraries, something like libgsl-dev (or -devel), and libgsl itself, but that should be pulled in by the dev package. hmatrix is a binding to a C library, so you need that installed to be able to install hmatrix.

    On my box, ghc-pkg describe hmatrix lists

    extra-libraries: gsl lapack gslcblas
    

    I’m not sure all of them are actually required for building hmatrix, but it wouldn’t harm to also install the dev packages for lapack and BLAS (which may be something else than gslcblas on Ubuntu).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was trying to install bundler in Linux Mint. but I'm getting this error
Trying to install Guard on my ubuntu machine, but when I try to run
When trying to install Bundler 0.8.1 on Ubuntu machine, it install fine but the
I am trying: install.packages(RGoogleDocs, repos = http://www.omegahat.org/R) As suggested here , but it doesn't
Trying to install pear package and keep getting this strange error. Can you shed
Trying to install Scrapy on Mac OSX 10.6 using this guide : When running
When trying to install my 32bit service on a Windows 64bit machine my installer
I am trying to install the new version of the twitter-bootstrap-rails gem (v2), but
I am trying to install dm-types for DataMapper on my machine with gem install
I am trying to install postgresql on ubuntu. I followed the steps from http://hocuspokus.net/2008/05/install-postgresql-on-ubuntu-804/

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.