Skip to content

GSL Linking Problem For Piranha Setup #19

@reformist

Description

@reformist

I'm having trouble running ./configure on the Mac 13.4 (22F66) Ventura system. After confirming GSL installment, I can't link GSL. I've tried xcode-select --install and ./configure CFLAGS="-I/opt/homebrew/Cellar/gsl/2.7.1/include" LDFLAGS="-L/opt/homebrew/Cellar/gsl/2.7.1/lib -lgsl -lgslcblas -lm"
I've also tried Xcode-select --install (which was recommended in this stack overflow answer: https://stackoverflow.com/questions/23905661/on-mac-g-clang-fails-to-search-usr-local-include-and-usr-local-lib-by-def) and just got the statement that command line tools are already installed

below is my error statement
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether we're compiling on Darwin/MacOS... yes
configure: no BAMTools headers directory specified
configure: no BAMTools library directory specified
checking for cos in -lm... yes
checking for cblas_dgemm in -lgslcblas... no
checking for gsl_blas_dgemm in -lgsl... no
checking for linking against gsl matrix... no
configure: error: could not find or link to GSL -- Piranha requires GSL and cannot be built without it. GSL can be downloaded from http://www.gnu.org/software/gsl/ -- please ensure GSL is correctly installed on your system

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions