0

I'm aiming to install APE in Ubuntu 14.04 LTS, a simple code for pseudopotential generation. I'm having this error message while running ./configure:

checking for gsl-config... no
checking for GSL - version >= 1.0... no
*** The gsl-config script installed by GSL could not be found
*** If GSL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GSL_CONFIG environment variable to the
*** full path to gsl-config.
configure: error: could not find required gsl library

I checked and I have the GSL already installed:

:~/Programas/ape-2.2.0$ dpkg -l | grep gsl
ii  libgsl0ldbl                    1.16+dfsg-1ubuntu1 
            i386     GNU Scientific Library (GSL) -- library package

So I have the library but the program installation isn't finding it. Any help?

Thanks in advance

4
  • 1
    What version of Ubuntu? Do you have the GSL development package installed (can you add the output of dpkg -l | grep GSL to your question please)? Jun 9, 2014 at 23:59
  • Ok corrected, it's Ubuntu 14.04 LTS and the library package GLS appears as installed on Software Center. There there are another GLS packages but they are not issued as 'libraries'
    – Orr22
    Jun 10, 2014 at 2:16
  • Try installing the libgsl0-dev package (that's gee-ess-ell-zero) Jun 10, 2014 at 2:20
  • That worked, GSL found while running ./configure, thanks
    – Orr22
    Jun 10, 2014 at 2:26

1 Answer 1

0

The GSL include and library environments are provided in this case by the gsl-config program (which is a kind of mini pkg-config specifically for GSL) e.g.

$ gsl-config --cflags --libs
-I/usr/include
-L/usr/lib -lgsl -lgslcblas -lm

The gsl-config program is provided by package libgsl0-dev so the error is telling you that you need to install that package.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .