This doesn't work. I gave up and used this docker container which uses the Ubuntu PPA
yum install qt5-qtbase-devel qt5-qtsvg-devel boost-devel qt5-linguist
yum install centos-release-scl-rh
yum install devtoolset-3-gcc devtoolset-3-gcc-c++
source scl_source enable devtoolset-3
https://gist.github.com/cloverstd/a83bef9c2571685212aab1da79c79bd2
wget https://github.com/arvidn/libtorrent/releases/download/libtorrent_1_1_12/libtorrent-rasterbar-1.1.12.tar.gz
tar -vzxf libtorrent-rasterbar-*.tar.gz
cd libtorrent-rasterbar-*
./configure --with-boost-libdir=/usr/lib64
make
sudo make install
This doesn't work
wget https://github.com/qbittorrent/qBittorrent/archive/release-4.1.9.1.tar.gz
tar -vzxf release-4.1.9.1.tar.gz
cd qBittorrent-*
# The "libtorrent_CFLAGS=/usr/local/lib libtorrent_LIBS=/usr/local/lib/libtorrent-rasterbar.so.9.0.0" prefix is to enable configure to find libtorrent since there's no package
libtorrent_CFLAGS=/usr/local/lib libtorrent_LIBS=/usr/local/lib/libtorrent-rasterbar.so.9.0.0 ./configure --prefix=/usr --with-boost-system --disable-gui CPPFLAGS=-I/usr/include/qt5
make
yum install qt5-qtbase-devel qt5-qtsvg-devel boost-devel rb_libtorrent-devel qt5-linguist
# This gets a bit further with boost but no dice
./configure --with-boost=/usr --disable-gui --enable-systemd
# This gets past boost
./configure --with-boost=no --disable-gui --enable-systemd
https://blog.packagecloud.io/eng/2015/05/11/building-rpm-packages-with-mock/
- http://theamdara.blogspot.com/2017/08/compile-qbittorrent-without-installing.html
- qbittorrent/qBittorrent#10067
- qbittorrent/qBittorrent#10065
- https://gist.github.com/cloverstd/a83bef9c2571685212aab1da79c79bd2
- qbittorrent/qBittorrent#11192 (comment)
- https://notes.benv.junerules.com/boost-qbittorrent-and-lib64/