Re: [asterisk-users] libspandsp.so.0: cannot open shared object file: No such file or directory
On Sun, Nov 30, 2008 at 12:08:19AM -0600, Doug wrote: At 15:13 11/29/2008, Doug Lytle wrote: Doug wrote: Thanks for your reply, Alex. Do I need a symlink in /usr/sbin/asterisk to point to /usr/local/lib/libspandsp.so.1.0.0 ? I'm going to ask a stupid question, You did run ldconfig, right? Yeppers. Right after editing /etc/ld.so.conf # Begin -- /etc/ld.so.conf include /etc/ld.so.conf.d/*.conf /usr/local/lib # End: --- /etc/ld.so.conf Why wouldn't it be: # Begin -- /etc/ld.so.conf include /etc/ld.so.conf.d/*.conf include /usr/local/lib # End: --- /etc/ld.so.conf Look at files with the pattern /etc/ld.so.conf.d/*.conf: E.g. on my Debian Lenny system: $ cat /etc/ld.so.conf.d/libc.conf # libc default configuration /usr/local/lib $ cat /etc/ld.so.conf.d/x86_64-linux-gnu.conf # Multiarch support /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu /usr/lib and /lib are implicit, IIRC. -- Tzafrir Cohen icq#16849755 jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/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
Re: [asterisk-users] libspandsp.so.0: cannot open shared object file: No such file or directory
Tzafrir Cohen wrote: I'm going to ask a stupid question, You did run ldconfig, right? Yeppers. Right after editing /etc/ld.so.conf You never mentioned your distro. Doug -- Ben Franklin quote: Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety. ___ -- 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
Re: [asterisk-users] libspandsp.so.0: cannot open shared object file: No such file or directory
At 06:44 11/30/2008, Doug Lytle wrote: Tzafrir Cohen wrote: I'm going to ask a stupid question, You did run ldconfig, right? Yeppers. Right after editing /etc/ld.so.conf You never mentioned your distro. Sorry about that! # cat /etc/issue; uname -a Debian GNU/Linux 4.0 \n \l Linux Popeye 2.6.18-6-686 #1 SMP Mon Oct 13 16:13:09 UTC 2008 i686 GNU/Linux ___ -- 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
Re: [asterisk-users] libspandsp.so.0: cannot open shared object file: No such file or directory
At 02:10 11/30/2008, Tzafrir Cohen wrote: On Sun, Nov 30, 2008 at 12:08:19AM -0600, Doug wrote: At 15:13 11/29/2008, Doug Lytle wrote: Doug wrote: Thanks for your reply, Alex. Do I need a symlink in /usr/sbin/asterisk to point to /usr/local/lib/libspandsp.so.1.0.0 ? I'm going to ask a stupid question, You did run ldconfig, right? Yeppers. Right after editing /etc/ld.so.conf # Begin -- /etc/ld.so.conf include /etc/ld.so.conf.d/*.conf /usr/local/lib # End: --- /etc/ld.so.conf Why wouldn't it be: # Begin -- /etc/ld.so.conf include /etc/ld.so.conf.d/*.conf include /usr/local/lib # End: --- /etc/ld.so.conf Look at files with the pattern /etc/ld.so.conf.d/*.conf: E.g. on my Debian Lenny system: $ cat /etc/ld.so.conf.d/libc.conf # libc default configuration /usr/local/lib $ cat /etc/ld.so.conf.d/x86_64-linux-gnu.conf # Multiarch support /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu /usr/lib and /lib are implicit, IIRC. Alrighty, then. As long as it works. Any idea why libspandsp.so.0 can't be found? ___ -- 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
Re: [asterisk-users] libspandsp.so.0: cannot open shared object file: No such file or directory
On Sun, Nov 30, 2008 at 12:02:44AM -0600, Doug wrote: At 15:32 11/29/2008, Tzafrir Cohen wrote: On Sat, Nov 29, 2008 at 02:59:18PM -0600, Doug wrote: Thanks for your reply, Alex. At 00:14 11/29/2008, Alex Balashov wrote: Paste 'ldd /usr/sbin/asterisk'. ldd /usr/sbin/asterisk linux-gate.so.1 = (0xe000) libdl.so.2 = /lib/tls/i686/cmov/libdl.so.2 (0xb7f98000) libpthread.so.0 = /lib/tls/i686/cmov/libpthread.so.0 (0xb7f86000) libncurses.so.5 = /lib/libncurses.so.5 (0xb7f44000) libm.so.6 = /lib/tls/i686/cmov/libm.so.6 (0xb7f1f000) libresolv.so.2 = /lib/tls/i686/cmov/libresolv.so.2 (0xb7f0c000) libssl.so.0.9.8 = /usr/lib/i686/cmov/libssl.so.0.9.8 (0xb7ecd000) libc.so.6 = /lib/tls/i686/cmov/libc.so.6 (0xb7d9c000) /lib/ld-linux.so.2 (0xb7fa4000) libcrypto.so.0.9.8 = /usr/lib/i686/cmov/libcrypto.so.0.9.8 (0xb7c61000) libz.so.1 = /usr/lib/libz.so.1 (0xb7c4d000) Do I need a symlink in /usr/sbin/asterisk to point to /usr/local/lib/libspandsp.so.1.0.0 ? No. Not in /usr/sbin/asterisk . In the specific module . Try e.g.: ldd /usr/lib/asterisk/modules/app_fax.so OK: ldd /usr/lib/asterisk/modules/app_rxfax.so linux-gate.so.1 = (0xe000) libspandsp.so.0 = not found libtiff.so.4 = /usr/lib/libtiff.so.4 (0xb7ef9000) libc.so.6 = /lib/tls/i686/cmov/libc.so.6 (0xb7dc8000) libjpeg.so.62 = /usr/lib/libjpeg.so.62 (0xb7da8000) libz.so.1 = /usr/lib/libz.so.1 (0xb7d94000) libm.so.6 = /lib/tls/i686/cmov/libm.so.6 (0xb7d6f000) /lib/ld-linux.so.2 (0x8000) How come it can't find it? #find / -name libspandsp.so.0 /usr/local/lib/libspandsp.so.0 # cd /usr/local/lib/ # ls -lt lib* lrwxrwxrwx 1 root staff 19 2008-11-28 22:42 libspandsp.so.0 - libspandsp.so.1.0.0 This symlink was added manually, right? libspandsp as of 0.0.5pre1 bumped SONAME to 1. That is: it has declared it changed its binary interface (ABI). Your manual symlink attempts to declare that the newer spandsp is compatible with the older one (read: that it will not segfault Asterisk) -rw-r--r-- 1 root staff 1849266 2008-11-13 13:26 libspandsp.a -rwxr-xr-x 1 root staff 865 2008-11-13 13:26 libspandsp.la lrwxrwxrwx 1 root staff 19 2008-11-13 13:26 libspandsp.so - libspandsp.so.1.0.0 lrwxrwxrwx 1 root staff 19 2008-11-13 13:26 libspandsp.so.1 - libspandsp.so.1.0.0 -rwxr-xr-x 1 root staff 1433877 2008-11-13 13:26 libspandsp.so.1.0.0 Those links were set at install-time, I guess. Try removing both symlinks and running ldconfig again . Do you get any messages? Or maybe 'ldconfig -v' and see what happens. -- Tzafrir Cohen icq#16849755 jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/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
Re: [asterisk-users] libspandsp.so.0: cannot open shared object file: No such file or directory
At 14:30 11/30/2008, Tzafrir Cohen wrote: On Sun, Nov 30, 2008 at 12:02:44AM -0600, Doug wrote: At 15:32 11/29/2008, Tzafrir Cohen wrote: On Sat, Nov 29, 2008 at 02:59:18PM -0600, Doug wrote: Thanks for your reply, Alex. At 00:14 11/29/2008, Alex Balashov wrote: Paste 'ldd /usr/sbin/asterisk'. ldd /usr/sbin/asterisk linux-gate.so.1 = (0xe000) libdl.so.2 = /lib/tls/i686/cmov/libdl.so.2 (0xb7f98000) libpthread.so.0 = /lib/tls/i686/cmov/libpthread.so.0 (0xb7f86000) libncurses.so.5 = /lib/libncurses.so.5 (0xb7f44000) libm.so.6 = /lib/tls/i686/cmov/libm.so.6 (0xb7f1f000) libresolv.so.2 = /lib/tls/i686/cmov/libresolv.so.2 (0xb7f0c000) libssl.so.0.9.8 = /usr/lib/i686/cmov/libssl.so.0.9.8 (0xb7ecd000) libc.so.6 = /lib/tls/i686/cmov/libc.so.6 (0xb7d9c000) /lib/ld-linux.so.2 (0xb7fa4000) libcrypto.so.0.9.8 = /usr/lib/i686/cmov/libcrypto.so.0.9.8 (0xb7c61000) libz.so.1 = /usr/lib/libz.so.1 (0xb7c4d000) Do I need a symlink in /usr/sbin/asterisk to point to /usr/local/lib/libspandsp.so.1.0.0 ? No. Not in /usr/sbin/asterisk . In the specific module . Try e.g.: ldd /usr/lib/asterisk/modules/app_fax.so OK: ldd /usr/lib/asterisk/modules/app_rxfax.so linux-gate.so.1 = (0xe000) libspandsp.so.0 = not found libtiff.so.4 = /usr/lib/libtiff.so.4 (0xb7ef9000) libc.so.6 = /lib/tls/i686/cmov/libc.so.6 (0xb7dc8000) libjpeg.so.62 = /usr/lib/libjpeg.so.62 (0xb7da8000) libz.so.1 = /usr/lib/libz.so.1 (0xb7d94000) libm.so.6 = /lib/tls/i686/cmov/libm.so.6 (0xb7d6f000) /lib/ld-linux.so.2 (0x8000) How come it can't find it? #find / -name libspandsp.so.0 /usr/local/lib/libspandsp.so.0 # cd /usr/local/lib/ # ls -lt lib* lrwxrwxrwx 1 root staff 19 2008-11-28 22:42 libspandsp.so.0 - libspandsp.so.1.0.0 This symlink was added manually, right? Yes. libspandsp as of 0.0.5pre1 bumped SONAME to 1. That is: it has declared it changed its binary interface (ABI). Your manual symlink attempts to declare that the newer spandsp is compatible with the older one (read: that it will not segfault Asterisk) -rw-r--r-- 1 root staff 1849266 2008-11-13 13:26 libspandsp.a -rwxr-xr-x 1 root staff 865 2008-11-13 13:26 libspandsp.la lrwxrwxrwx 1 root staff 19 2008-11-13 13:26 libspandsp.so - libspandsp.so.1.0.0 lrwxrwxrwx 1 root staff 19 2008-11-13 13:26 libspandsp.so.1 - libspandsp.so.1.0.0 -rwxr-xr-x 1 root staff 1433877 2008-11-13 13:26 libspandsp.so.1.0.0 Those links were set at install-time, I guess. Try removing both symlinks and running ldconfig again . Do you get any messages? Or maybe 'ldconfig -v' and see what happens. Thanks. Will do: :/usr/local/lib# ldconfig -v ldconfig: Can't stat /lib64: No such file or directory ldconfig: Can't stat /usr/lib64: No such file or directory /lib/i486-linux-gnu: /usr/lib/i486-linux-gnu: /usr/local/lib: libspandsp.so.1 - libspandsp.so.1.0.0 (changed) /lib: libmemusage.so - libmemusage.so libproc-3.2.7.so - libproc-3.2.7.so libselinux.so.1 - libselinux.so.1 libsepol.so.1 - libsepol.so.1 libattr.so.1 - libattr.so.1.1.0 libSegFault.so - libSegFault.so libutil.so.1 - libutil-2.3.6.so libblkid.so.1 - libblkid.so.1.0 libcidn.so.1 - libcidn-2.3.6.so libgcc_s.so.1 - libgcc_s.so.1 libthread_db.so.1 - libthread_db-1.0.so libnsl.so.1 - libnsl-2.3.6.so libpamc.so.0 - libpamc.so.0.79 libresolv.so.2 - libresolv-2.3.6.so libncursesw.so.5 - libncursesw.so.5.5 libconsole.so.0 - libconsole.so.0.0.0 libusb-0.1.so.4 - libusb-0.1.so.4.4.4 libext2fs.so.2 - libext2fs.so.2.4 libpam_misc.so.0 - libpam_misc.so.0.79 libpthread.so.0 - libpthread-0.10.so libvolume_id.so.0 - libvolume_id.so.0.75.0 libnss_compat.so.2 - libnss_compat-2.3.6.so libnss_files.so.2 - libnss_files-2.3.6.so libnss_dns.so.2 - libnss_dns-2.3.6.so libhistory.so.5 - libhistory.so.5.2 libe2p.so.2 - libe2p.so.2.3 libncurses.so.5 - libncurses.so.5.5 libanl.so.1 - libanl-2.3.6.so libBrokenLocale.so.1 - libBrokenLocale-2.3.6.so libslang.so.2 - libslang.so.2.0.6 libsemanage.so.1 - libsemanage.so.1 libpcprofile.so - libpcprofile.so libc.so.6 - libc-2.3.6.so libnss_hesiod.so.2 - libnss_hesiod-2.3.6.so libdevmapper.so.1.02 - libdevmapper.so.1.02 libreadline.so.5 - libreadline.so.5.2 libacl.so.1 - libacl.so.1.1.0 libwrap.so.0 - libwrap.so.0.7.6 libnss_nisplus.so.2 - libnss_nisplus-2.3.6.so libcfont.so.0 - libcfont.so.0.0.0
Re: [asterisk-users] libspandsp.so.0: cannot open shared object file: No such file or directory
On Sun, Nov 30, 2008 at 08:21:05PM -0600, Doug wrote: I think that it might be important to add that these .so files were compiled sometime back. They work on our production system. I was not able to compile the more recent versions of rxfax and txfax: /usr/lib/asterisk/modules# ls -lt app_?xfax.so -rw-r--r-- 1 root root 159644 2007-03-14 01:01 app_rxfax.so -rw-r--r-- 1 root root 154725 2007-03-14 01:01 app_txfax.so At this point I'll just point you to a backport I once made of the then trunk app_fax.c for 1.4. http://svn.debian.org/viewsvn/pkg-voip/asterisk-spandsp-plugins/trunk/debian/ There are several files of interest there: * app_fax.c - The copy I worked with * debian/patches/app_fax_14 - the backport * debian/rules - to see how to build it (as an external module) Shouldn't be difficult to update this to the current version of app_fax.c, but I haven't had the time. -- Tzafrir Cohen icq#16849755 jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/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
Re: [asterisk-users] libspandsp.so.0: cannot open shared object file: No such file or directory
At 22:29 11/30/2008, Tzafrir Cohen wrote: On Sun, Nov 30, 2008 at 08:21:05PM -0600, Doug wrote: I think that it might be important to add that these .so files were compiled sometime back. They work on our production system. I was not able to compile the more recent versions of rxfax and txfax: /usr/lib/asterisk/modules# ls -lt app_?xfax.so -rw-r--r-- 1 root root 159644 2007-03-14 01:01 app_rxfax.so -rw-r--r-- 1 root root 154725 2007-03-14 01:01 app_txfax.so At this point I'll just point you to a backport I once made of the then trunk app_fax.c for 1.4. http://svn.debian.org/viewsvn/pkg-voip/asterisk-spandsp-plugins/trunk/debian/ There are several files of interest there: * app_fax.c - The copy I worked with * debian/patches/app_fax_14 - the backport * debian/rules - to see how to build it (as an external module) Shouldn't be difficult to update this to the current version of app_fax.c, but I haven't had the time. Thanks, Tzafrir. Looks like I am in a bit of a bind. Need a version that works on Asterisk 1.2. Trying to duplicate a production server for redundancy and testing. I may have to go backwards to: Asterisk 1.2.24, and related programs, in order to get everything to work. Yikes! Does anyone have a working version of app_rxfax.c that works with Asterisk 1.2.30.2? ___ -- 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
Re: [asterisk-users] libspandsp.so.0: cannot open shared object file: No such file or directory
Thanks for your reply, Alex. At 00:14 11/29/2008, Alex Balashov wrote: Paste 'ldd /usr/sbin/asterisk'. ldd /usr/sbin/asterisk linux-gate.so.1 = (0xe000) libdl.so.2 = /lib/tls/i686/cmov/libdl.so.2 (0xb7f98000) libpthread.so.0 = /lib/tls/i686/cmov/libpthread.so.0 (0xb7f86000) libncurses.so.5 = /lib/libncurses.so.5 (0xb7f44000) libm.so.6 = /lib/tls/i686/cmov/libm.so.6 (0xb7f1f000) libresolv.so.2 = /lib/tls/i686/cmov/libresolv.so.2 (0xb7f0c000) libssl.so.0.9.8 = /usr/lib/i686/cmov/libssl.so.0.9.8 (0xb7ecd000) libc.so.6 = /lib/tls/i686/cmov/libc.so.6 (0xb7d9c000) /lib/ld-linux.so.2 (0xb7fa4000) libcrypto.so.0.9.8 = /usr/lib/i686/cmov/libcrypto.so.0.9.8 (0xb7c61000) libz.so.1 = /usr/lib/libz.so.1 (0xb7c4d000) Do I need a symlink in /usr/sbin/asterisk to point to /usr/local/lib/libspandsp.so.1.0.0 ? Doug wrote: libspandsp.so.0: cannot open shared object file: No such file or directory Created the symlink: /usr/local/lib# ls -lt lib* lrwxrwxrwx 1 root staff 19 2008-11-28 22:42 libspandsp.so.0 - libspandsp.so.1.0.0 -rw-r--r-- 1 root staff 1849266 2008-11-13 13:26 libspandsp.a -rwxr-xr-x 1 root staff 865 2008-11-13 13:26 libspandsp.la lrwxrwxrwx 1 root staff 19 2008-11-13 13:26 libspandsp.so - libspandsp.so.1.0.0 lrwxrwxrwx 1 root staff 19 2008-11-13 13:26 libspandsp.so.1 - libspandsp.so.1.0.0 -rwxr-xr-x 1 root staff 1433877 2008-11-13 13:26 libspandsp.so.1.0.0 Edited /etc/ld.so.conf: # Begin -- /etc/ld.so.conf include /etc/ld.so.conf.d/*.conf /usr/local/lib # End: --- /etc/ld.so.conf Googled the heck out of it: http://www.google.com/search?q=libspandsp.so.0:+cannot+open+shared+object Still can't find the answer. Any ideas? ___ -- 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
Re: [asterisk-users] libspandsp.so.0: cannot open shared object file: No such file or directory
Doug wrote: Thanks for your reply, Alex. Do I need a symlink in /usr/sbin/asterisk to point to /usr/local/lib/libspandsp.so.1.0.0 ? I'm going to ask a stupid question, You did run ldconfig, right? Doug -- Ben Franklin quote: Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety. ___ -- 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
Re: [asterisk-users] libspandsp.so.0: cannot open shared object file: No such file or directory
On Sat, Nov 29, 2008 at 02:59:18PM -0600, Doug wrote: Thanks for your reply, Alex. At 00:14 11/29/2008, Alex Balashov wrote: Paste 'ldd /usr/sbin/asterisk'. ldd /usr/sbin/asterisk linux-gate.so.1 = (0xe000) libdl.so.2 = /lib/tls/i686/cmov/libdl.so.2 (0xb7f98000) libpthread.so.0 = /lib/tls/i686/cmov/libpthread.so.0 (0xb7f86000) libncurses.so.5 = /lib/libncurses.so.5 (0xb7f44000) libm.so.6 = /lib/tls/i686/cmov/libm.so.6 (0xb7f1f000) libresolv.so.2 = /lib/tls/i686/cmov/libresolv.so.2 (0xb7f0c000) libssl.so.0.9.8 = /usr/lib/i686/cmov/libssl.so.0.9.8 (0xb7ecd000) libc.so.6 = /lib/tls/i686/cmov/libc.so.6 (0xb7d9c000) /lib/ld-linux.so.2 (0xb7fa4000) libcrypto.so.0.9.8 = /usr/lib/i686/cmov/libcrypto.so.0.9.8 (0xb7c61000) libz.so.1 = /usr/lib/libz.so.1 (0xb7c4d000) Do I need a symlink in /usr/sbin/asterisk to point to /usr/local/lib/libspandsp.so.1.0.0 ? No. Not in /usr/sbin/asterisk . In the specific module . Try e.g.: ldd /usr/lib/asterisk/modules/app_fax.so -- Tzafrir Cohen icq#16849755 jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/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
Re: [asterisk-users] libspandsp.so.0: cannot open shared object file: No such file or directory
At 15:32 11/29/2008, Tzafrir Cohen wrote: On Sat, Nov 29, 2008 at 02:59:18PM -0600, Doug wrote: Thanks for your reply, Alex. At 00:14 11/29/2008, Alex Balashov wrote: Paste 'ldd /usr/sbin/asterisk'. ldd /usr/sbin/asterisk linux-gate.so.1 = (0xe000) libdl.so.2 = /lib/tls/i686/cmov/libdl.so.2 (0xb7f98000) libpthread.so.0 = /lib/tls/i686/cmov/libpthread.so.0 (0xb7f86000) libncurses.so.5 = /lib/libncurses.so.5 (0xb7f44000) libm.so.6 = /lib/tls/i686/cmov/libm.so.6 (0xb7f1f000) libresolv.so.2 = /lib/tls/i686/cmov/libresolv.so.2 (0xb7f0c000) libssl.so.0.9.8 = /usr/lib/i686/cmov/libssl.so.0.9.8 (0xb7ecd000) libc.so.6 = /lib/tls/i686/cmov/libc.so.6 (0xb7d9c000) /lib/ld-linux.so.2 (0xb7fa4000) libcrypto.so.0.9.8 = /usr/lib/i686/cmov/libcrypto.so.0.9.8 (0xb7c61000) libz.so.1 = /usr/lib/libz.so.1 (0xb7c4d000) Do I need a symlink in /usr/sbin/asterisk to point to /usr/local/lib/libspandsp.so.1.0.0 ? No. Not in /usr/sbin/asterisk . In the specific module . Try e.g.: ldd /usr/lib/asterisk/modules/app_fax.so OK: ldd /usr/lib/asterisk/modules/app_rxfax.so linux-gate.so.1 = (0xe000) libspandsp.so.0 = not found libtiff.so.4 = /usr/lib/libtiff.so.4 (0xb7ef9000) libc.so.6 = /lib/tls/i686/cmov/libc.so.6 (0xb7dc8000) libjpeg.so.62 = /usr/lib/libjpeg.so.62 (0xb7da8000) libz.so.1 = /usr/lib/libz.so.1 (0xb7d94000) libm.so.6 = /lib/tls/i686/cmov/libm.so.6 (0xb7d6f000) /lib/ld-linux.so.2 (0x8000) How come it can't find it? #find / -name libspandsp.so.0 /usr/local/lib/libspandsp.so.0 # cd /usr/local/lib/ # ls -lt lib* lrwxrwxrwx 1 root staff 19 2008-11-28 22:42 libspandsp.so.0 - libspandsp.so.1.0.0 -rw-r--r-- 1 root staff 1849266 2008-11-13 13:26 libspandsp.a -rwxr-xr-x 1 root staff 865 2008-11-13 13:26 libspandsp.la lrwxrwxrwx 1 root staff 19 2008-11-13 13:26 libspandsp.so - libspandsp.so.1.0.0 lrwxrwxrwx 1 root staff 19 2008-11-13 13:26 libspandsp.so.1 - libspandsp.so.1.0.0 -rwxr-xr-x 1 root staff 1433877 2008-11-13 13:26 libspandsp.so.1.0.0 ___ -- 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
Re: [asterisk-users] libspandsp.so.0: cannot open shared object file: No such file or directory
At 15:13 11/29/2008, Doug Lytle wrote: Doug wrote: Thanks for your reply, Alex. Do I need a symlink in /usr/sbin/asterisk to point to /usr/local/lib/libspandsp.so.1.0.0 ? I'm going to ask a stupid question, You did run ldconfig, right? Yeppers. Right after editing /etc/ld.so.conf # Begin -- /etc/ld.so.conf include /etc/ld.so.conf.d/*.conf /usr/local/lib # End: --- /etc/ld.so.conf Why wouldn't it be: # Begin -- /etc/ld.so.conf include /etc/ld.so.conf.d/*.conf include /usr/local/lib # End: --- /etc/ld.so.conf Doug -- Ben Franklin quote: Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety. ___ -- 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 ___ -- 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
Re: [asterisk-users] libspandsp.so.0: cannot open shared object file: No such file or directory
Paste 'ldd /usr/sbin/asterisk'. Doug wrote: libspandsp.so.0: cannot open shared object file: No such file or directory Created the symlink: /usr/local/lib# ls -lt lib* lrwxrwxrwx 1 root staff 19 2008-11-28 22:42 libspandsp.so.0 - libspandsp.so.1.0.0 -rw-r--r-- 1 root staff 1849266 2008-11-13 13:26 libspandsp.a -rwxr-xr-x 1 root staff 865 2008-11-13 13:26 libspandsp.la lrwxrwxrwx 1 root staff 19 2008-11-13 13:26 libspandsp.so - libspandsp.so.1.0.0 lrwxrwxrwx 1 root staff 19 2008-11-13 13:26 libspandsp.so.1 - libspandsp.so.1.0.0 -rwxr-xr-x 1 root staff 1433877 2008-11-13 13:26 libspandsp.so.1.0.0 Edited /etc/ld.so.conf: # Begin -- /etc/ld.so.conf include /etc/ld.so.conf.d/*.conf /usr/local/lib # End: --- /etc/ld.so.conf Googled the heck out of it: http://www.google.com/search?q=libspandsp.so.0:+cannot+open+shared+object Still can't find the answer. Any ideas? ___ -- 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 -- Alex Balashov Evariste Systems Web: http://www.evaristesys.com/ Tel: (+1) (678) 954-0670 Direct : (+1) (678) 954-0671 Mobile : (+1) (706) 338-8599 ___ -- 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
RE: [Asterisk-Users] libspandsp.so.0
copy libspandsp.so.0 to /usr/lib/asterisk/modules -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Sunday, April 18, 2004 7:25 PM To: [EMAIL PROTECTED] Subject: [Asterisk-Users] libspandsp.so.0 I successfully compiled installed the spandsp-0.0.1k.tar.gz modules for faxing and patched the asterisk according to the readme and rebuilt and installed * but I am getting this error when attempting to start *. The libspandsp.so.0 file exists and I have coppied it to several directories recompiled and have the same results. What am I doing wrong? help please [app_rxfax.so]Apr 18 18:57:20 WARNING[1024]: loader.c:239 ast_load_resource: libspandsp.so.0: cannot open shared object file: No such file or directory Apr 18 18:57:20 WARNING[1024]: loader.c:407 load_modules: Loading module app_rxfax.so failed! ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] libspandsp.so.0
ldconfig - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, April 18, 2004 19:24 Subject: [Asterisk-Users] libspandsp.so.0 I successfully compiled installed the spandsp-0.0.1k.tar.gz modules for faxing and patched the asterisk according to the readme and rebuilt and installed * but I am getting this error when attempting to start *. The libspandsp.so.0 file exists and I have coppied it to several directories recompiled and have the same results. What am I doing wrong? help please [app_rxfax.so]Apr 18 18:57:20 WARNING[1024]: loader.c:239 ast_load_resource: libspandsp.so.0: cannot open shared object file: No such file or directory Apr 18 18:57:20 WARNING[1024]: loader.c:407 load_modules: Loading module app_rxfax.so failed! ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] libspandsp.so.0
If you used the default build and install configuration it will install the library in /usr/local/lib. Is that in yout library paths? Regards, Steve [EMAIL PROTECTED] wrote: I successfully compiled installed the spandsp-0.0.1k.tar.gz modules for faxing and patched the asterisk according to the readme and rebuilt and installed * but I am getting this error when attempting to start *. The libspandsp.so.0 file exists and I have coppied it to several directories recompiled and have the same results. What am I doing wrong? help please [app_rxfax.so]Apr 18 18:57:20 WARNING[1024]: loader.c:239 ast_load_resource: libspandsp.so.0: cannot open shared object file: No such file or directory Apr 18 18:57:20 WARNING[1024]: loader.c:407 load_modules: Loading module app_rxfax.so failed! ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] libspandsp.so.0
Put it in /etc/ld.so.conf (the path to the lib dir the file is in) then run ldconfig. Has anyone had any success with rxfax? Every time I have used it the tiff file has a garbled page. On Mon, 2004-04-19 at 11:02, Karl Brose wrote: ldconfig - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, April 18, 2004 19:24 Subject: [Asterisk-Users] libspandsp.so.0 I successfully compiled installed the spandsp-0.0.1k.tar.gz modules for faxing and patched the asterisk according to the readme and rebuilt and installed * but I am getting this error when attempting to start *. The libspandsp.so.0 file exists and I have coppied it to several directories recompiled and have the same results. What am I doing wrong? help please [app_rxfax.so]Apr 18 18:57:20 WARNING[1024]: loader.c:239 ast_load_resource: libspandsp.so.0: cannot open shared object file: No such file or directory Apr 18 18:57:20 WARNING[1024]: loader.c:407 load_modules: Loading module app_rxfax.so failed! ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Matthew Enger [EMAIL PROTECTED] Mob: 0412 463 080 Direct: (03) 9747 4001 X Integration A Netcruiser Pty Ltd business Ph: 1300 730 997 Fax: 1300 136 720 -- Matthew Enger [EMAIL PROTECTED] Xintegration ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] libspandsp.so.0
It's worked good for me... Only had a garbled page once when it was a 15 page fax, and that was a few versions ago so I'm not sure if it would do the same now or not Sam -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Enger Sent: Sunday, April 18, 2004 5:22 PM To: [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] libspandsp.so.0 Put it in /etc/ld.so.conf (the path to the lib dir the file is in) then run ldconfig. Has anyone had any success with rxfax? Every time I have used it the tiff file has a garbled page. On Mon, 2004-04-19 at 11:02, Karl Brose wrote: ldconfig - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, April 18, 2004 19:24 Subject: [Asterisk-Users] libspandsp.so.0 I successfully compiled installed the spandsp-0.0.1k.tar.gz modules for faxing and patched the asterisk according to the readme and rebuilt and installed * but I am getting this error when attempting to start *. The libspandsp.so.0 file exists and I have coppied it to several directories recompiled and have the same results. What am I doing wrong? help please [app_rxfax.so]Apr 18 18:57:20 WARNING[1024]: loader.c:239 ast_load_resource: libspandsp.so.0: cannot open shared object file: No such file or directory Apr 18 18:57:20 WARNING[1024]: loader.c:407 load_modules: Loading module app_rxfax.so failed! ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Matthew Enger [EMAIL PROTECTED] Mob: 0412 463 080 Direct: (03) 9747 4001 X Integration A Netcruiser Pty Ltd business Ph: 1300 730 997 Fax: 1300 136 720 -- Matthew Enger [EMAIL PROTECTED] Xintegration ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users smime.p7s Description: S/MIME cryptographic signature