View Single Post
Old 2021-01-14, 23:21   #4
EdH's Avatar
"Ed Hall"
Dec 2009
Adirondack Mtns

23·3·5·31 Posts

Originally Posted by 2147483647 View Post
I just tried downgrading back to GMP 6.1.2 and rebuilding everything, and I still get the same segfaults.

Edit: I fixed it. Apparently I already GMP 6.2.0 installed system-wide from apt, and yafu was using those libraries instead of the ones it was built with. If I set LD_LIBRARY_PATH to the path of the GMP 6.1.2 libraries, it works.
Thanks for keeping us updated on your progress. I suppose at some point you may wish to upgrade Msieve and YAFU to work with GMP-6.2.0, but if you're happy with it currently, I guess there's no hurry. You can actually make alternate directories of Msieve and YAFU and build them against the newer GMP. I sometimes have several YAFU folders on a mcahine when trying different builds (e.g. YAFU-old, YAFUwin, YAFUtrunk, YAFUnew, etc.).
EdH is offline   Reply With Quote