[R] installing RMySQL
Christian Schulz
ozric at web.de
Wed Apr 7 13:52:45 CEST 2004
Your gcc cannot find libz, which most
likely means that you do not have installed the
development version of it.
Search for libz or zlib in your rpm manager!?
christian
Am Mittwoch, 7. April 2004 12:47 schrieb Joerg Schaber:
> Hi,
>
> I have problems installing RMySQL under R1.8.1 and RHlinux (kernel2.4.7).
> During compilation I get:
> ** libs
> gcc -I/usr/lib/R/include -I/usr/include/mysql -I/usr/local/include
> -D__NO_MATH_INLINES -mieee-fp -fPIC -O2 -m486 -fno-strength-reduce -g
> -c RS-DBI.c -o RS-DBI.o
> gcc -I/usr/lib/R/include -I/usr/include/mysql -I/usr/local/include
> -D__NO_MATH_INLINES -mieee-fp -fPIC -O2 -m486 -fno-strength-reduce -g
> -c RS-MySQL.c -o RS-MySQL.o
> gcc -shared -L/usr/local/lib -o RMySQL.so RS-DBI.o RS-MySQL.o
> -lmysqlclient -lz
> /usr/bin/ld: cannot find -lz
> collect2: ld returned 1 exit status
> make: *** [RMySQL.so] Error 1
> ERROR: compilation failed for package 'RMySQL'
>
> Do I possibly have to upgrade gcc or ld?
> GNU ld version 2.11.90.0.8 (with BFD 2.11.90.0.8)
> gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98)
>
> Thanks,
>
> joerg
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
More information about the R-help
mailing list