New Asterisk Installation- Loading module failed

Hi, I’ve been using Asterisk for a few months now, and I wanted to set a new server up with a Digium TDM400P with 1 FXS and 1 FXO module (Green FXS module located in port 1 and Red FXO module located in port 4). It is my first time working with this hardware configuration. I am folllowing the steps in the O’Reilly book, and have successfully compiled and installed Zaptel, Libpri, Asterisk, Asterisk-Addons, and Asterisk-sounds from source. I did a ‘make samples’ so I’m just dealing with the default Asterisk configuration.

As the O’Reilly book suggested, I edited the Zaptel.conf file and the Zapata.conf fiile. I will paste the error I get in the CLI as I try and load asterisk (asterisk -vvvvvvc) and then paste the changes I have made to Zaptel.conf and Zapata.conf. After doing a bunch of searches, I cannot find the solution to this problem. Any help you guys can give is appreciated. Thanks in advance.

Error in CLI

[] => (Local Proxy Channel)
== Registered channel type ‘Local’ (Local Proxy Channel Driver)
[] => (Feature Proxy Channel)
== Registered channel type ‘Feature’ (Feature Proxy Channel Driver)
[]Jun 4 10:53:42 WARNING[28956]: loader.c:325 __load_resource: cannot open shared object file: No such file or directory
Jun 4 10:53:42 WARNING[28956]: loader.c:554 load_modules: Loading module failed!





channel => 1

channel => 4

[quote=“Zion800”] []Jun 4 10:53:42 WARNING[28956]: loader.c:325 __load_resource: cannot open shared object file: No such file or directory

  1. Did the compiling of libpri work? Can this library be found and loaded?

  2. Stop me if I’m wrong, but since you’re using a TDM400P, you don’t need the libpri library. PRI is for ISDN interfaces.

I’m somewhat new to Linux, so I don’t know how to “uninstall” libpri. To install it, I did Make clean;Make Install and it seemed to install successfuly (because I didn’t see any errors at the end of all the text displayed). When I do “lsmod | grep libpri” it doesn’t find anything. When I do “lsmod | grep zaptel” it finds it.

I like to figure things out on my own, but I just don’t know the steps to take to try and solve the problem.

Thanks for your help, let me know if there is something I’m doing wrong.

Do you think this could be because I’m running Fedora Core 5 x86_64?

Hi there,

Problem reproduced on FC5 X86_64 and solved. Problem is, LIBPRI is installed on /usr/lib, but for some reason, FC5_X86_64 does not include that path on their LD path.


Create a file on /etc/ caled “asterisk-ld.conf”:

vi /etc/

And include on the file the following line:


Save the file and either reboot your machine or run the following command:

ldconfig -v

That’s all. Start asterisk, and it will find libpri.

Best Regards,