Skip to content

Linux compilation issue #28

jlerouge opened this Issue Jan 16, 2013 · 1 comment

2 participants


I had some issues while compiling SilkJS, under Linux Mint 12 x64 (Ubuntu based distribution). It was complaining about :

  • ... undefined reference to 'operator new' ...
  • and libexpat & libdl dependences

I made some slight changes to src/Makefile and it worked :

silkjs: deps $(V8DIR) $(V8) $(CORE) $(OBJ) SilkJS.h Makefile
g++ -o silkjs $(CORE) $(OBJ) $(V8LIBS) -lmysqlclient -lmm -lgd -lncurses -lssl -lpthread -lsqlite3 -lcurl -lssh2 -lmemcached -lcairo -lexpat -ldl -Wl,-rpath=/usr/local/silkjs/src/v8,-rpath=$(V8LIB_DIR)

(changed "gcc" to "g++", and added -lexpat and -ldl linking)


Any chance you can make a, detect Mint is the OS in the top level Makefile and invoke the new Makefile?

If you fork the repo and issue a pull request, I'll add it to the repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.