[Freeswitch-dev] Compiling on FreeBSD

Adrian Gschwend ktk at netlabs.org
Thu Nov 25 02:29:52 PST 2010

Hi group,

I use Freeswitch on FreeBSD for ages now, always trunk which I compile
every few weeks. Unfortunately it doesn't compile anymore for a while,
it fails in mod_spandsp

I checked the docs according to:


so I compiled both graphics/tiff-4.0.0 and graphics/jpeg-8_3, I'm on

But it doesn't find jpeg, like the possible error stated on Mod_spandsp
page. But unless I completely miss something here it *should* be
installed (in terms of the port is definitely there).

Creating mod_spandsp.la
/usr/bin/ld: cannot find -ljpeg
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_codecs.o   -Wl,-rpath
-Wl,/usr/local/src/freeswitch/.libs -Wl,-rpath
-L/usr/local/src/freeswitch/libs/tiff-3.8.2/libtiff/.libs -ljpeg
/usr/local/src/freeswitch/libs/apr/.libs/libapr-1.a -lcrypt -lpthread
/usr/local/src/freeswitch/libs/tiff-3.8.2/libtiff/.libs/libtiff.a -lz
-lm -lssl -lcrypto -lncurses    -Wl,-soname -Wl,mod_spandsp.so -o
gmake[4]: *** [mod_spandsp.la] Error 1
gmake[3]: *** [mod_spandsp-all] Error 1
gmake[2]: *** [all-recursive] Error 1

Any FreeBSD user which can compile that ATM? If so, what did I miss?

Will update the wiki once I get it to work.



Adrian Gschwend
@ netlabs.org

ktk [a t] netlabs.org
Open Source Project

More information about the FreeSWITCH-dev mailing list