[Freeswitch-users] php esl compilation PBs

Jean-Yves F. Barbier 12ukwn at gmail.com
Tue Aug 24 19:11:52 PDT 2010


Debian sid
==========

Hi list,

I'm trying to figure out a way to compile ESL for PHP on my system.

I was obliged to copy ../src/include/* into .../esl/php and modify
them a bit, but I still have an error:

g++   -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM
-I/usr/include/php5/Zend -I/usr/include/php5/ext
-I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-Wno-unused-label -Wno-unused-function -c esl_wrap.cpp -o esl_wrap.o

esl_wrap.cpp:2583: attention : deprecated conversion from string constant
to ‘char*’ 

g++  esl_wrap.o   -lcrypt -lcrypt -lonig -ldb -lqdbm -lrt -lm
-ldl -lnsl -lcrypt -lcrypt -lpthread -o ESL.so -L. 

/usr/bin/ld: cannot find -lonig collect2: ld a retourné 1 code d'état 
d'exécution make: *** [ESL.so]

Error 1

Apparently it is a missing library (onig), but which one?

JY
-- 
On a clear disk you can seek forever.



More information about the FreeSWITCH-users mailing list