Results 1 to 3 of 3

Thread: Libary Issue

  1. #1
    Join Date
    Mar 2011
    Beans
    144
    Distro
    Ubuntu 12.04 Precise Pangolin

    Libary Issue

    Code:
    ls -l /usr/lib/x86_64-linux-gnu/ | grep libopenal
    produces:

    Code:
    lrwxrwxrwx 1 root root       14 Mar  6  2012 libopenal.so -> libopenal.so.1
    A link to absolutely nothing. When I try and compile a program, understandably the linker says there is no such library.

    Before this, I ran:

    Code:
    apt-get install libopenal-dev
    Code:
    apt-file show libopenal-dev
    Produces:

    Code:
    libopenal-dev: /usr/include/AL/al.h
    libopenal-dev: /usr/include/AL/alc.h
    libopenal-dev: /usr/include/AL/alext.h
    libopenal-dev: /usr/include/AL/efx-creative.h
    libopenal-dev: /usr/include/AL/efx.h
    libopenal-dev: /usr/lib/x86_64-linux-gnu/libopenal.so
    libopenal-dev: /usr/lib/x86_64-linux-gnu/pkgconfig/openal.pc
    libopenal-dev: /usr/share/doc/libopenal-dev/README.Debian
    libopenal-dev: /usr/share/doc/libopenal-dev/changelog.Debian.gz
    libopenal-dev: /usr/share/doc/libopenal-dev/copyright
    EDIT:::

    Trying to debug a program, I have had to install different version of openal, they were installed using cmake - which installed to the prefix usr/local, rather than the usr prefix that apt-get installed openal to. But, I "rm" every file in the cmake manifest. i think, to ensure, remove all from al-dev and alut-dev packages, then reinstall them. now, everytime, i get no actual library for openal, just a link to absolutely nothing.

    Thanks.

    Code:
    /usr$ find . -iname "*openal*"
    ./share/doc/libopenal-dev
    ./share/doc/libopenal-data
    ./share/doc/libopenal1
    ./share/cmake-2.8/Modules/FindOpenAL.cmake
    ./lib/x86_64-linux-gnu/wine/openal32.dll.so
    ./lib/x86_64-linux-gnu/wine/fakedlls/openal32.dll
    ./lib/x86_64-linux-gnu/libopenal.so
    ./lib/x86_64-linux-gnu/pkgconfig/openal.pc
    ./lib/x86_64-linux-gnu/gstreamer-0.10/libgstopenal.so
    ./lib/i386-linux-gnu/wine/openal32.dll.so
    ./lib/i386-linux-gnu/wine/fakedlls/openal32.dll
    Last edited by 3246251196; December 6th, 2012 at 08:16 AM.

  2. #2
    Join Date
    Mar 2011
    Beans
    144
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Libary Issue

    Anyone?

  3. #3
    Join Date
    Mar 2011
    Beans
    144
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Libary Issue

    Dependency hell was the issue here. I removed all that was linked to openal, and re-installed packages that I needed. It would have been nice to avoid such a drastic removal and this could have been done with more research. But, it all worked out in the end using, what apt-get is build upon, dpkg.

Bookmarks

Posting Permissions

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