[Haskell-cafe] strange link error

PICCA Frederic-Emmanuel frederic-emmanuel.picca at synchrotron-soleil.fr
Mon Jan 10 16:48:37 UTC 2022


Hello, In fact I changed my strategie and now I use

cabal configure in order to gives the extra-lib-dirs and extra-include-dirs

It works great for the build

but When I try to run the program it end up with a can not found library libhkl.so.5

So my question is why theses extra-lib-dirs are not added to the LD_LIBRARY_PATH when we use

cabal run <programm>

and

cabal test

Cheers

Frederic


More information about the Haskell-Cafe mailing list