Howdy,
I'm experiencing a segmentation fault when trying to load
mclust.so from mclust-1.1-4. I'm using R-1.3.1 on RedHat 6.2,
and `gcc --version` reports "egcs-2.91.66".
Any ideas?
-Andy
Package install:
> install.packages("mclust")
[stuff omitted]
Installing source package `mclust' ...
libs
g77 -fPIC -g -O2 -c blapack.f -o blapack.o
g77 -fPIC -g -O2 -c mclust.f -o mclust.o
gcc -shared -o mclust.so blapack.o mclust.o -L/usr/local/lib -lg2c -lm
-L/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66 -L/usr/i386-redhat-linux/lib
-lm
[stuff omitted]
DONE (mclust)
DONE (INSTALL)
Delete downloaded files (y/N)? y
Warning message:
argument `lib' is missing: using /home/splash/andyj/lib/R in:
install.packages("mclust")
> library("mclust")
Segmentation fault (core dumped)
"Verbose" session showing dyn.load seg fault:
~> R --verbose
R : Copyright 2001, The R Development Core Team
Version 1.3.1 (2001-08-31)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type `license()' or `licence()' for distribution details.
R is a collaborative project with many contributors.
Type `contributors()' for more information.
Type `demo()' for some demos, `help()' for on-line help, or
`help.start()' for a HTML browser interface to help.
Type `q()' to quit R.
[Previously saved workspace restored]
lnow dyn.load(/usr/local/lib/R/library/ctest/libs/ctest.so)..
i >R_ReplConsole(): before "for(;;)" {main.c}
> library(mclust)
Garbage collection 1 = 0+0+1 (level 2) ...
135144 cons cells free (33%)
5.7 Mbytes of heap free (94%)
now dyn.load(/home/splash/andyj/lib/R/mclust/libs/mclust.so)..
Segmentation fault (core dumped)
Andy Jacobson
andyj at splash.princeton.edu
Program in Atmospheric and Oceanic Sciences
Sayre Hall, Forrestal Campus
Princeton University
PO Box CN710 Princeton, NJ 08544-0710 USA
Tel: 609/258-5260 Fax: 609/258-2850
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at
stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On 31 Oct 2001, Andy Jacobson wrote:> I'm experiencing a segmentation fault when trying to load > mclust.so from mclust-1.1-4. I'm using R-1.3.1 on RedHat 6.2, > and `gcc --version` reports "egcs-2.91.66".Standard problem: the Fortran on that system is broken. It works with gcc 2.95.3 or gcc 3.0.2, for example. Avoid unreleased compilers put out by RedHat! If this is a problem I can make available a known working mclust.so for RedHat 6.2. -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> Peter Dalgaard BSA wrote: > > > Prof Brian Ripley <ripley at stats.ox.ac.uk> writes: > > > > > On 31 Oct 2001, Andy Jacobson wrote: > > > > > > > I'm experiencing a segmentation fault when trying to load > > > > mclust.so from mclust-1.1-4. I'm using R-1.3.1 on RedHat 6.2, > > > > and `gcc --version` reports "egcs-2.91.66". > > > > > > Standard problem: the Fortran on that system is broken. It works with > > > gcc 2.95.3 or gcc 3.0.2, for example. Avoid unreleased compilers put out > > > by RedHat! > > > > > > If this is a problem I can make available a known working mclust.so for > > > RedHat 6.2. > > > > (Actually, I think egcs-2.91.66 aka EGCS 1.1.2 *was* released by > > someone responsible, it's just buggy...) > > > > Beware that this is not the only one! Several other packages also fail > > to load in the same way. When 1.4.0 comes out, builds of R itself will > > fail with stock 6.2. (Unless someone can figure out a workaround, > > which hardly seems worth the effort. F2c is a workaround, btw, but it > > is not standard with RH.) > > > > -- > > O__ ---- Peter Dalgaard Blegdamsvej 3 > > c/ /'_ --- Dept. of Biostatistics 2200 Cph. N > > (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 > > ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907 > > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > > r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html > > Send "info", "help", or "[un]subscribe" > > (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch > > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ > > Effectively many packages present the same problems as mclust, for ex the package > permax. It's Dr Gentleman who was helped me to solve the problem because I have > installed by > radically using Mandrake instead of RedHat. So now I haven't any problem of > segmentation > fault with mclust, permax .and all is correct on Mandrake...... > > Aboubakar Maitournam.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._