stevedekorte/io — Issue #153: build error on ubuntu
Author: vissi
Created: 2011-10-12 21:34:48+00:00
State: open

hello!
i tried building io from latest source on ubuntu 11.10, installed necessary libs and ran into the following error:

[ 32%] Generating ../../../addons/AsyncRequest/source/IoAsyncRequestInit.c
/bin/sh: ../../_build/binaries/io_static: not found
make[2]: *** [../addons/AsyncRequest/source/IoAsyncRequestInit.c] Ошибка 127
make[1]: *** [addons/AsyncRequest/CMakeFiles/IoAsyncRequest.dir/all] Ошибка 2
make[1]: *** Waiting for unfinished jobs...
../_build/dll/libbasekit.so: undefined reference to `dlopen'
../_build/dll/libbasekit.so: undefined reference to `dlclose'
../_build/dll/libbasekit.so: undefined reference to `dlerror'
../_build/dll/libbasekit.so: undefined reference to `dlsym'
collect2: ld returned 1 exit status

Concerning the fact that ubuntu 11.10 is unstable, i tried doing the same thing on ubuntu 11.04, and got this:

In file included from /home/vissi/git/io/addons/Socket/source/IoEvHttpServer.h:14:0,
from /home/vissi/git/io/addons/Socket/source/IoEvHttpServer.c:6:
/usr/include/evhttp.h:223:2: error: expected specifier-qualifier-list before ‘ev_int64_t’

what can i do to get io built? thanks.