Entering edit mode
Dear list,
I just upgraded to R 2.9.2, on solaris 10, and stumbled across a
problem with graph.
The package installed with 1 warning, but no errors. When I load it, I
get the following error:
> library(graph)
Error in library.dynam(lib, package, package.lib) :
shared library 'BioC_graph' not found
Error: package/namespace load failed for 'graph'
This is using the version of graph that biocLite downloaded for me
Using R version 2.9.2, biocinstall version 2.4.12.
Installing Bioconductor version 2.4 packages:
I looked more closely at the install output, and spotted the problem,
but don't know how to fix it:
$ R CMD INSTALL -l /usr/local/R/library graph
* Installing *source* package 'graph' ...
** libs
gcc -std=gnu99 -I/usr/local/R-2.9.2/lib/R/include -I/usr/local/
include -fpic -I/usr/local/include -c graph.c -o graph.o
gcc -std=gnu99 -G -L/usr/local/lib -o graph.so graph.o -o
BioC_graph.so -L/usr/local/R-2.9.2/lib/R/lib -lR
ld: warning: option -o appears more than once, first setting taken
** R
** data
** inst
** preparing package for lazy loading
** help
*** installing help indices
>>> Building/Updating help pages for package 'graph'
Formats: text html latex example
Note: ignoring empty \keyword entries in file 'graphRendering.Rd'
Note: removing empty section \details in file 'graphRendering.Rd'
Note: removing empty section \examples in file 'graphRendering.Rd'
Note: removing empty section \seealso in file 'graphRendering.Rd'
** building package indices ...
* DONE (graph)
The ld warning indicates that there are two -o statements, it chooses
the first, therefore ignore the '-o BioC_graph.so'.
some googling found this message in the Bioconductor change logs
(http://fgc.lsi.umich.edu/cgi-bin/blosxom3.cgi/2009/04/25
):
graph
Renamed graph.(so/dll) BioC_graph.(so/dll) to avoid conflicts with
graphviz.
googling also showed that the build logs on OSX seem to tolerate two -
o arguments (-o graph.so and -o BioC_graph.so)
i'd appreciate any help
cheers,
Mark
sessionInfo()
R version 2.9.2 (2009-08-24)
i386-pc-solaris2.10
locale:
C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] tcltk_2.9.2 tools_2.9.2
[[alternative HTML version deleted]]