Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001034graphvizBuild/Installpublic2006-01-13 05:452011-04-28 04:03
Assigned Toellson 
PlatformOS*-Linux-Suse9.2OS Version
Summary0001034: contrib/diffimg/diffimg.c:100: undefined ref. to `gdImageCreateFromJpeg

The make error is the following :
diffimg.o(.text+0x205): In function `imageLoad':
~/graphviz-2.6/contrib/diffimg/diffimg.c:100: undefined reference to `gdImageCreateFromJpeg'
The jpeg libs are found in the configure... and the GD is the internal one !

However, I would like to use dot only. The make error occurs in contrib directory.
So the dot (and all cmd) is compiled but when I try a simple dot command :
./dot -Tps
I have :
Error: Layout was not done. Missing layout plugins?
Error: lt-dot: can't open

My question is :
Is there a way to correct the make or to shortcut the make to enable plugins (where are they?) ?

Thank you very much.
Additional Information

As you are building from source I suggest that you build a more recent graphviz-2.7
snapshot from
The diffimg.c problem is because libjpeg or libjpeg-devel was not found on your system
and there was a bug in 2.6 in diffimg.c where it failed to deal with this condition.
This bug has been fixed since 2.6.

The missing plugins problem is probably because you have not done a "make install".
During "make install" the installed plugins are detected by running "dot -c"
which writes to <prefix>/lib/graphviz/config

Your other choice is to use ./dot_static which has some plugins statically linked.

TagsNo tags attached.
VERSION     2-6
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