[asterisk-users] fax & spandsp

Edwin Lam edwin.lam at officegeneral.com
Tue Mar 16 14:59:15 CDT 2010


Steve Underwood wrote:
> Crashes of this kind are not uncommon, but the causes are:
> 
>      - Multiple versions of libtiff installed in different directories

checked that. got only single version.
> 
>      - Multiple versions of spandsp installed in different directories

i've got this:

Hydra:/usr/local/lib# ls -l libspandsp*
-rw-r--r-- 1 root staff 2098532 2010-03-07 17:05 libspandsp.a
-rwxr-xr-x 1 root staff     865 2010-03-07 17:05 libspandsp.la
lrwxrwxrwx 1 root staff      19 2010-03-07 17:05 libspandsp.so -> libspandsp.so.2.0.0
lrwxrwxrwx 1 root staff      19 2006-08-02 08:35 libspandsp.so.0 -> libspandsp.so.0.0.1
-rwxr-xr-x 1 root staff  976884 2006-08-02 08:35 libspandsp.so.0.0.1
lrwxrwxrwx 1 root staff      19 2010-03-07 17:05 libspandsp.so.2 -> libspandsp.so.2.0.0
-rwxr-xr-x 1 root staff 1597979 2010-03-07 17:05 libspandsp.so.2.0.0

but whereis command only show 1 version.

Hydra:/usr/local/lib# whereis libspandsp
libspandsp: /usr/local/lib/libspandsp.a /usr/local/lib/libspandsp.la /usr/local/lib/libspandsp.so

should i delete the .0.0.1 just in case?

> 
>      - Asterisk was built against a spandsp installed in a directory 
> that is not in the library search path, while another version of spandsp 
> is in a directory that is in the library search path. so, at run time 
> the wrong library is picked up.
> 
> Many machines will happily build and install a library to /usr/local, 
> and then successfully like applications against it, even though 
> /usr/local is not in the library search path. Dumb, but true.
> 
> The installation information page for spandsp, at 
> http://www.soft-switch.org/installing-spandsp.html , warns about these 
> issues.


-- 
Edwin Lam <edwin.lam at officegeneral.com>
Systems Engineer, Office General, Inc.
Ph: +1 415 439 4988 Fax: +1 415 283 3370
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0xD6506D20




More information about the asterisk-users mailing list