Skip to content

Linux compilation issue #28

@jlerouge

Description

@jlerouge

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

  • ... undefined reference to 'operator new[](unsigned long)' ...
  • 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions