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@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
http://jira.freeswitch.org/browse/ESL-7 I think this might apply to you. /b On Mar 27, 2009, at 6:48 AM, Matthew Fong wrote:
/usr/bin/ld: cannot find -lruby collect2: ld returned 1 exit status
Brian West brian@freeswitch.org -- Meet us a ClueCon! http://www.cluecon.com
fixed revision 12805. Mike On Mar 27, 2009, at 9:49 AM, Brian West wrote:
http://jira.freeswitch.org/browse/ESL-7
I think this might apply to you.
/b
On Mar 27, 2009, at 6:48 AM, Matthew Fong wrote:
/usr/bin/ld: cannot find -lruby collect2: ld returned 1 exit status
Brian West brian@freeswitch.org
-- Meet us a ClueCon! http://www.cluecon.com
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Brian West
-
Matthew Fong
-
Michael Jerris