Home Forums SecAst (Security for Asterisk) Installation & Upgrade Shared library error on start

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Customer InquiryCustomer Inquiry
    Participant
    Post count: 182

    When starting SecAst I get the error

    ./secast: error while loading shared libraries: XXXXXXX: cannot open shared object file: No such file or directory

    What is wrong?

    Telium Support GroupTelium Support Group
    Moderator
    Post count: 242

    One or more shared libraries are not installed. The solution is to ensure that all prerequisite libraries are installed.

    First, use the “ldd” command to show what libraries SecAst needs, and are available. You should see something like this:

    root@pbx~$ ldd secast-0.345.3.0-x86_64-ub12/secast
    linux-vdso.so.1 => (0x00007ffffbded000)
    libQt5Sql.so.5 => not found
    libQt5Xml.so.5 => not found
    libQt5Network.so.5 => not found
    libQt5Core.so.5 => not found
    libpthread.so.0 => /lib/x86_64-linuxgnu/
    libpthread.so.0 (0x00007ff6b71c4000)
    libstdc++.so.6 => /usr/lib/x86_64-linuxgnu/
    libstdc++.so.6 (0x00007ff6b6ec3000)
    libgcc_s.so.1 => /lib/x86_64-linuxgnu/
    libgcc_s.so.1 (0x00007ff6b6cad000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6
    (0x00007ff6b68ed000)
    /lib64/ld-linux-x86-64.so.2 (0x00007ff6b73ef000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6
    (0x00007ff6b65f0000)

    Based on the response shown in your case, you will have to add the missing libraries (normally through your package manager like apt-get or yum). In the above example case, the Qt libraries are missing; see section 5 of the instructions for details on how to add the Qt libraries.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.