[BioC] Library not loaded: /usr/local/lib/libgvc.5.dylib (Rgraphviz)

Dan Tenenbaum dtenenba at fhcrc.org
Wed Jul 18 03:22:56 CEST 2012


On Tue, Jul 17, 2012 at 6:10 PM, Peng Yu <pengyu.ut at gmail.com> wrote:
> Hi,
>
> I have the following error. I only can find the following file. But I
> can't find libgvc.5.dylib on my system. Does anybody know what is
> wrong?
>
> ~$ ll -go /usr/local/lib/libgvc.6.dylib
> -rwxrwxr-x 1 988980 2012-05-21 00:21:09 /usr/local/lib/libgvc.6.dylib
>
>
>> library(Rgraphviz)
> Error : .onLoad failed in loadNamespace() for 'Rgraphviz', details:
>   call: value[[3L]](cond)
>   error: unable to load shared object

There is a README for the Rgraphviz package, available here:

http://bioconductor.org/packages/release/bioc/readmes/Rgraphviz/README

It says that you need to install graphviz first, preferably version
2.26.3, from here if you are running Snow Leopard or newer:

http://www.graphviz.org/pub/graphviz/stable/macos/snowleopard/graphviz-2.26.3.pkg

And from here if you are running Leopard:

http://www.graphviz.org/pub/graphviz/stable/macos/leopard/graphviz-2.26.3.pkg

Dan


> '/Library/Frameworks/R.framework/Versions/2.15/Resources/library/Rgraphviz/libs/x86_64/Rgraphviz.so':
>   dlopen(/Library/Frameworks/R.framework/Versions/2.15/Resources/library/Rgraphviz/libs/x86_64/Rgraphviz.so,
> 6): Library not loaded: /usr/local/lib/libgvc.5.dylib
>   Referenced from:
> /Library/Frameworks/R.framework/Versions/2.15/Resources/library/Rgraphviz/libs/x86_64/Rgraphviz.so
>   Reason: image not found
>
>   Check that (1) graphviz is installed on your system; (2) the
> installed version of graphviz matches '2.26.3'; this is the version
> used to build this Rgraphviz package; (3) graphviz is
>   accessible to R, e.g., the path to the graphviz 'bin' directory is
> in the system 'PATH' variable.  See additional instructions in the
> 'README' file of the Rgraphviz 'source'
>   distribution, available at
>
>   http://bioconductor.org/packages/release/bioc/html/Rgraphviz.html
>
>   Ask further questions on the Bioconductor mailing list
>
>   http://bioconductor.org/docs/mailList.html
>
>
> Error: package/namespace load failed for ‘Rgraphviz’
>
> --
> Regards,
> Peng
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at r-project.org
> 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