Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's C++ page.

 

 

 

 

 

(C++) libgvc.so.5: cannot open shared object file: No such file or directory

 

Misc error.

 

 

 

 

 

Full error message

 

neato: error while loading shared libraries: libgvc.so.5: cannot open shared object file: No such file or directory

 

 

 

 

 

 

Cause

 

Operating system: Ubuntu 10.04 LTS Lucid Lynx

IDE: Qt Creator 1.3.1

Project type: Qt4 Console Application

Selected required modules: QtCore

Compiler: G++ 4.4.1

Boost version: 1.42.0

Additional libraries: jpeg-8a from the Independent JPEG Group

 

The following source code was used:

 

#include <cstdlib>

int main()
{
  std::system("neato out.dot");
}

 

 

 

 

 

Solution

 

I had messed up the graphviz libraries. After removing them all, and reinstalling them again, everything worked again. I used the following shell commands:

 

sudo apt-get remove graphviz
sudo apt-get remove graphviz-dev
sudo apt-get remove graphviz-doc
sudo apt-get install graphviz

 

 

 

 

 

Go back to Richel Bilderbeek's C++ page.

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict