You are not logged in.

#1 2018-05-16 08:54:16

hanstech
Member
Registered: 2017-01-15
Posts: 16

Package installation error (gsl)

I am trying to install a package, and I get the below error

g++ -Wno-deprecated -O3 -fPIC  main.cpp ./obj/*o -lgsl -lgslcblas -static -o ./bin/gropop
/usr/bin/ld: cannot find -lgsl
/usr/bin/ld: cannot find -lgslcblas

I have gsl library installed.  Can anyone help please ?.

Shameem

Last edited by hanstech (2018-05-16 08:54:43)

Offline

#2 2018-05-16 09:17:30

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,313

Re: Package installation error (gsl)

Arch does not provide static libraries. Either make your program link dynamically or recompile gsl yourself with static libraries enabled.

Offline

#3 2018-05-16 09:22:41

hanstech
Member
Registered: 2017-01-15
Posts: 16

Re: Package installation error (gsl)

can you tell me, how can I link the librries dynamically ?

Offline

#4 2018-05-16 09:26:32

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: Package installation error (gsl)

If you mean link your program dynamically do not specify -static.

Offline

Board footer

Powered by FluxBB