Results 1 to 5 of 5

Thread: Error message "cannot find libconfig" during software installation

  1. #1

    Default Error message "cannot find libconfig" during software installation

    Hello,
    I'm trying to solve a problem that occurs during a software installation; I'm a linux beginner so I kindly ask your help.
    In particular, the software installation stops with the following message:

    "checking for config_init in -lconfig... no
    configure: error: cannot find libconfig"

    I have already submitted the problem to the software's developer who told me that the problem could be in my environment setup, because the software has been successfully installed on the same environment.

    Here are the checks I was able to do:
    - "locate libconfig" finds "libconfig.so" files: these are symbolic links to "libconfig.so.11.0.0" or "libconfig.so.11.0.2";
    - in "ldconfig -v" output there's no "libconfig.so", but there are "libconfig.so.11" files, linked to "libconfig.so.11.0.0" and "libconfig.so.11.0.2";
    - LD_LIBRARY_PATH is empty.

    Please find below "locate" and "ldconfig" output.

    Thank you in advance for your help.

    Alberto

    --------
    linux-s6da:~ # locate libconfig.so
    /usr/lib/libconfig.so.11
    /usr/lib/libconfig.so.11.0.0
    /usr/lib/libconfig-1.7.2/lib/.libs/libconfig.so
    /usr/lib/libconfig-1.7.2/lib/.libs/libconfig.so.11
    /usr/lib/libconfig-1.7.2/lib/.libs/libconfig.so.11.0.2
    /usr/lib64/libconfig.so
    /usr/lib64/libconfig.so.11
    /usr/lib64/libconfig.so.11.0.0
    /usr/local/lib64/libconfig.so
    /usr/local/lib64/libconfig.so.11
    /usr/local/lib64/libconfig.so.11.0.2
    --------

    --------
    linux-s6da:~ # ls -l /usr/lib64/libconfig.so
    lrwxrwxrwx 1 root root 19 Dec 17 2018 /usr/lib64/libconfig.so -> libconfig.so.11.0.0
    --------

    --------
    linux-s6da:/home # ldconfig -p | grep libconfig
    libconfig.so.11 (libc6,x86-64) => /usr/local/lib64/libconfig.so.11
    libconfig.so.11 (libc6,x86-64) => /usr/lib/libconfig-1.7.2/lib/.libs/libconfig.so.11
    libconfig.so.11 (libc6,x86-64) => /usr/lib64/libconfig.so.11
    libconfig.so.11 (libc6) => /usr/lib/libconfig.so.11
    libconfig.so (libc6,x86-64) => /usr/local/lib64/libconfig.so
    libconfig.so (libc6,x86-64) => /usr/lib/libconfig-1.7.2/lib/.libs/libconfig.so
    libconfig.so (libc6,x86-64) => /usr/lib64/libconfig.so
    libconfig.so (libc6) => /usr/lib/libconfig.so
    libconfig++.so.11 (libc6,x86-64) => /usr/local/lib64/libconfig++.so.11
    libconfig++.so.11 (libc6,x86-64) => /usr/lib/libconfig-1.7.2/lib/.libs/libconfig++.so.11
    libconfig++.so.11 (libc6,x86-64) => /usr/lib64/libconfig++.so.11
    libconfig++.so.11 (libc6) => /usr/lib/libconfig++.so.11
    libconfig++.so (libc6,x86-64) => /usr/local/lib64/libconfig++.so
    libconfig++.so (libc6,x86-64) => /usr/lib/libconfig-1.7.2/lib/.libs/libconfig++.so
    libconfig++.so (libc6,x86-64) => /usr/lib64/libconfig++.so
    --------

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,817
    Blog Entries
    15

    Default Re: Error message "cannot find libconfig" during software installation

    Hi
    When ever compiling something you will always need the development package as this contains information eg libconfig.pc which tells the system how to find/use -lconfig (link). Is the libconfig-devel package installed?

    Code:
    zypper se -i libconfig-devel
    If no output, install this package.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3

    Default Re: Error message "cannot find libconfig" during software installation

    Hello,
    thank you for your reply.
    libconfig-devel is installed, Version 1.7-lp151.3.3

    Alberto

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,817
    Blog Entries
    15

    Default Re: Error message "cannot find libconfig" during software installation

    Quote Originally Posted by alberto_bona View Post
    Hello,
    thank you for your reply.
    libconfig-devel is installed, Version 1.7-lp151.3.3

    Alberto
    Hi
    Can you point me at the package source?
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  5. #5

    Default Re: Error message "cannot find libconfig" during software installation

    Hi,
    I hope I have correctly understood your request: the software I'm trying to install is AcouSTO; please find below the links to the website and for download.

    http://acousto.sourceforge.net/install.html

    https://sourceforge.net/projects/aco...ar.gz/download

    Thank you

    A.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •