-
Notifications
You must be signed in to change notification settings - Fork 43
Error building in Arch Linux: Could not link against boost_system-mt #8
Comments
See workaround on the hush forums |
Not really a fix though, we may have to upgrade the boost package |
I checked, they still only support max gcc 6. Made a change to the build.sh to detect arch and use gcc-5 and g++-5 |
Great :), I'll cherry pick the commit if that gets merged into master |
Great, I will have to check it out and will report back! Did you have to roll back berkelydb as well? It seems the bitcoin wallet won't build with 5.3 and requires 4.8 for compatibility :rolleyes: though I did just learn about the flag |
Also, if these patches (including boost-no-mt-suffix.patch) are of any interest |
the no-mt patch didn't resolve the issue, I tried that originally. Nothing inside the packaged needed changing, it is just that Arch has gcc 7 and boost isn't built against 7 yet. Ubuntu still ships with 5 |
The There are then a few other warnings in zencash code, that also are treated as errors, related to deprecated C++ code. |
Unable to build in 4.9.30-1-ARCH
Building fails on:
Tried building with DBoost_USE_MULTITHREADED=OFF without success
Results in failing with
This boost bug report has comments that suggest that the -mt has been removed
https://svn.boost.org/trac10/ticket/4936
After reading Zcash 2294 and Zcash 2304 I tried building with "--disable-proton" in /zen/zcutil/build.sh:L95
Build fails with:
The text was updated successfully, but these errors were encountered: