gabrielzmt / asterisk-chan-dongle

Automatically exported from code.google.com/p/asterisk-chan-dongle
Other
0 stars 0 forks source link

on module load I receive error "undefined symbol: libiconv" #190

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. i followed the procedure to install the chan_dongle-1.1.r14.tar.gz 
2. wget
3. tar -zxvf
4. ./configure
5. make 
6. make install
7. then on asterisk console "module load chan_dongle.so" and receive this error

d33p*CLI> module load chan_dongle.so
Unable to load module chan_dongle.so
Command 'module load chan_dongle.so' failed.
[Oct 30 15:02:45] WARNING[27717]: loader.c:449 load_dynamic_module: Error 
loading module 'chan_dongle.so': /usr/lib/asterisk/modules/chan_dongle.so: 
undefined symbol: libiconv
[Oct 30 15:02:45] WARNING[27717]: loader.c:839 load_resource: Module 
'chan_dongle.so' could not be loaded.

chan_dongle-1.1.r14
Asterisk 1.8.7.1 
Linux d33p 2.6.34 #3 SMP Fri Oct 25 15:05:09 CST 2013 i686 i686 i386 GNU/Linux
CentOS 5.5

Please see the attached file with install output.

Original issue reported on code.google.com by praetori...@gmail.com on 30 Oct 2014 at 1:14

Attachments:

GoogleCodeExporter commented 8 years ago
i forgot write " Thank you" :)

Original comment by praetori...@gmail.com on 30 Oct 2014 at 1:22

GoogleCodeExporter commented 8 years ago
Uploads to "downloads" tab forbidden by google. They disable this feature 
because start "Google disk" project.

chan_dongle-1.1.r14.tar.gz deprerated, but i cant upload new release in tar.
Please use "Source" tab ans svn for getting fresh sources.

About iconv - at configure time chan_dongle check existence of desired 
libraries include libiconv. May be your system misconfigured, for example 
library located in directory not listen in ld.so.conf 

Original comment by bg_...@mail.ru on 8 Nov 2014 at 11:55

GoogleCodeExporter commented 8 years ago
I searched the libiconv
[root@d33p /]# locate libiconv.so
/lib/libiconv.so.2
/usr/local/lib/libiconv.so
/usr/local/lib/libiconv.so.2
/usr/local/lib/libiconv.so.2.4.0
/usr/local/lib/preloadable_libiconv.so

I modified the config file ld.so.conf to include libiconv.so locations
[root@d33p /]# cat /etc/ld.so.conf
/lib
/usr/local/lib/

I printed the ldconfig -p command with filter by libiconv
Basically now i loaded the library 
[root@d33p /]# ldconfig -p | grep libiconv
        libiconv.so.2 (libc6) => /usr/local/lib/libiconv.so.2
        libiconv.so.2 (libc6) => /lib/libiconv.so.2
        libiconv.so (libc6) => /usr/local/lib/libiconv.so
Please can you send me the latest revision via email? I saw that it has around 
180KB.
When i replaced the files and do i more time configure & make & make install, I 
receive this error
[root@d33p chan_dongle.r41]# make
Makefile:5: *** missing separator.  Stop.
[root@d33p chan_dongle.r41]# make install
Makefile:5: *** missing separator.  Stop.

Thanks
Adrian

Original comment by praetori...@gmail.com on 11 Nov 2014 at 3:58