[Freeswitch-users] Compiling in Debian Squeeze fails

Steven Ayre steveayre at gmail.com
Sun May 15 15:03:05 MSD 2011


/usr/bin/ld: cannot find -ljpeg

You're missing libjpeg-dev.

-Steve


On 15 May 2011 00:26, Zenny <garbytrash at gmail.com> wrote:
> Tried to compile with the Makefile downloaded from wget
> http://www.freeswitch.org/eg/Makefile to Debian Squeeze, it popped up an
> error message while compiling mod_spandsp (missing -ljpeg):
>
>> libtool: link: ranlib .libs/libspandsp.a
>> libtool: link: ( cd ".libs" && rm -f "libspandsp.la" && ln -s
>> "../libspandsp.la" "libspandsp.la" )
>> make[8]: Leaving directory `/usr/src/freeswitch.git/libs/spandsp/src'
>> make[7]: Leaving directory `/usr/src/freeswitch.git/libs/spandsp/src'
>> make[6]: Leaving directory `/usr/src/freeswitch.git/libs/spandsp'
>> Creating mod_spandsp.la
>> /usr/bin/ld: cannot find -ljpeg
>> collect2: ld returned 1 exit status
>> quiet_libtool: link: gcc -shared  .libs/mod_spandsp_la-mod_spandsp.o
>> .libs/mod_spandsp_la-udptl.o .libs/mod_spandsp_la-mod_spandsp_fax.o
>> .libs/mod_spandsp_la-mod_spandsp_dsp.o
>> .libs/mod_spandsp_la-mod_spandsp_codecs.o   -Wl,-rpath
>> -Wl,/usr/src/freeswitch.git/.libs -Wl,-rpath -Wl,/usr/local/freeswitch/lib
>> -ljpeg /usr/src/freeswitch.git/.libs/libfreeswitch.so
>> /usr/src/freeswitch.git/libs/spandsp/src/.libs/libspandsp.a
>> /usr/src/freeswitch.git/libs/tiff-3.8.2/libtiff/.libs/libtiff.a -lncurses
>> -pthread -Wl,-soname -Wl,mod_spandsp.so -o .libs/mod_spandsp.so
>> make[5]: *** [mod_spandsp.la] Error 1
>> make[5]: Leaving directory
>> `/usr/src/freeswitch.git/src/mod/applications/mod_spandsp'
>> make[4]: *** [mod_spandsp-all] Error 1
>> make[4]: Leaving directory `/usr/src/freeswitch.git/src/mod'
>> make[3]: *** [all-recursive] Error 1
>> make[3]: Leaving directory `/usr/src/freeswitch.git/src'
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory `/usr/src/freeswitch.git'
>> make[1]: *** [all] Error 2
>> make[1]: Leaving directory `/usr/src/freeswitch.git'
>> make: *** [freeswitch] Error 2
>>
>
> What package exactly satisfies this dependency problem?
>
> Thanks!
>
> /zenny
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>



More information about the FreeSWITCH-users mailing list