I’m trying to build my own graphviz package using latest stable source as .deb for Ubuntu. The official instructions for packaging contain an error in the basic example so are not usable currently.
I only want the bare minimum dependencies to support Radare2, so just libgd and libpango. The build and install process used below works flawlessly using standard
make install. But the
checkinstall process that replaces
make install results in a package that fails with an error after the package is installed on a new VM.
/usr/local/bin/dot: error while loading shared libraries: libgvc.so.6: cannot open shared object file: No such file or directory
I do see what the problem is here, but I am unsure how to correct for this in the packaging process.
I’m trying checkinstall:
Using the following process for building the package:
apt install build-essential libgd-dev libpango1.0-dev checkinstall wget https://gitlab.com/api/v4/projects/4207231/packages/generic/graphviz-releases/2.49.3/graphviz-2.49.3.tar.gz tar -zxvf graphviz-2.49.3.tar.gz cd graphviz-2.49.3 ./configure make checkinstall
Inside checkinstall these are the settings:
Should I create a default set of package docs? No
Graphviz with minimum dependencies required for Radare2 (libgd and libpango).
Maintainer: [ root@example[.]com ]
Summary: [ Graphviz with minimum dependencies required for Radare2 (libgd and libpango). ]
Name: [ graphviz ]
Version: [ 2.49.3 ]
Release: [ 1 ]
License: [ GPL ]
Group: [ checkinstall ]
Architecture: [ amd64 ]
Source location: [ https[://]gitlab[.]com/api/v4/projects/4207231/packages/generic/graphviz-releases/2.49.3/graphviz-2.49.3.tar.gz ]
Requires: [ libgd3,libpango1.0-0 ]
Provides: [ graphviz ]
Some of the files created by the installation are inside the build
Should I exclude them from the package? Yes