I installed asterisk (using trixbox) a few months ago and all has been working fine until I went to add an IAX trunk.
When I added the trunk asterisk needed the zaptel libraries, which I compiled in with seemingly no problem (the zaptel service starts fine).
The problem starts when I try to start asterisk, it fails with the following error:
Sep 6 22:36:42 VERBOSE logger.c: [chan_zap.so]Sep 6 22:36:42 WARNING loader.c: libtonezone.so.1.0: cannot open shared object file: No such file or directory
Sep 6 22:36:42 WARNING loader.c: Loading module chan_zap.so failed!
Now, libtonezone.so.1.0 is in /usr/lib and in /usr/lib64 and I’ve tried linking it into other places in a failed attempt to make it work but with no avail.
Does anyone have any suggestions? I just can’t work out why asterisk can’t see the lib file - i’ve tried rebuilding zaptel with various versions all to the same effect.