
10 Jan
2022
10 Jan
'22
12:26 p.m.
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