#1 libsndconfig version error

closed
nobody
5
2002-12-27
2002-11-03
Anonymous
No

Redhat 8 trying to install gwc 0.17-5 and/or 0.17-6.
installed libsndfile 1.0.1 and tested sndfile-play and
sndfile-info. They report the version:

Version : libsndfile-1.0.1
Usage : sndfile-info <file>

However when I go to run ./configure for gwc I get the
following error. I am not an expert and don't know why
it is failing the version check

creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for cos in -lm... yes
checking for fftw_create_plan in -lfftw... yes
checking for rfftw_one in -lrfftw... yes
checking for sf_open in -lsndfile... yes
configure: error: Libsndfile 1.0.0 or greater needed,
find it at http://www.zip.com.au/~erikd/libsndfile/

my email is cnuk@shaw.ca

Discussion

  • Logged In: NO

    I got the same error using Mandrake 9.0

     
  • Logged In: NO

    I've the same problem.
    My dist is Mandrake 9.0, I've installed fftw and libssndfile
    1.0.2 .
    I think it's a problem of the configure file that don't detect
    correctly the version of libsnb

     
  • Logged In: NO

    I can verify this same problem on Red Hat 7.3 using
    libsndfile-1.0.2.

    I attempted to resolve the build problem by stripping the
    test for libsndfile from configure.in and then rebuilding
    with autoconf. This allowed gwc to compile cleanly (I
    think), but now when I attempt to run gwc I get:

    gwc: error while loading shared libraries: librfftw.so.2:
    cannot open shared object file: No such file or directory

    I have installed librfftw, but it doesn't seem to find it:

    [nlp@curunir gwc-0.17-6]$ locate librfftw
    /usr/local/lib/librfftw.so.2.0.5
    /usr/local/lib/librfftw.so.2
    /usr/local/lib/librfftw_threads.so.2.0.5
    /usr/local/lib/librfftw_threads.so.2
    /usr/local/lib/librfftw.a
    /usr/local/lib/librfftw.la
    /usr/local/lib/librfftw.so
    /usr/local/lib/librfftw_threads.a
    /usr/local/lib/librfftw_threads.la
    /usr/local/lib/librfftw_threads.so

    Where does gwc expect to find these libraries? Should I
    create symlinks somewhere?

    Any suggestions would be appreciated.

    shevek@canada.com

     
  • Logged In: NO

    An additional note:

    I can build the older gwc-0.16-5 cleanly with no changes to
    configure.in, but get exactly the same problem with librfftw
    when I attempt to run it:

    [nlp@curunir gwc-0.16-5]$ ./gwc
    ./gwc: error while loading shared libraries: libfftw.so.2:
    cannot open shared object file: No such file or directory

    shevek

     
  • Logged In: NO

    Ok, I've resolved so:
    1. I've compiled the last version of libfftw libraries ( goto
    http://www.fftw.org. Direct link: http://www.fftw.org/fftw-
    2.1.3.tar.gz
    2. Find the rpm for Mandrake of libsndfile at rpmfind.net
    (build by Mandrake Coocker - thanks -). This is the 1.0.2
    version.(ftp://rpmfind.net/linux/Mandrake-
    devel/contrib/i586/libsndfile1-1.0.2-1mdk.i586.rpm)
    2b. Install libsndfile1-1.0.2-1mdk.i586.rpm
    3. compile gwc (./configure, make, make install, make clean)

    My dist is Mandrake 9.0 (I've post 2002-11-29 10:32)

    Bye

     
  • Gary Barker
    Gary Barker
    2002-12-12

    Logged In: YES
    user_id=667966

    I got the program to compile finally (about 20 files related
    to gnome devel had to be installed in Mandrake 9.0 - a
    listing would have been usefull in the install file). Now
    when I run it this error appears: "gwc: error while loading
    shared libraries: libsndfile.so.1: cannot open shared object
    file: No such file or directory." I noticed there is a
    symlilnk from libsndfile.so.1 to libsndfile.so.1.0.2 and
    both files are in the /usr/local/lib dir.

    What's needed to make this happy?

    Regards,
    Gary

     
  • Jeff Welty
    Jeff Welty
    2002-12-27

    • status: open --> closed
     
  • Logged In: NO

    This problem also occurs in Red Hat 9 using libsndfile
    1.0.5. with gwc.19-3. After having no success using rpms of
    libsndfile I went ahead and compiled/installed Libsndfile
    from source, ran ldconfig and noted that it is indeed installed:
    /usr/local/lib/libsndfile.so.1.0.5
    /usr/local/lib/libsndfile.so.1
    /usr/local/lib/libsndfile.so
    /usr/local/lib/libsndfile.la
    /usr/local/lib/libsndfile.a
    ...so it's in there. Configure still refuses to recognize it.

     
  • Logged In: NO

    This problem also occurs in Red Hat 9 using libsndfile
    1.0.5. with gwc.19-3. After having no success using rpms of
    libsndfile I went ahead and compiled/installed Libsndfile
    from source, ran ldconfig and noted that it is indeed installed:
    /usr/local/lib/libsndfile.so.1.0.5
    /usr/local/lib/libsndfile.so.1
    /usr/local/lib/libsndfile.so
    /usr/local/lib/libsndfile.la
    /usr/local/lib/libsndfile.a
    ...so it's in there. Configure still refuses to recognize it.