neato not found

I have installed graphviz in redhat linux machine using yum command:
yum install --skip-broken graphviz-2.34.0-1.el6.x86_64.rpm
and i have installed some supporting package like gts using: yum install gts-0.7.6-14.el6.x86_64
But while running command like neato -T$graphic $fabric from my ksh scripts,
iam getting this error:
neato command not found and
neato.dot: No such file exists error

But i installed graphviz here. But i can't see the exact path where it has installed.
Please help me.

Thanks,
Hari

if you get libANN dependency

if you get libANN dependency error, then either add EPEL to your Yum repo and do yum install graph***.rpm or install annLib from http://rpmfind.net//linux/RPM/epel/6/x86_64/ann-libs-1.1.1-4.el6.x86_64.html

Thanks for your response

Thanks for your response .

 

I could resolve this error with ur link : libANN.so.1()(64bit)

But not able to resolve remain others. Still facing following issues for libnetpbm.so.10 and libz.so.1

Error: Package: gts-0.7.6-14.el6.x86_64 (graphviz-stable)

           Requires: libnetpbm.so.10()(64bit)
Error: Package: graphviz-2.34.0-1.el6.x86_64 (/graphviz-2.34.0-1.el6.x86_64)
           Requires: libz.so.1(ZLIB_1.2.0)(64bit) You could try using --skip-broken to work around

Please help to resolve both.

 

yum install graphviz -- missing dependencies -- add "epel" repo

My guess is that you have *not* installed graphviz.  Try:  rpm -q graphviz

Yum will not install a package if its dependencies are not satisfied.   Adding --skip-broken will just allow other packages whose dependencies are satisfied to be installed. 

I suspect the root cause here is that yum is unable to find ann-libs in any of the repos you have configured in /etc/yum.repos.d/.    "ann-libs" is  from the "epel" repo.  See:

     http://fedoraproject.org/wiki/EPEL

 

You should not need to individually install dependencies.   As long as yum can find them, it will install them automatically.

Once graphviz is installed, you should find /usr/bin/neato installed as a softlink to /usr/bin/dot

I can understand the message

I can understand the message "neato: command not found". Normally the graphviz commands are installed by yum in /usr/bin I believe.

But where does neato.dot  come from? Does this occur in $fabric ?

Is graphviz istalled

Thanks for your response erg.

I check /usr/bin folder.But i didn't find neato there.

while installing graphviz i got these errors:

Error: Package: gts-0.7.6-14.el6.x86_64 (graphviz-stable)
           Requires: libnetpbm.so.10()(64bit)
Error: Package: graphviz-2.34.0-1.el6.x86_64 (/graphviz-2.34.0-1.el6.x86_64)
           Requires: libz.so.1(ZLIB_1.2.0)(64bit)
Error: Package: graphviz-2.34.0-1.el6.x86_64 (/graphviz-2.34.0-1.el6.x86_64)
           Requires: libANN.so.1()(64bit)

 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

 

So, i tried with yum install --skip-broken graphviz-2.34.0-1.el6.x86_64 

then i try to run my scripts contains neato.. There i am facing this issue.

Is graphviz installed fine or not?

Thanks in advance

Thanks for your response

Thanks for your response erg.

I check /usr/bin folder.But i didn't find neato there.

while installing graphviz i got these errors:

Error: Package: gts-0.7.6-14.el6.x86_64 (graphviz-stable)
           Requires: libnetpbm.so.10()(64bit)
Error: Package: graphviz-2.34.0-1.el6.x86_64 (/graphviz-2.34.0-1.el6.x86_64)
           Requires: libz.so.1(ZLIB_1.2.0)(64bit)
Error: Package: graphviz-2.34.0-1.el6.x86_64 (/graphviz-2.34.0-1.el6.x86_64)
           Requires: libANN.so.1()(64bit)

 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

 

So, i tried with yum install --skip-broken graphviz-2.34.0-1.el6.x86_64 

then i try to run my scripts contains neato.. There i am facing this issue.

Is graphviz installed fine or not?

Thanks in advance

You say you run your scripts

You say you run your scripts containing neato and are facing this issue? What issue? If you can run /usr/bin/neato, then Graphviz is installed properly.

That said, I would recommend doing what's necessary to get libz and the gts package installed, as they can be very useful.

Recent comments