U-E59264-Osman F Buyukisik
2000-Mar-22 15:48 UTC
[R] R-release dynamic load problem on HPUX10.20
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). -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
partha_bagchi@hgsi.com
2000-Mar-22 16:46 UTC
[R] R-release dynamic load problem on HPUX10.20
I have a similar problem with R 1.0.0 (Windows 98) in loading 3 packages - ctest, chron, lme. Every other package loads fine. I can live without chron, but ctest and lme are very important to me. Reinstallation of R doesn't help. I can't figure out what the problem. Has anybody else had this problem in Windows? Any suggestions appreciated. TIA. PS: I did report this Prof. Ripley and also, Prof. Lumley had replied to me before saying the problem does not occur on NT. The error message is the same as below (except -dll instead of sl) Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library "C: \R\RW1000/library/chron/libs/chron.dll": LoadLibrary failure U-E59264-Osman F Buyukisik To: r-help at stat.math.ethz.ch <absd00t at c1186.ae.ge cc: .com> Subject: [R] R-release dynamic load problem on HPUX10.20 Sent by: owner-r-help at stat.ma th.ethz.ch 03/22/00 10:48 AM Please respond to osman.buyukisik 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). -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. -.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. _._._ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
partha_bagchi@hgsi.com
2000-Mar-22 18:32 UTC
[R] R-release dynamic load problem on HPUX10.20
Thanks very much. Loading of nlme is not a problem for me in R.1.0.0. So at least that solves 1/3 of the problem for me :) Douglas Bates <bates at stat.wis To: partha_bagchi at hgsi.com c.edu> cc: osman.buyukisik at ae.ge.com, r-help at stat.math.ethz.ch Sent by: Subject: Re: [R] R-release dynamic load problem on bates at franz.sta HPUX10.20 t.wisc.edu 03/22/00 12:46 PM partha_bagchi at hgsi.com writes:> I have a similar problem with R 1.0.0 (Windows 98) in loading 3 packages-> ctest, chron, lme. Every other package loads fine. I can live without > chron, but ctest and lme are very important to me. Reinstallation of R > doesn't help. I can't figure out what the problem. Has anybody else had > this problem in Windows? Any suggestions appreciated. TIA.Please do not try to install the lme package. That package has been superseded by the nlme package, for which a .zip file is available in the bin/windows/windows-9x/contrib/ area on CRAN. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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 -- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
partha_bagchi@hgsi.com
2000-Mar-22 19:51 UTC
[R] R-release dynamic load problem on HPUX10.20
Guido, Looks like this was the clue along with Douglas Bates comment. Indeed, I had an older version of ctest that was overwriting the base version of ctest. Hence the dyn.load problem. I can load ctest just fine now. I re-downloaded chron and reinstalled R, along with all the packages. Now all the packages load just fine. Thanks for all your help as well as Prof. Douglas Bates. I am finally upgrading to R version 1.0. The problems mentioned below were show-stoppers for me. I intend to visit CRAN once a month to make sure that I have updated packages. Partha. Guido Masarotto <guido at sirio.stat To: Douglas Bates <bates at stat.wisc.edu> .unipd.it> cc: partha_bagchi at hgsi.com, osman.buyukisik at ae.ge.com, r-help at stat.math.ethz.ch 03/22/00 02:06 PM Subject: Re: [R] R-release dynamic load problem on HPUX10.20 On Wed, Mar 22, 2000 at 11:46:53AM -0600, Douglas Bates wrote:> partha_bagchi at hgsi.com writes: > > > I have a similar problem with R 1.0.0 (Windows 98) in loading 3packages -> > ctest, chron, lme. Every other package loads fine. I can live without > > chron, but ctest and lme are very important to me. Reinstallation of R > > doesn't help. I can't figure out what the problem. Has anybody else had > > this problem in Windows? Any suggestions appreciated. TIA. > > Please do not try to install the lme package. That package has been > superseded by the nlme package, for which a .zip file is available in > the bin/windows/windows-9x/contrib/ area on CRAN.Partha, just a quick question (due to Douglas comment): are you using the updated versions of the packages at CRAN (BTW, ctest is now in the base distribution) ? Reasons of the question: (i) lme is not in the 'pre-compiled for Windows' contrib section at CRAN (ii) I can dyn.load the ctest in the base distribution also under Win98 (indeed, also make pkgcheck-ctest works for me under Win98) (iii) every change in the R API can result under Windows in the impossibility to load a particular dll (it happens if the dll needs a symbol in R.dll now exported with another name); for this reason, at least under Windows, it has been necessary to upgrade not only the base distribution but also the packages. Perhaps, now this would be less mandatory since the plans are to keep the API stable. guido -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._