-
Notifications
You must be signed in to change notification settings - Fork 23
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
Symbol not found: _SZ_BufftoBuffCompress
#165
Comments
Thank you for letting me know. Unfortunately I don't have access to either Solaris nor a latest version Mac, so cannot really debug this issue. If you have a PR that resolves this issue, that would be much appreciated and I would merge it. |
Unfortunately I don't know too much about coding in C. However, I guess you could try rhub::check(platform = "macos-highsierra-release-cran") I guess they have very unique setups for macOS and Solaris. Additional link: |
Thanks for your suggestion. I think this may be related to a missing library on the newer MacOS. Someone with a Mac that can install dependencies needs to check this. |
I think you don't have to do something to fix the error on macOS if CRAN doesn't tell you to fix it. The CRAN environment of macOS is really fragile. It's a waste of time to struggle with the weird CRAN environment. |
Arriving here from https://forum.hdfgroup.org/t/symbol-not-found-sz-bufftobuffcompress/8154 AFAIK that error is produced when you don't link again the SZIP library, and I don't see the As a counterpoint to @ShotaOchi I regularly get emails from the CRAN maintainers if rhdf5 or Rhdf5lib breaks on Mac or Solaris, and they're not even a CRAN packages! Sorry that's not very helpful, but I can fire up my Mac virtual machine and see if there's anything obvious about the default HDF5 installation that might be triggering this. |
Yeah sometimes CRAN issues do automatically fix by themselves. But it's tricky because those issues mean there are some portability problems either in your package or the dependency. And your package cannot properly find the non basic system utilities properly. CRAN has some people manually debugging those problems. You receive those emails when they can find out the bugs. I opened this issue because my package that depends on hdf5r couldn't get through all the tests. |
My comment has a bad vibe but blaming CRAN is not my purpose. |
The CRAN error on macos |
The problem seems to be that
However your autoconf script seems to ignore all that and always link the R package with this hardcoded line: Line 112 in 7e2d84d
And because that line is missing |
I unfortunately don't have a Mac, but if you could make a PR I am happy to merge it. Thanks |
OK I have sent a PR: #180 |
The new version 1.3.4 is on CRAN with fix #180, but the error on new MacOS ARM still occurs: https://www.r-project.org/nosvn/R.check/r-release-macos-arm64/hdf5r-00check.html |
CRAN has not yet updated the arm check for your package, sometimes this takes a few days. The log file you linked above still mentions hdf5r 1.3.3 at this point. It may take longer because the maintainers are currently on vacation. |
Oh sorry.Thanks i didn't notice.
…On Mon, Aug 30, 2021, 10:50 Jeroen Ooms ***@***.***> wrote:
CRAN has not yet updated the arm check for your package, sometimes this
takes a few days. The log file you linked above still mentions hdf5r 1.3.3
at this point.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#165 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AASGMYWUMMYYZO2JOKU7SC3T7NA4NANCNFSM4XTAY3DQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Checks now passing except for Solaris. Closing this issue. |
Sorry to post it again here after 3 years. I was trying to install
It looks like running I'm compiling with HomeBrew installed HDF5 library. |
Could you send me what |
There is no such option...
I think this is because the Homebrew builds HDF5 in autotools rather than cmake. However, they do have pkg-config .pc file (at some point around 2010, they made sure the pkg-config always exists). Here are flags using pkg-config
|
This HDFGroup/hdf5#8 seems to indicate the the lack of pkg-config is a longstanding issue and is a difference between cmake and autotools builds. In my autotools-based hdf5, there is no pkgconfig-file included and as the issue states, some of this also differs by distro. In any case, maybe this should be a separate new issue, not this old one. See also discussion here: spack/spack#27000 |
https://cran.r-project.org/web/checks/check_results_hdf5r.html
Cannot install on macOS or Solaris.
I also encountered issue when checking with
rhub
Check results for the package
raveio
which importshdf5r
: (the link might not be permanent)Error summaries:
The text was updated successfully, but these errors were encountered: