hakyll-sass icon indicating copy to clipboard operation
hakyll-sass copied to clipboard

ld warning on OS X regarding hlibsass

Open archywillhe opened this issue 9 years ago • 2 comments

When I do ghc --make site.hs I often get this warning

ld: warning: directory not found for option '-L/private/var/folders/77/zxlvnwsj3dv3nc6kt_szls2w0000gn/T/cabal-tmp-5380/hlibsass-0.1.5.0/libsass/lib'

though it doesn't really affect the compilation (i.e., I still can compile a working ./site). But I am just wondering what is causing the warning and if there exists a way to fix it (rather than just passing --quiet to gcc).

archywillhe avatar Jan 27 '16 19:01 archywillhe

I can't say for certain because I am not using OS X, but it appears as if that is where the compiled C library is placed. Can you check if this directory exists? Also, to see if it is an hlibsass problem, could you try compiling the following program using GHC and tell me if you get the same message?

import Bindings.Libsass
import Foreign.C.String

main = peekCString libsass_version >>= putStrLn

meoblast001 avatar Apr 19 '16 08:04 meoblast001

@meoblast001 I can confirm that this is issue with hlibsass itself.

screen shot 2016-11-08 at 19 11 57

That said I think that you can close this issue.

turboMaCk avatar Nov 08 '16 18:11 turboMaCk