Build error - on linux, during make, near mod_spandsp
Ubuntu Lucid (10.04) via nightly tarball. Configure seems to run fine, but it breaks partway through the make. This is the output right before it exits: Making all in src Creating mod_spandsp.la /usr/bin/ld: cannot find -ljpeg collect2: ld returned 1 exit status 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-snapshot/.libs -Wl,--rpath -Wl,/usr/local/freeswitch/lib -L/usr/src/freeswitch-snapshot/libs/tiff-3.8.2/libtiff/.libs -lm -lz -ljpeg /usr/src/freeswitch-snapshot/.libs/libfreeswitch.so -L/usr/src/freeswitch-snapshot/libs/apr-util/xml/expat/lib -L/usr/src/freeswitch-snapshot/libs/apr-util/xml/expat/lib/.libs -L/usr/src/freeswitch-snapshot/libs/apr/.libs -L/usr/src/freeswitch-snapshot/libs/srtp /usr/src/freeswitch-snapshot/libs/spandsp/src/.libs/libspandsp.a -L/usr/src/freeswitch-snapshot/libs/tiff-3.8.2/libtiff /usr/src/freeswitch-snapshot/libs/tiff-3.8.2/libtiff/.libs/libtiff.a -lssl -lcrypto -lncurses -Wl,-soname -Wl,mod_spandsp.so -o .libs/mod_spandsp.so make[4]: *** [mod_spandsp.la] Error 1 make[3]: *** [mod_spandsp-all] Error 1 make[2]: *** [all-recursive] Error 1 The output above that (and in the configure) looks ok, unless there's something subtle to look out for. I carried on with the make install the first time, just in case, but the mod's that come after spandsp (alphabetically) weren't created. Any ideas? Cheers, Fraser ps. I have the prerequisites listed on the first line of http://wiki.freeswitch.org/wiki/Installation_Guide#Debian_Linux installed. I've installed on a Jaunty Ubuntu on AWS several times before without problem (using same prerequisites and installation steps.) pps. I know the git version is preferred, but I generally don't need to be on the cutting edge - but prove me wrong in this instance if you want :-)
According to the error you posted you are missing libjpeg. I'd suggest sudo apt-get install libjpeg-dev and that should resolve it for you. Probably should edit the wiki to include libjpeg-dev in addition to libtiff4-dev Try that and update the list if you have any further issues. -- W
On 06/27/2010 08:16 AM, William Suffill wrote:
According to the error you posted you are missing libjpeg. I'd suggest sudo apt-get install libjpeg-dev and that should resolve it for you. Probably should edit the wiki to include libjpeg-dev in addition to libtiff4-dev
Try that and update the list if you have any further issues.
-- W
Shouldn't libtiff4-dev depend of libjpeg-dev? Surely some of the defines in the JPEG headers are needed for the libtiff stuff. Steve
http://packages.ubuntu.com/karmic/libtiff4-dev Appears u are correct. Not sure why the configure test souldn't find it however. -- W
participants (3)
-
Fraser Redmond
-
Steve Underwood
-
William Suffill