Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

libsass is not compiled correctly by node-waf #1

Closed
andrew opened this issue Apr 24, 2012 · 1 comment
Closed

libsass is not compiled correctly by node-waf #1

andrew opened this issue Apr 24, 2012 · 1 comment

Comments

@andrew
Copy link
Contributor

andrew commented Apr 24, 2012

When compiling the cpp extension using node-waf, it appears that libsass is not being correctly built.

$ node-waf configure && node-waf build
$ node
> var sass = require('./sass');
{ render: [Function] }
>  sass.render('scss string')
dyld: lazy symbol binding failed: Symbol not found: _sass_new_context
  Referenced from: /Users/andrew/code/node-sass/build/Release/sass.node
  Expected in: flat namespace

dyld: Symbol not found: _sass_new_context
  Referenced from: /Users/andrew/code/node-sass/build/Release/sass.node
  Expected in: flat namespace

Trace/BPT trap: 5

@hcatlin has a combined makefile for his sassc project that does a similar thing: https://github.com/hcatlin/sassc/blob/master/Makefile

@jedi4ever
Copy link

try LD_LBRARY_PATH='to where the lib lives' node

@andrew andrew closed this as completed Apr 27, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants