-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build fails on macOS 10.6: Symbol not found: _gsl_poly_eval
#1
Comments
Thanks for the report. Could I ask a couple of things?
To explain, this package comes with its own GSL codes. It must have |
@watanabe-j Thank you for responding! This is what is written in
This is on macOS 10.6 / ppc, with gcc 14.2.0 and R 4.4.1. |
UPD. Sorry, R uses gcc 13.3.0. (The default MacPorts gcc version is 14, but R ecosystem is kept at gcc13 at the moment.) |
Thanks again.
Evidently I was wrong here - your If you are interested in using the package meanwhile, you are welcome to try installing it from this temporary branch. This one uses GSL functions via |
@watanabe-j Thank you, version from 4c73940 builds fine:
And yeah, it links to
|
Thanks for confirming. Great to know the package builds on your system. However, it is not my intended design that this package links to an external GSL. That can be done most easily via So ideally the issue should be solved by a different means. I'm puzzled because I have not encountered this problem in my environments (Ubuntu and Windows) or in CRAN package check flavours. So I tend to suspect the problem is specific to the platform used here. Googling suggests that OS X had problems handling inline functions: Further googling suggests that specifying a C standard, e.g., C11, C17, may help mitigate this sort of problem around inline functions.
Of course there's no rushing. Thanks a lot for your kindness. |
Symbol not found: _gsl_poly_eval
Symbol not found: _gsl_poly_eval
I tried to follow the way how GSL handles inline functions: 870e394. |
@watanabe-j Thanks, I will try today. |
From 655f77d commit:
|
Thanks @barracuda156. But that version is from the main branch before the suggested fix has been made. |
From 870e394 it installs fine:
Thank you for fixing it! I close the issue as resolved now. |
Great! I will merge this to the main branch. |
Solve #1; installation failure with inline function
Added to MacPorts now: https://ports.macports.org/port/R-qfratio (If you will be interested to maintain it, please open a PR there.) |
@watanabe-j Looks like it fails to link to
libgsl
?The text was updated successfully, but these errors were encountered: