[R] R-release dynamic load problem on HPUX10.20

Luke Tierney luke at goose.stat.umn.edu
Wed Mar 22 19:43:38 CET 2000

U-E59264-Osman F Buyukisik wrote:
> Hello,
> I just pulled the patched release:
> R-release Version 1.0.0 Patched (March 19, 2000), on HPUX10.2
> I am having dynamic library load problems. I configured with:
> ./configure  --prefix=/home/absd00t/local --with-readline --with-x
> After changing etc/Makeconf to take -lblas out of libs (the blas
> library provided by the system is not a shared library), system was
> built without any interruptions. But when I do
> library(modreg)
> I get :
> Error in dyn.load(x, as.logical(local), as.logical(now)) : 
>         unable to load shared library "/home/absd00t/local/lib/R/library/modreg/libs/modreg.sl":
>   can't open /home/absd00t/local/lib/R/library/modreg/libs/modreg.sl
> The file is there (installed by R), and has the right permissions. nm
> works on it and the system thinks it is a shared library. What could
> be wrong?? 
> Last one I built, 0.90, was working OK. But now it is overwritten :-) 
> Thanks in advance,
> Osman
> machine C160, hpux10.20, gcc, f77(hpux).

I suspect what you did about blas is the problem.  On my 10.20 system
I run

	env MAKE=gmake .configure

and get g77/fort77 and no blas.  We have blas but in a nonstandard
place.  (I need gmake to get make check to sort of work; otherwise
make will do.)  After that, `make' and then library(modreg) works.

You might try `configure --with-blas=no' if configure is picking up
blas by default for you (I think this is the right way to tell it not
to--if not, I'm sure someone who knows more about the configure script
will set me straight).

One other hack that may be useful on HPUX: If you add BIND_VERBOSE to
the flags for shl_load then shl_load may print something useful, like
the name of the symbol it can't find.  The call to shl_load is in
src/unix/hpdlfcn.c, but even though this is a .c file it is used by
inclusion in src/unix/dynload.c, so that is the file that needs to
be recompiled.

Hope that helps


Luke Tierney
University of Minnesota                      Phone:           612-625-7843
School of Statistics                         Fax:             612-624-8868
313 Ford Hall, 224 Church St. S.E.           email:      luke at stat.umn.edu
Minneapolis, MN 55455 USA                    WWW:  http://www.stat.umn.edu
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

More information about the R-help mailing list