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

unable to find [dynamically linked] libsass library #230

Open
shinenelson opened this issue Jul 1, 2018 · 0 comments
Open

unable to find [dynamically linked] libsass library #230

shinenelson opened this issue Jul 1, 2018 · 0 comments
Assignees

Comments

@shinenelson
Copy link

I've been trying to compile sassc from source, in vain.

I have libsass compiled fine ( via the autotools method ) to $HOME/.local/lib ( I don't have any implementation to test whether the library itself works, which is why I'm compiling sassc; but that has been in vain till now and is not really the problem here either ). I'm following the build instructions from the docs. My prefix for the configure command is $HOME/.local.

I can't seem to configure sassc for compilation. Every time I get the same error :
configure: error: unable to find libsass library (use --with-libsass?)

I tried :

  • statically linking the libsass library, but that didn't seem to make a difference.
  • using the --with-libsass, --with-libsass-lib and --with-libsass-include flags in different combinations.
  • using the SASS_LIBSASS_PATH variable (though I didn't think that was necessary since I already have $HOME/.local/lib in my $LD_LIBRARY_PATH, which the linker ld should pick up automatically)

Maybe, I'm putting the values for the configure flags wrong, so I'm going to put them here (the way I tried them out) :

  • --with-libsass=$HOME/.local/lib
  • --with-libsass-lib=$HOME/.local/lib
  • --with-libsass-include=$HOME/.local/include

Environment variables :

  • SASS_LIBSASS_PATH=$HOME/.local/lib
  • LD_LIBRARY_PATH=[...]:/home/shine/.local/lib:[...]

System Information :

  • Operating System : Debian 9 (stretch)
  • gcc 6.3.0 20170516
  • GNU Autoconf 2.69
  • libsass - compiled from source off of latest master
ls $HOME/.local/lib/libsass.*
/home/shine/.local/lib/libsass.a
/home/shine/.local/lib/libsass.la
/home/shine/.local/lib/libsass.so -> libsass.so.1*
/home/shine/.local/lib/libsass.so.1 -> libsass.so.1.0.0*
/home/shine/.local/lib/libsass.so.1.0.0
@saper saper self-assigned this Jul 16, 2018
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

2 participants