Hi I have R 2.2.0 and SUSE 10.0 installed. When I try to install the package RMySQL I get the error that the library "libz" could not be found. This is strange because I find the library "libz.so.1" in the directory "/usr/lib/". Can anybody help? Thanks a lot in advance, Dominic [[alternative HTML version deleted]]
Prof Brian Ripley
2005-Oct-23 10:36 UTC
[R] Probelms installing package RMySQL (Dominic Senn)
On Sun, 23 Oct 2005, Dominic Senn wrote:> Hi > I have R 2.2.0 and SUSE 10.0 installed. When I try to install the package > RMySQL I get the error that the library "libz" could not be found. This is > strange because I find the library "libz.so.1" in the directory "/usr/lib/". > > Can anybody help? Thanks a lot in advance, DominicWe may be able to help if you tell us at what stage in the install process this happens and quote the exact message. Note that you will need libz.so and not just libz.so.1, so it is likely you have a development RPM missing. On FC3 gannet% rpm -q --whatprovides /usr/lib/libz.so zlib-devel-1.2.1.2-3.fc3 gannet% rpm -q --whatprovides /usr/lib/libz.so.1 zlib-1.2.1.2-3.fc3> > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.htmlPLEASE do, and not send HTML mail. -- 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 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
Make sure you have your environment variable LDFLAGS set to "-L/usr/ lib", otherwise I believe the linker doesn't look there. You can check where R looks in the Makeconf file, under LDFLAGS. Not too sure though - just slogged through building on a brand new Solaris box, and that was my problem. I am sure there are others who know FAR more than I. jeff On Oct 23, 2005, at 5:00 AM, r-help-request at stat.math.ethz.ch wrote:> [R] Probelms installing package RMySQL (Dominic Senn)
Seemingly Similar Threads
- make: Target `all' not remade because of errors. (PR#8585)
- RMySQL installation: libz missing
- error from make: gcc -shared -L/usr/local/lib64 ... relocation R_X86_64_32...
- libz library missing while installing RMySQL
- R-devel/Linux x64/Sun Studio 12: Problem with Matrix