Closed GiggleLiu closed 2 years ago
My friend also see this error when using google cloud with OS: Debian 9.13. This might be related to specifying a specific version of boost. Why it searches the system path instead of using the boost_jll
?
I find required lib file in the artifacts folder, maybe it is just an issue of look up path.
(base) ➜ artifacts find .|grep libboost_program
./9e486cf987b892f0435f3d745c329d3e7a038ab5/lib/libboost_program_options.so.1.76.0
./9e486cf987b892f0435f3d745c329d3e7a038ab5/lib/cmake/boost_program_options-1.76.0/libboost_program_options-variant-shared.cmake
./9e486cf987b892f0435f3d745c329d3e7a038ab5/lib/cmake/boost_program_options-1.76.0/libboost_program_options-variant-static.cmake
./9e486cf987b892f0435f3d745c329d3e7a038ab5/lib/libboost_program_options.so
./9e486cf987b892f0435f3d745c329d3e7a038ab5/lib/libboost_program_options.a
./9960e060b732618174ffd95804d6635833f99513/lib/cmake/boost_program_options-1.71.0/libboost_program_options-variant-shared.cmake
./9960e060b732618174ffd95804d6635833f99513/lib/cmake/boost_program_options-1.71.0/libboost_program_options-variant-static.cmake
./9960e060b732618174ffd95804d6635833f99513/lib/libboost_program_options.so.1.71.0
./9960e060b732618174ffd95804d6635833f99513/lib/libboost_program_options.so.1
./9960e060b732618174ffd95804d6635833f99513/lib/libboost_program_options.so.1.71
./9960e060b732618174ffd95804d6635833f99513/lib/libboost_program_options.so
./9960e060b732618174ffd95804d6635833f99513/lib/libboost_program_options.a
./1f9c17d74a12ed0de413318dd1f11e2379e4716f/logs/KaHyPar/update_rpath_libkahypar.so_libboost_program_options.so.1.71.0.log.gz
./1f9c17d74a12ed0de413318dd1f11e2379e4716f/logs/KaHyPar/update_linkage_libkahypar.so_libboost_program_options.so.1.71.0.log.gz
This problem make KaHyPar.jl installation unsuccessful in most hosts. So I think it is quite urgent. Since I know little about how the binaries are compiled. Can anyone help look into it?
I have the same issue. Have you found any solution?
I have found a temporary solution:
For Ubuntu 20.04, this is fine, just install libboost-program-options-dev
,
For older version, compile-install libboost > 1.7
and link the file to target file
sudo ln -s /usr/lib/libboost_program_options.so.1.7x.y /usr/lib/x86_64-linux-gnu/libboost_program_options.so.1.71.0
@GiggleLiu: I agree this is kind of urgent. I will try to take a look at this when I can find the time. Thanks for the temporary solution. I recently ran into this problem on an old Ubuntu 14.04 machine, and could not get it to work no matter what work-around I tried.
@jalving For older version Ubuntu, you need to compile and install latest libboost
first, then you need to located the so
file and link it to the required file. If this does not work, then I also have no idea.
@GiggleLiu and @jalving Thanks for the answer, any solution for Windows machines?
@BarzegarAlireza We haven't managed to get a working windows artifact yet, mostly because neither I or the KaHyPar devs have had time to work with windows compilers. I think some KaHyPar users have managed to compile with Windows, so it's technically possible to create an artifact.
Fixed by https://github.com/JuliaRegistries/General/pull/49308 (alternatively, you could have installed ]add boost_jll@1.71.0
)
Closing this issue. Feel free to re-open if it persists.
Julia v1.6.1, KaHyPar 0.2.0, Ubuntu 20.04
Note: I can fix it by typing
Still wondering why the error took place. I just updated some packages.