Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ld warning on OS X regarding hlibsass #3

Open
archywillhe opened this issue Jan 27, 2016 · 2 comments
Open

ld warning on OS X regarding hlibsass #3

archywillhe opened this issue Jan 27, 2016 · 2 comments

Comments

@archywillhe
Copy link

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 archywillhe changed the title ld warning on OS X ld warning on OS X regarding hlibsass Jan 27, 2016
@meoblast001
Copy link
Owner

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

@turboMaCk
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants