[R] RMySQL_0.5.5 / SUSE9.2
David James
dj at research.bell-labs.com
Tue Dec 21 16:05:42 CET 2004
Hi,
I'm not sure where is/are your mistake(s). But you could try finding
whether you installed the MySQL shared libraries (as of 4.1.8 there
are separate RPMs for these), and/or whether you need to add to your
LD_LIBRARY_PATH the directory where these reside.
Regards,
--
David
christian schulz wrote:
> Hi,
>
> where is my mistake?
>
> i have done follow comand-lines.
>
> export PKG_LIBS="-L/usr/lib/myslq"
> export PKG_CPPFLAGS="-I/usr/include/mysql"
> R CMD INSTALL RMySQL_0.5-5.tar.gz
>
> i'm using R-2.0.1 , suse 9.2, 5.0.0-alpha-standard , and after a succefuel
> compilaition i get when im type in R library(RMySQL):
>
> Loading required package: DBI
> Error in dyn.load(x, as.logical(local), as.logical(now)) :
> unable to load shared library
> "/usr/local/lib/R/library/RMySQL/libs/RMySQL.so":
> /usr/local/lib/R/library/RMySQL/libs/RMySQL.so: undefined symbol:
> mysql_field_count
> Error in library(RMySQL) : .First.lib failed for 'RMySQL'
>
> P.S.
> Perhaps MySQL 5.0.0-alpha cause the error, but in the past it works
> under linux.........?
>
> many thanks &
> regards, christian
>
> ______________________________________________
> 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.html
More information about the R-help
mailing list