LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-12-2010, 02:59 AM   #1
Domine
Member
 
Registered: Nov 2005
Posts: 31

Rep: Reputation: 17
Graphviz compile error, please help!


Hello guys,
i want to compile Graphviz but i got stuck on a nice problem which i cant resolve. Here it is. I downloaded the 2.26.2 version and made the usual configure etc.. But i received such an error during compile time:

make[2]: Entering directory `/home/domine/Downloads/graphviz-2.26.2/cmd'
Making all in dot
make[3]: Entering directory `/home/domine/Downloads/graphviz-2.26.2/cmd/dot'
/bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -L/usr/local/lib -o dot dot-dot.o dot-no_builtins.o ../../lib/gvc/libgvc.la -ldl
libtool: link: gcc -g -O2 -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -o .libs/dot dot-dot.o dot-no_builtins.o -L/usr/local/lib ../../lib/gvc/.libs/libgvc.so /home/domine/Downloads/graphviz-2.26.2/lib/xdot/.libs/libxdot.so /home/domine/Downloads/graphviz-2.26.2/lib/graph/.libs/libgraph.so /home/domine/Downloads/graphviz-2.26.2/lib/cdt/.libs/libcdt.so /home/domine/Downloads/graphviz-2.26.2/lib/pathplan/.libs/libpathplan.so /usr/lib64/libexpat.so -lz -lm -ldl
../../lib/gvc/.libs/libgvc.so: undefined reference to `ecrc32'
../../lib/gvc/.libs/libgvc.so: undefined reference to `edeflateInit2_'
../../lib/gvc/.libs/libgvc.so: undefined reference to `edeflateBound'
../../lib/gvc/.libs/libgvc.so: undefined reference to `edeflateEnd'
../../lib/gvc/.libs/libgvc.so: undefined reference to `edeflate'
collect2: ld returned 1 exit status
make[3]: *** [dot] Error 1
make[3]: Leaving directory `/home/domine/Downloads/graphviz-2.26.2/cmd/dot'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/domine/Downloads/graphviz-2.26.2/cmd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/domine/Downloads/graphviz-2.26.2'
make: *** [all] Error 2

Now i dont have any idea how to solve that. Ive been reading on the net but couldnt find any solution cos i could find any similar problem. I know its a sort of linking problem but what no idea.
I am on Slackware 13 64. I think i have all the libraries needed as well. I tried and the SlackBuild but same problem. Something weird is happening for sure.I tried and other versions but no luck. Its always that problem.
Any help will be appreciated.

Thanks
Dimitar
 
Old 03-12-2010, 11:26 AM   #2
a4z
Member
 
Registered: Feb 2009
Posts: 329

Rep: Reputation: 127Reputation: 127
the missing lib could be zlib, the missing symbols look like that they are from there
 
Old 03-14-2010, 08:36 PM   #3
Domine
Member
 
Registered: Nov 2005
Posts: 31

Original Poster
Rep: Reputation: 17
Thanks for the reply,
i checked for zlib. I have it, even is the same version as posted on graphviz site.
Any other suggestion i could try out.

Greetings
 
Old 03-14-2010, 09:06 PM   #4
Domine
Member
 
Registered: Nov 2005
Posts: 31

Original Poster
Rep: Reputation: 17
Hi a4z,

Update: I just upgraded my Zlib to 1.2.4 and now Graphviz compiled
Thank you again for the hint

Cheers
 
Old 03-14-2010, 09:31 PM   #5
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware: 12.1, 13.1, 14.1, 64-14.1, -current, FreeBSD-10
Posts: 1,664

Rep: Reputation: 572Reputation: 572Reputation: 572Reputation: 572Reputation: 572Reputation: 572
Builds here...

Hi Domine,

I just built graphviz-2.26.2.tar.gz using the current Slackbuild from SBo on a clean Slackware 13, pure x86_64 which I also just finished installing - no problems here.

Maybe you should reinstall your zlib package in case it was corrupted?

Also check the MD5 on the source maybe...

EDIT: HA! I see you got it going while I was compiling! Good luck! /EDIT:

Last edited by astrogeek; 03-14-2010 at 09:32 PM.
 
Old 03-14-2010, 09:33 PM   #6
escaflown
Member
 
Registered: Apr 2009
Location: Canada
Distribution: Slackware
Posts: 237

Rep: Reputation: 30
Quote:
Originally Posted by astrogeek View Post
Hi Domine,

I just built graphviz-2.26.2.tar.gz using the current Slackbuild from SBo on a clean Slackware 13, pure x86_64 which I also just finished installing - no problems here.

Maybe you should reinstall your zlib package in case it was corrupted?

Also check the MD5 on the source maybe...
Same thing here: I just rebuilt the slackbuild in slackware64-current without any problem.
 
Old 03-15-2010, 08:40 PM   #7
Domine
Member
 
Registered: Nov 2005
Posts: 31

Original Poster
Rep: Reputation: 17
hi guys,
thank you for the posts
I think i figured out what was the problem. I found that when i configured at the beginning there was wrong link to library ezlib because in gvc i got that "ecrc32" which is turns out to be in the ezlib. I found that ezlib is a lib from the Emboss package which ive installed some time ago. Btw today i managed to build with zlib-1.2.3 as well(first removed 1.2.4 then installed package 1.2.3 and then it built) but i changed to 1.2.4 cause is new and i already installed my Graphviz with 1.2.4.
Anyway, problem solved
Slackware rulz!

Thank you again
Cheers

Last edited by Domine; 03-15-2010 at 08:42 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
perl/graphviz -- making clickable/scrollable graphs mistersnorfles Programming 1 08-27-2007 12:37 AM
external library of graphviz needed to install ????? wahaha Linux - Networking 0 08-12-2006 11:42 PM
Compile madwifi, ... compile error , how can i do. ERBRMN Linux - Networking 3 03-08-2006 07:56 PM
Create relationship diagrams with Graphviz LinuxLala Linux - News 0 11-22-2005 05:01 AM
how to use graphviz abd_bela Debian 2 02-11-2004 03:41 AM


All times are GMT -5. The time now is 11:46 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration