Advertisement
inquba

Untitled

May 4th, 2012
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.80 KB | None | 0 0
  1. root@colin:~# chown -R colin:colin /usr/src/freeswitch
  2. root@colin:~# cd /usr/src/freeswitch/libs/esl
  3. root@colin:/usr/src/freeswitch/libs/esl# make perlmod
  4. 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" CXXFLAGS="-I/usr/src/freeswitch/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC" CXX_CFLAGS="" -C perl
  5. make[1]: Entering directory `/usr/src/freeswitch/libs/esl/perl'
  6. g++ -shared -Xlinker -x esl_wrap.o perlxsi.o ../libesl.a -Wl,-E -fstack-protector -L/usr/local/lib -L/usr/lib/perl/5.10/CORE -lperl -ldl -lm -lpthread -lc -lcrypt -lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt -o ESL.so -L.
  7. /usr/bin/ld: cannot find -ldb
  8. collect2: ld returned 1 exit status
  9. make[1]: *** [ESL.so] Error 1
  10. make[1]: Leaving directory `/usr/src/freeswitch/libs/esl/perl'
  11. make: *** [perlmod] Error 2
  12. root@colin:/usr/src/freeswitch/libs/esl# make perlmod
  13. 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" CXXFLAGS="-I/usr/src/freeswitch/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC" CXX_CFLAGS="" -C perl
  14. make[1]: Entering directory `/usr/src/freeswitch/libs/esl/perl'
  15. g++ -shared -Xlinker -x esl_wrap.o perlxsi.o ../libesl.a -Wl,-E -fstack-protector -L/usr/local/lib -L/usr/lib/perl/5.10/CORE -lperl -ldl -lm -lpthread -lc -lcrypt -lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt -o ESL.so -L.
  16. /usr/bin/ld: cannot find -ldb
  17. collect2: ld returned 1 exit status
  18. make[1]: *** [ESL.so] Error 1
  19. make[1]: Leaving directory `/usr/src/freeswitch/libs/esl/perl'
  20. make: *** [perlmod] Error 2
  21. root@colin:/usr/src/freeswitch/libs/esl#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement