[BioC] Ubuntu Rgraphviz gotcha

Li Long Li.Long at isb-sib.ch
Wed Dec 12 11:21:10 CET 2007


It shouldn't need to do the copying.

Did you update the LD_LIBRARY_PATH to reflect where your graphviz is
installed?  I'd think that you'll be ok after /usr/lib/graphviz is added
to LD_LIBRARY_PATH.

Li

> Hello list,
>
> Using ubuntu 7.04, R 2.6.1 I was unable to load Rgraphviz (despite error
> free installation / compilation using biocLite). Trying to do so resulted
> in:
>
>> library(Rgraphviz)
> Loading required package: graph
> Error in dyn.load(file, ...) :
>   unable to load shared library
> '/usr/local/lib/R/site-library/Rgraphviz/libs/Rgraphviz.so':
>   libgvc.so.2: cannot open shared object file: No such file or directory
> Error : .onLoad failed in 'loadNamespace' for 'Rgraphviz'
> Error: package/namespace load failed for 'Rgraphviz'
>
> graphviz is installed. In /usr/lib/graphviz there is a link called
> libgvc.so.2 to libgvc.so.2.0.0
>
> Copying libgvc.so.2.0.0 from /usr/lib/graphviz to
> /usr/local/libs/R/site-library/Rgraphviz/libs seemed to solve the problem.
> I can now plot goGraphs!
>
> Hope this helps anyone else with a similar problem.
>
> cheers
>
> iain
>
>
>
>
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives:
> http://news.gmane.org/gmane.science.biology.informatics.conductor
>



More information about the Bioconductor mailing list