Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000652graphvizDotpublic2007-01-05 08:142011-04-28 04:03
ReporterTatu Ylonen 
Assigned Toellson 
PrioritynormalSeverityminorReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOSx86-Linux-SuSE 10.1OS Version
Summary0000652: make install fails (cannot find libgvc.so.3)
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.
<CD>
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'
</CD>
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?

TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT 
Add 'ldconfig' in the appropriate place in Makefile. Beware, ldconfig
is not present on all systems and may need to be checked in configure.
Alternatively, set LD_LIBRARY_PATH before calling 'dot -c' (this may
be safer, but I have not checked if there
FORMER-ID1061
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT*
VERSION     2.12
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:03 user1 New Issue
2011-04-28 04:03 user1 Assigned To => user695


MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker