Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000694graphvizBuild/Installpublic2007-03-22 15:432011-04-28 04:03
ReporterMark Charney 
Assigned Toerg 
PlatformOSx86-Unix-SUSE 10OS Version
Summary0000694: diffimg.c:120 undefined reference gdImageCreateFromJpeg

I downloaded the latest snapshot (20070322.0440)
 after seeing another bug that I hit in 2.12 was fixed last week.

I configured ./configure --prefix=/usr/local

when running make I get this error:
gcc -g -O2 -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -o diffimg diffimg.o -L/usr/local/lib ../../lib/gd/.libs/libgvgd_C.a /usr/lib64/ /usr/lib64/ /usr/lib64/ -lpng -lz -lm
diffimg.o: In function `imageLoad':
/home/mjcharne/t/graphviz-2.13.20070322.0440/contrib/diffimg/diffimg.c:120: undefined reference to `gdImageCreateFromJpeg'
collect2: ld returned 1 exit status
make[3]: *** [diffimg] Error 1
make[3]: Leaving directory `/tmp/mjcharne/graphviz-2.13.20070322.0440/contrib/diffimg'
Additional Information

[erg] It appears configure did not pick up the availability of libjpeg, as
ljpeg is not given to ld.

[mark] Thanks, Emden, I installed the "devel" RPMs for the jpeg headers (and anything else that I could find that had the word jpeg in it) and this time configure found the header it was looking for. I had the libraries, just not the headers, it seems.

Now it compiles, and installs
TagsNo tags attached.
VERSION     -2.13.20070322.0440
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 => erg

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