[Rd] embedded R resolving wrong symbols

Warnes, Gregory R gregory_r_warnes@groton.pfizer.com
Wed, 8 May 2002 16:25:05 -0400


Hi All,

When R is embedded in python on my system (Solaris 8), calls to the c
functions 'regcomp' and 'regexec' are being resolved to the c-library,
rather than the functions compiled from regex.c.  This leads to segfaults
because the c-library functions have quite different semantics.

Is there any way to get around this, other than renaming the offending
functions?  E.G., would it be possible to use the '-wrap' argument to ld, or
perhaps there is another argument which says 'check inside this library for
symbols before looking elsewhere'?

Thanks,

-Greg

----------------- obligatory version information

R 1.4.1, 1.5.0,
gcc 2.95.2, 3.0.3,
python 2.1.1, 2.1.3
SunOs 5.8, sparc




LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._