[asterisk-users] Faxing: Anyone have a compiled executable?

Doug Doug at NaTel.net
Sun Jan 17 22:52:18 CST 2010


At 04:28 1/17/2010, Tzafrir Cohen wrote:
 >On Sun, Jan 17, 2010 at 11:10:25AM +0100, IT-Connect wrote:
 >> Hallo there!
 >> I had my own experience get RxFax/TxFax successful running with spandsp.
 >> I only got spandsp-0.0.4 running, because on newer package, there aren't
 >> created some needed libraries (don't remember the right one this moment)
 >> *find /usr -iname \*spandsp\** shows me following output:
 >> /usr/lib/libspandsp.so
 >> /usr/lib/pkgconfig/spandsp.pc
 >> /usr/lib/libspandsp.so.0.0.2
 >> /usr/lib/libspandsp.a
 >> /usr/lib/libspandsp.so.2
 >> /usr/lib/libspandsp.so.0
 >> /usr/lib/libspandsp.so.2.0.0
 >> /usr/lib/libspandsp.la
 >
 >...
 >
 >> [Jan 17 01:28:16] NOTICE[2479] loader.c: 145 modules will be loaded.
 >> [Jan 17 01:28:16] WARNING[2479] loader.c: Error loading module
 >> 'app_fax.so': libspandsp.so.2: cannot open shared object file: No
 >> such file or directory
 >
 >
 >What is the output of:
 >
 >  ls -l /usr/lib/libspandsp.so*

   # ls -l /usr/lib/libspandsp.so*
   ls: /usr/lib/libspandsp.so*: No such file or directory

   # find / -name "libspandsp*"
   /usr/src/asterisk/spandsp/spandsp-0.0.6/src/libspandsp.2005.vcproj
   /usr/src/asterisk/spandsp/spandsp-0.0.6/src/libspandsp.la
   /usr/src/asterisk/spandsp/spandsp-0.0.6/src/libspandsp.2008.sln
   /usr/src/asterisk/spandsp/spandsp-0.0.6/src/libspandsp.2005.sln
   /usr/src/asterisk/spandsp/spandsp-0.0.6/src/libspandsp.2008.vcproj
   /usr/src/asterisk/spandsp/spandsp-0.0.6/src/libspandsp.dsp
   /usr/src/asterisk/spandsp/spandsp-0.0.6/src/.libs/libspandsp.la
   /usr/src/asterisk/spandsp/spandsp-0.0.6/src/.libs/libspandsp.lai
   /usr/src/asterisk/spandsp/spandsp-0.0.6/src/.libs/libspandsp.so.2.0.0
   /usr/src/asterisk/spandsp/spandsp-0.0.6/src/.libs/libspandsp.so
   /usr/src/asterisk/spandsp/spandsp-0.0.6/src/.libs/libspandsp.a
   /usr/src/asterisk/spandsp/spandsp-0.0.6/src/.libs/libspandsp.so.2
   /usr/src/asterisk/spandsp/spandsp-0.0.6/debian/libspandsp-doc.install
   /usr/src/asterisk/spandsp/spandsp-0.0.6/debian/libspandsp6.install
   /usr/src/asterisk/spandsp/spandsp-0.0.6/debian/libspandsp-dev.install
   /usr/local/lib/libspandsp.la
   /usr/local/lib/libspandsp.so.2.0.0
   /usr/local/lib/libspandsp.so
   /usr/local/lib/libspandsp.a
   /usr/local/lib/libspandsp.so.2

Do I need a symbolic link?


 >  ldd /usr/lib/modules/app_fax.so

   # ldd /usr/lib/modules/app_fax.so
   ldd: /usr/lib/modules/app_fax.so: No such file or directory


   # find / -name "app_fax.so"
   /usr/src/asterisk/app_fax/app_fax.so
   /usr/lib/asterisk/modules/app_fax.so


   # ldd /usr/lib/asterisk/modules/app_fax.so
           linux-gate.so.1 =>  (0x0069f000)
           libspandsp.so.2 => not found
           libtiff.so.3 => /usr/lib/libtiff.so.3 (0x001eb000)
           libc.so.6 => /lib/libc.so.6 (0x003b3000)
           libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x0097a000)
           libz.so.1 => /usr/lib/libz.so.1 (0x00955000)
           libm.so.6 => /lib/libm.so.6 (0x00110000)
           /lib/ld-linux.so.2 (0x006ec000)

   # find / -name "libspandsp.so.2"
   /usr/src/asterisk/spandsp/spandsp-0.0.6/src/.libs/libspandsp.so.2
   /usr/local/lib/libspandsp.so.2

What is the proper location for libspandsp.so.2?


 >  ldd /usr/lib/libspandsp.so.2

   # ldd /usr/lib/libspandsp.so.2
   ldd: /usr/lib/libspandsp.so.2: No such file or directory


   # ldd /usr/local/lib/libspandsp.so.2
           linux-gate.so.1 =>  (0x00353000)
           libtiff.so.3 => /usr/lib/libtiff.so.3 (0x005f1000)
           libm.so.6 => /lib/libm.so.6 (0x004be000)
           libc.so.6 => /lib/libc.so.6 (0x00110000)
           libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00256000)
           libz.so.1 => /usr/lib/libz.so.1 (0x00bb5000)
           /lib/ld-linux.so.2 (0x006ec000)

I would have hoped that when compiling the
files would end up where the "depending"
programs expect them to be.

How to fix now, please?




 >
 >--
 >               Tzafrir Cohen
 >icq#16849755              jabber:tzafrir.cohen at xorcom.com
 >+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
 >http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir
 >
 >--
 >_____________________________________________________________________
 >-- Bandwidth and Colocation Provided by http://www.api-digital.com --
 >
 >asterisk-users mailing list
 >To UNSUBSCRIBE or update options visit:
 >   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list