cannot open shared object

This paste is a reply to "uzbl-core: error while loading shared librar from Wet Capybara - view diff
By: Flying Earthworm | | Syntax: Plain Text | Views: 2'860

  1. "uzbl-core: error while loading shared libraries: cannot open shared object file: No such file or directory"
  4. The problem that we solved by commenting was that you were using 32-bits libraries in a 64-bits system.
  6. wrong ELF class: ELFCLASS32
  7. The ending of the class should have been 64, hence producing this error. The way to go is purging the 32-bits libraries then reinstalling the 64-bits.
  9. sudo apt-get purge libgl1-mesa-glx:i386
  10. sudo apt-get --reinstall install libgl1-mesa-glx
  11. And refreshing our GNU linker:
  13. sudo ldconfig
  14. Once everything is ok, ldconfig -p | grep should show:
  16. (libc6) => /usr/lib/x86_64-linux-gnu/mesa/
  17. (libc6) => /usr/local/lib/
  18. If you ever need the 32-bits libraries for running 32-bits applications, you could do so installing the libgl1-mesa-glx:i386 package. But in this case remember to setting your LD_LIBRARY_PATH temporally to where the 32bits libraries are, so it won't mess up your other programs.
  20.  export LD_LIBRARY_PATH="/path/to/library/"
  21.  ./run_some_32_bit_program

Reply to " cannot open shared object "

Here you can reply to the paste above