[Freeswitch-users] rubymod - ESL compile error

Matthew Fong mattdfong at gmail.com
Fri Mar 27 04:48:45 PDT 2009


I'm trying to get rubymod, working to experiment with it, but I'm getting
the following error when I try to make on my Ubuntu system.
root at ubuntu:/usr/src/freeswitch/libs/esl# make rubymod
make MYLIB="../libesl.a" SOLINK="-shared -Xlinker -x"
CFLAGS="-I/usr/src/freeswitch/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb
-I../../libs/libedit/src/ -fPIC -O2 -ffast-math -Wall -Werror
-Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes"
CXXFLAGS="-I/usr/src/freeswitch/libs/esl/src/include -DHAVE_EDITLINE -g
-ggdb -I../../libs/libedit/src/ -fPIC -Wall -Werror -Wno-unused-variable"
CXX_CFLAGS="" -C ruby
make[1]: Entering directory `/usr/src/freeswitch/libs/esl/ruby'
g++ -shared -Xlinker -x esl_wrap.o ../libesl.a -lruby -o ESL.so -L.
/usr/bin/ld: cannot find -lruby
collect2: ld returned 1 exit status
make[1]: *** [ESL.so] Error 1
make[1]: Leaving directory `/usr/src/freeswitch/libs/esl/ruby'
make: *** [rubymod] Error 2

I'm currently using event sockets with a fully ruby implementation, but it's
sort of slow at reading sockets. If I can get it working, it will be
interesting seeing if I can improve performance. Does rubymod support events
the same way the perlmod does? Thanks.

--matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090327/6fa833b2/attachment-0002.html 


More information about the FreeSWITCH-users mailing list