[Dot] make install fails (cannot find libgvc.so.3)
Ported Issue from Mantis Original ID: 652 Reported By: Tatu Ylonen
SEVERITY: MINOR Submitted: 2007-01-05 13:14:04
OS: X86-LINUX-SUSE 10.1
VERSION: 2.12
DESCRIPTION
"make install" after compiling from 2.12 source rpm fails with the following error. Running ldconfig and then rerunning "make install" fixes the problem. Perhaps a call to "ldconfig" is missing from the Makefile (install target) after installing libgvc.so. if test "x" = "x"; then (cd /usr/local/bin; ./dot -c;); fi ./dot: error while loading shared libraries: libgvc.so.3: cannot open shared object file: No such file or directory make[4]: *** [install-exec-hook] Error 127 make[4]: Leaving directory `/home/ylo/graphviz-2.12/cmd/dot'
ADDITIONAL INFORMATION
[north] John, do you agree here?
[ellson] I don't think so. This seems to be a difference between SuSE and Fedora build environments.
Tatu,
During 'rpmbuild --rebuild graphviz*src.rpm' on Fedora, the 'dot -c' execution is supposed to be suppressed because $(DESTDIR) is non-null. The 'dot -c' is intented to be run only in the %post scripts from the binary rpms when they are installed on the target machines.
I think what is needed is an improved test in src/cmd/makefile.am that works on SuSE. I don't have a SuSE box to play on. Can you help with this?