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

problem installing async in os x #17

Open
uhotspot4 opened this issue Oct 30, 2014 · 0 comments
Open

problem installing async in os x #17

uhotspot4 opened this issue Oct 30, 2014 · 0 comments

Comments

@uhotspot4
Copy link

Trying to install async through luarockt on os x yosemite and I get the following error:

luarocks install async
Installing https://raw.githubusercontent.com/torch/rocks/master/async-scm-1.rockspec...
Using https://raw.githubusercontent.com/torch/rocks/master/async-scm-1.rockspec... switching to 'build' mode
Cloning into 'async'...
remote: Counting objects: 203, done.
remote: Compressing objects: 100% (176/176), done.
remote: Total 203 (delta 20), reused 167 (delta 20)
Receiving objects: 100% (203/203), 395.29 KiB | 435.00 KiB/s, done.
Resolving deltas: 100% (20/20), done.
Checking connectivity... done.
make LUA_BINDIR=/usr/local/bin LUA_LIBDIR=/usr/local/lib LUA_INCDIR=/usr/local/include
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C lhttp_parser LUA_BINDIR=/usr/local/bin LUA_LIBDIR=/usr/local/lib LUA_INCDIR=/usr/local/include
cc -c lhttp_parser.c -o lhttp_parser.o -Ihttp-parser -I /usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Werror -fPIC
CPPFLAGS=-fPIC /Applications/Xcode.app/Contents/Developer/usr/bin/make -C http-parser http_parser.o
cc -fPIC -I. -DHTTP_PARSER_STRICT=0 -Wall -Wextra -Werror -O3 -c http_parser.c
cc -bundle -o lhttp_parser.so lhttp_parser.o http-parser/http_parser.o -lm -lpthread -lluajit -L /usr/local/lib
Undefined symbols for architecture x86_64:
"_luaL_setfuncs", referenced from:
_luaopen_lhttp_parser in lhttp_parser.o
"_lua_callk", referenced from:
_lhttp_parser_on_message_begin in lhttp_parser.o
_lhttp_parser_on_url in lhttp_parser.o
_lhttp_parser_on_header_field in lhttp_parser.o
_lhttp_parser_on_header_value in lhttp_parser.o
_lhttp_parser_on_headers_complete in lhttp_parser.o
_lhttp_parser_on_body in lhttp_parser.o
_lhttp_parser_on_message_complete in lhttp_parser.o
...
"_lua_getuservalue", referenced from:
_lhttp_parser_on_message_begin in lhttp_parser.o
_lhttp_parser_on_url in lhttp_parser.o
_lhttp_parser_on_header_field in lhttp_parser.o
_lhttp_parser_on_header_value in lhttp_parser.o
_lhttp_parser_on_headers_complete in lhttp_parser.o
_lhttp_parser_on_body in lhttp_parser.o
_lhttp_parser_on_message_complete in lhttp_parser.o
...
"_lua_setuservalue", referenced from:
_lhttp_parser_new in lhttp_parser.o
"_lua_tointegerx", referenced from:
_lhttp_parser_parse_url in lhttp_parser.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [lhttp_parser.so] Error 1
make: *** [lhttp_parser/lhttp_parser.so] Error 2

Error: Build error: Failed building.

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

1 participant