reyman64
reyman64

Reputation: 553

Cabal don't find relative library for compilation of gsasl package

I'm using Haskell on webfaction server, with non root access, on a CentOS 6 system.

I have a /lib/ folder which contain libraries.

Actually, i have a problem with some libraries needed for an installation of package using cabal install.

I need the libgsasl library installed, so i download and compile the gsasl package from sources :

Next, i try two way with cabal install gsasl command, which actually fails :

Any of the command found the good libraries ...

The pkg-config package 'libgsasl' version superior to 1.1 is required but it could not be found.

So i verify, my version is 1.8, and i have the libgsasl.sa .la .so .so.7 .so.7.9.6 in $HOME/lib and i have a libgsasl.pc into $home/lib/pkgconfig

Any idea of the problem ?

Upvotes: 0

Views: 292

Answers (1)

ErikR
ErikR

Reputation: 52029

Make sure your PKG_CONFIG_PATH environment variable is set to include $HOME/lib/pkgconfig, i.e. the directory where you've placed libgsasl.pc.

Upvotes: 1

Related Questions