Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000890graphvizBuild/Installpublic2005-05-07 02:592011-04-28 04:03
ReporterGerald Dalley 
Assigned ToArif Bilgin 
PlatformOSx86-Windows-XP SP2 w/ CygwinOS Version
Summary0000890: -lgd needed in lib/gd/Makefile

I downloaded today's snapshot and tried to build it using cygwin.
In doing so, I ran into an linker message for annotate.c indicating
that _gdImageCreateFromJpeg, etc. were undefined. After a bit
of hacking, I found that manually adding -lgd to several of the
*LIB environment vars in lib/gd/Makefile fixed the problem. I added
it to any of the library lists that looked like they might remotely
be related to something graphical.

It would sure be nice if the massively-inefficient configure script
could add the gd linking options at the right times.
Additional Information

[ellson] Did you ./configure --with-mylibgd ?

Does libtool work on cygwin? contains LDADD=./
which should cause -lgvgd to be added.

If you configured without --with_mylibgd then you are not intended to build anything
from lib/gd directory. Instead you are expected to install gd separately.

I've not used Cywin to build graphviz. I'd be interested in a report on what you needed to
do to get it to build.

TagsNo tags attached.
STATUS-COMMENTFixed (6 Feb 2009)
VERSION     2.3.20050506.1135
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 => Arif Bilgin

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