-
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
Build failure: requires libc++ #65
Comments
Unfortunately I cannot reproduce this so I won't be able to fix it. Is there a docker image or something similar where the issue can be reproduced? |
I fixed the build failure (of 'cargo test') on NetBSD with #66 I get a couple test failures:
but it at least gets this far! Before it didn't even link. |
Btw, here is an example if you want to set up a NetBSD runner in github CI: |
Thank you! Can I please have a new release with the fix included, so I can go back to ouch and let them pull in that version with the fix? :-) |
Done, 0.5.8 is released |
Thank you! |
While the build of 0.5.8 itself works fine now, when I try using as a dependency, I still get the same link error. |
it's possible that you might have to run |
Ah, that was it - thank you, I hadn't understood that this was split into multiple crates. |
I was packaging ouch for pkgsrc and compiling ouch on NetBSD.
The build failed trying to link against
libc++
. NetBSD only provideslibstdc++
.In the ouch bugreport a simple test was suggested to try if the problem is in unrar.rs, and the test seems to indicate that.
I'm not sure what the best fix is.
IIRC, libstdc++ is even automatically linked in when using the
c++
binary to compile code, but I may be mistaken.The text was updated successfully, but these errors were encountered: