[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haskell-cafe
Subject:    Re: [Haskell-cafe] strange link error
From:       PICCA Frederic-Emmanuel <frederic-emmanuel.picca () synchrotron-soleil ! fr>
Date:       2022-01-10 17:26:15
Message-ID: 1081535659.2997842.1641835575635.JavaMail.zimbra () synchrotron-soleil ! fr
[Download RAW message or body]

> So it works fine with `cabal run` and `cabal test` when the extra dirs are
> in .cabal file, but not fine when they are in the cabal.project.local file?
> There may or may not be a good reason for that. Could you
> search the cabal's issue tracker and either add to a ticket
> or create a new one? Thank you!

No in fact the first success story was a mistake.. due to a local install of the  \
library which was in the default search path of gcc. So now I need to wrap

cabal test  and cabal run binoculars-ng

in order to set LD_LIBRARY_PATH=<path to the extra library>

It seesm strage to me that this is required when we gives cabal configure \
extra-lib-dirs.

cheers

Fred
_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic