SliTaz SliTaz Forum

You are not logged in.

#1 2013-04-04 13:12:11

deadwait
Member
Registered: 2013-04-04
Posts: 14

imagemagick needs libgraph and i cant find it

hi ,

i installed imagemagick and it installed fine but when in run it, it gives me a libgraph error. i tried to compile libgraph too but that too ends up giving me a libgraph error

anyone have any ideas

below error

convert

convert: error while loading shared libraries: libgraph.so.5: cannot open shared object file: No such file or directory

have downloaded libgraph via this link http://blog.rahuljain.org/2012/04/install-libgraph-library-in-gcc.html which points to the download here http://download.savannah.nongnu.org/releases/libgraph/libgraph-1.0.1.tar.gz

Offline

#2 2013-04-04 13:19:22

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: imagemagick needs libgraph and i cant find it

If you installed imagemagick with tazpkg it should have auto-installed graphviz which provides libgraph.so.5

Offline

#3 2013-04-04 13:24:20

deadwait
Member
Registered: 2013-04-04
Posts: 14

Re: imagemagick needs libgraph and i cant find it

hmm, i had installed graphviz, but manually cooked it and raised the version to 2.30.0 have done the same for graphviz-dev, could that be the issue, i need graphviz 2.30.0 and im trying to convert svg from graphviz to png. ( As i manually modify the svg from graphviz further)

Offline

#4 2013-04-04 13:33:24

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: imagemagick needs libgraph and i cant find it

First try symlinking libgraph.so.5 name to the newer version of libgraph.so on your computer.

If that doesn't work you'll have to compile imagemagick so it links to the version of graphviz you are using.

Offline

#5 2013-04-04 13:59:17

deadwait
Member
Registered: 2013-04-04
Posts: 14

Re: imagemagick needs libgraph and i cant find it

thanks ill try that later and let you know if it works, thanks again

Offline

#6 2013-04-05 06:56:31

deadwait
Member
Registered: 2013-04-04
Posts: 14

Re: imagemagick needs libgraph and i cant find it

graphviz 2.30.1 does not have libgraph, i cooked it and could not find it, but what i did do, was modify the graphviz receipt to copy the entire lib dir instead of lib/*.a , no luck with immediately trying convert. but then i recompiled libgraph and this time it worked, i think i saw the make command use the graphviz .la files, after installing libgraph and then a ln -s /usr/lib/libgraph.so.1 /usr/libgraph.so.5, convert is now working fine.

Offline

#7 2013-04-05 09:12:53

deadwait
Member
Registered: 2013-04-04
Posts: 14

Re: imagemagick needs libgraph and i cant find it

ofcourse now i have got some font issues and it still doesnt work. but i have plain given up

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]