Error compiling qBittorrent-nox 4.2.1 on Debian 10.2 #9514

Closed
opened 2026-02-21 20:13:37 -05:00 by deekerman · 11 comments
Owner

Originally created by @Elypha on GitHub (Dec 21, 2019).

qBittorrent version and Operating System

qBittorrent 4.2.1
Linux 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64 GNU/Linux

If on linux, libtorrent-rasterbar and Qt version

libtorrent-rasterbar 1.2.3
Qt 5.11

What is the problem

Following error during the make step of qbittorrent:

/usr/bin/ld: /usr/local/lib/libtorrent-rasterbar.so: undefined reference to `libiconv_open'
/usr/bin/ld: /usr/local/lib/libtorrent-rasterbar.so: undefined reference to `libiconv'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:609: qbittorrent-nox] Error 1
make: *** [Makefile:45: sub-src-make_first] Error 2

$ ldd -r /usr/local/lib/libtorrent-rasterbar.so

	linux-vdso.so.1 (0x00007ffce774e000)
	libssl.so.1.1 => /lib/x86_64-linux-gnu/libssl.so.1.1 (0x00007f41467b7000)
	libcrypto.so.1.1 => /lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007f41464ce000)
	libboost_system.so.1.67.0 => /lib/x86_64-linux-gnu/libboost_system.so.1.67.0 (0x00007f41464c7000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f41464a6000)
	libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f4146322000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f414619f000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f4145fdc000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f4146b76000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f4145fc2000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f4145fbd000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f4145fb3000)
undefined symbol: libiconv_open	(/usr/local/lib/libtorrent-rasterbar.so)
undefined symbol: libiconv	(/usr/local/lib/libtorrent-rasterbar.so)

$ ldconfig -p | grep iconv

libiconv.so.2 (libc6,x86-64) => /usr/local/lib/libiconv.so.2
libiconv.so (libc6,x86-64) => /usr/local/lib/libiconv.so

I followed the installation steps on the wiki and here is the detailed output.

git clone https://github.com/arvidn/libtorrent.git
cd libtorrent
git checkout RC_1_2
./autotool.sh
./configure --disable-debug --enable-encryption CXXFLAGS="-std=c++14"
https://pastebin.com/cH7rHnat
make -j 6
https://pastebin.com/af9iQ8r2
make install
https://pastebin.com/aX43SsuN

git clone https://github.com/qbittorrent/qBittorrent
cd qBittorrent
git checkout v4_2_x
./configure --disable-gui CXXFLAGS="-std=c++14"
https://pastebin.com/2FiKNMj7
(Here seems to be errors about the missing of translation files)
make -j 6
https://pastebin.com/RSn49AQE

I have tried using ./configure --disable-debug --enable-encryption --with-libiconv CXXFLAGS="-std=c++14" when configuring libtorrent but it did not help.

Could anyone kindly help me out of this problem? I have tried this on two different debian 10 x64 servers and both got the same error.

What is the expected behavior

Steps to reproduce

Extra info(if any)


Solution

This error is due to an inappropriate manual installation of libiconv, and can be fixed by removing manually installed libiconv files according to this.

Originally created by @Elypha on GitHub (Dec 21, 2019). ### qBittorrent version and Operating System qBittorrent 4.2.1 Linux 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64 GNU/Linux ### If on linux, libtorrent-rasterbar and Qt version libtorrent-rasterbar 1.2.3 Qt 5.11 ### What is the problem Following error during the make step of qbittorrent: ``` /usr/bin/ld: /usr/local/lib/libtorrent-rasterbar.so: undefined reference to `libiconv_open' /usr/bin/ld: /usr/local/lib/libtorrent-rasterbar.so: undefined reference to `libiconv' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:609: qbittorrent-nox] Error 1 make: *** [Makefile:45: sub-src-make_first] Error 2 ``` $ ldd -r /usr/local/lib/libtorrent-rasterbar.so ``` linux-vdso.so.1 (0x00007ffce774e000) libssl.so.1.1 => /lib/x86_64-linux-gnu/libssl.so.1.1 (0x00007f41467b7000) libcrypto.so.1.1 => /lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007f41464ce000) libboost_system.so.1.67.0 => /lib/x86_64-linux-gnu/libboost_system.so.1.67.0 (0x00007f41464c7000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f41464a6000) libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f4146322000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f414619f000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f4145fdc000) /lib64/ld-linux-x86-64.so.2 (0x00007f4146b76000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f4145fc2000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f4145fbd000) librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f4145fb3000) undefined symbol: libiconv_open (/usr/local/lib/libtorrent-rasterbar.so) undefined symbol: libiconv (/usr/local/lib/libtorrent-rasterbar.so) ``` $ ldconfig -p | grep iconv ``` libiconv.so.2 (libc6,x86-64) => /usr/local/lib/libiconv.so.2 libiconv.so (libc6,x86-64) => /usr/local/lib/libiconv.so ``` I followed the installation steps on the wiki and here is the detailed output. `git clone https://github.com/arvidn/libtorrent.git` `cd libtorrent` `git checkout RC_1_2` `./autotool.sh` `./configure --disable-debug --enable-encryption CXXFLAGS="-std=c++14"` https://pastebin.com/cH7rHnat `make -j 6` https://pastebin.com/af9iQ8r2 `make install` https://pastebin.com/aX43SsuN `git clone https://github.com/qbittorrent/qBittorrent` `cd qBittorrent` `git checkout v4_2_x` `./configure --disable-gui CXXFLAGS="-std=c++14"` https://pastebin.com/2FiKNMj7 (Here seems to be errors about the missing of translation files) `make -j 6` https://pastebin.com/RSn49AQE I have tried using `./configure --disable-debug --enable-encryption --with-libiconv CXXFLAGS="-std=c++14"` when configuring libtorrent but it did not help. Could anyone kindly help me out of this problem? I have tried this on two different debian 10 x64 servers and both got the same error. ### What is the expected behavior ### Steps to reproduce ### Extra info(if any) *** ### Solution This error is due to an inappropriate manual installation of libiconv, and can be fixed by removing manually installed libiconv files according to [this](https://github.com/qbittorrent/qBittorrent/issues/11723#issuecomment-568263650).
deekerman 2026-02-21 20:13:37 -05:00
Author
Owner

@NickHo99 commented on GitHub (Dec 22, 2019):

Try to building with below:

Dependencies:

apt install build-essential pkg-config automake libtool git zlib1g-dev
apt install libboost-dev libboost-system-dev libboost-chrono-dev libboost-random-dev libssl-dev libgeoip-dev
apt install qtbase5-dev qttools5-dev-tools libqt5svg5-dev

libtorrent:

git clone https://github.com/arvidn/libtorrent.git
cd libtorrent
git checkout RC_1_2
./autotool.sh
./configure --disable-debug --enable-encryption CXXFLAGS="-std=c++14"
make -j 6
make install
ldconfig

qBittorrent:

git clone https://github.com/qbittorrent/qBittorrent
cd qBittorrent
git checkout v4_2_x
./configure --disable-gui CXXFLAGS="-std=c++14"
make -j 6
make install
@NickHo99 commented on GitHub (Dec 22, 2019): Try to building with below: Dependencies: ``` apt install build-essential pkg-config automake libtool git zlib1g-dev apt install libboost-dev libboost-system-dev libboost-chrono-dev libboost-random-dev libssl-dev libgeoip-dev apt install qtbase5-dev qttools5-dev-tools libqt5svg5-dev ``` libtorrent: ``` git clone https://github.com/arvidn/libtorrent.git cd libtorrent git checkout RC_1_2 ./autotool.sh ./configure --disable-debug --enable-encryption CXXFLAGS="-std=c++14" make -j 6 make install ldconfig ``` qBittorrent: ``` git clone https://github.com/qbittorrent/qBittorrent cd qBittorrent git checkout v4_2_x ./configure --disable-gui CXXFLAGS="-std=c++14" make -j 6 make install ```
Author
Owner

@Kolcha commented on GitHub (Dec 22, 2019):

Is it critical for you to use libtorrent 1.2? if no, you can just add my repo and install qBittorrent 4.2.1 from it. It will use libtorrent available in official Debian repositories.
If you want libtorrent 1.2, you can try my script to build it. It was written on Ubuntu 19.10, tested on Debian 9, but must also work on Debian 10 too. Right now I don't have Debian 10 system, only Debian unstable, and this is not development system, so I can't test this script on it.

@Kolcha commented on GitHub (Dec 22, 2019): Is it critical for you to use libtorrent 1.2? if no, you can just add [my repo](https://software.opensuse.org//download.html?project=home%3Anikoneko&package=qbittorrent) and install qBittorrent 4.2.1 from it. It will use libtorrent available in official Debian repositories. If you want libtorrent 1.2, you can try [my script](https://www.dropbox.com/s/0mdgefmlsoad5cr/build-qbt-nox-4.2.x-lt-1.2.x-linux.sh?dl=0) to build it. It was written on Ubuntu 19.10, tested on Debian 9, but must also work on Debian 10 too. Right now I don't have Debian 10 system, only Debian unstable, and this is not development system, so I can't test this script on it.
Author
Owner

@Elypha commented on GitHub (Dec 22, 2019):

Try to building with below:

Dependencies:

apt install build-essential pkg-config automake libtool git zlib1g-dev
apt install libboost-dev libboost-system-dev libboost-chrono-dev libboost-random-dev libssl-dev libgeoip-dev
apt install qtbase5-dev qttools5-dev-tools libqt5svg5-dev

libtorrent:

git clone https://github.com/arvidn/libtorrent.git
cd libtorrent
git checkout RC_1_2
./autotool.sh
./configure --disable-debug --enable-encryption CXXFLAGS="-std=c++14"
make -j 6
make install
ldconfig

qBittorrent:

git clone https://github.com/qbittorrent/qBittorrent
cd qBittorrent
git checkout v4_2_x
./configure --disable-gui CXXFLAGS="-std=c++14"
make -j 6
make install

Hello, thanks for your reply! I tried your instructions but sadly it came to the same error. BTW I have also tried to compile without CXXFLAGS="-std=c++14" yesterday (just the way your first reply shows) but it did not help and threw out the same error.

@Elypha commented on GitHub (Dec 22, 2019): > Try to building with below: > > Dependencies: > > ``` > apt install build-essential pkg-config automake libtool git zlib1g-dev > apt install libboost-dev libboost-system-dev libboost-chrono-dev libboost-random-dev libssl-dev libgeoip-dev > apt install qtbase5-dev qttools5-dev-tools libqt5svg5-dev > ``` > > libtorrent: > > ``` > git clone https://github.com/arvidn/libtorrent.git > cd libtorrent > git checkout RC_1_2 > ./autotool.sh > ./configure --disable-debug --enable-encryption CXXFLAGS="-std=c++14" > make -j 6 > make install > ldconfig > ``` > > qBittorrent: > > ``` > git clone https://github.com/qbittorrent/qBittorrent > cd qBittorrent > git checkout v4_2_x > ./configure --disable-gui CXXFLAGS="-std=c++14" > make -j 6 > make install > ``` Hello, thanks for your reply! I tried your instructions but sadly it came to the same error. BTW I have also tried to compile without `CXXFLAGS="-std=c++14"` yesterday (just the way your first reply shows) but it did not help and threw out the same error.
Author
Owner

@Elypha commented on GitHub (Dec 22, 2019):

Is it critical for you to use libtorrent 1.2? if no, you can just add my repo and install qBittorrent 4.2.1 from it. It will use libtorrent available in official Debian repositories.
If you want libtorrent 1.2, you can try my script to build it. It was written on Ubuntu 19.10, tested on Debian 9, but must also work on Debian 10 too. Right now I don't have Debian 10 system, only Debian unstable, and this is not development system, so I can't test this script on it.

No, I have no demand for libtorrent 1.2, and actually libtorrent 1.1.13 is fine. I just want to try the update for comparison. Thanks for your script, I tried it but got an error when building qt5:

WARNING: QDoc will not be compiled, probably because libclang could not be located. This means that you cannot build the Qt documentation.

Either ensure that llvm-config is in your PATH environment variable, or set LLVM_INSTALL_DIR to the location of your llvm installation.
On Linux systems, you may be able to install libclang by installing the libclang-dev or libclang-devel package, depending on your distribution.
On macOS, you can use Homebrew's llvm package.
On Windows, you must set LLVM_INSTALL_DIR to the installation path.

ERROR: Feature 'iconv' was enabled, but the pre-condition '!features.icu && features.textcodec && (features.posix-libiconv || features.sun-libiconv || features.gnu-libiconv)' failed.

Check config.log for details.

There still seemed to be problems with libiconv. I then did apt install libclang-dev.
For the second run, the warning was gone but it threw out
ERROR: Feature 'iconv' was enabled, but the pre-condition '!features.icu && features.textcodec && (features.posix-libiconv || features.sun-libiconv || features.gnu-libiconv)' failed.
at the same step.
Then I tried skipping the qt5 part (with qt5 from debian repo instead) and running the rest of the script manually. All went well but it came to the same error when building qbittorrent

/usr/bin/ld: /usr/local/lib/libtorrent-rasterbar.so: undefined reference to `libiconv_open'
/usr/bin/ld: /usr/local/lib/libtorrent-rasterbar.so: undefined reference to `libiconv'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:608: qbittorrent-nox] Error 1
make[1]: Leaving directory '/tmp/tmp.pr9Tll6oKA/qBittorrent-release-4.2.1/src'
make: *** [Makefile:45: sub-src-make_first] Error 2

Do you know any method to check if the library 'libiconv' on my server is exactly ready to use? I'm quite confused with it... Thanks anyway!

@Elypha commented on GitHub (Dec 22, 2019): > Is it critical for you to use libtorrent 1.2? if no, you can just add [my repo](https://software.opensuse.org//download.html?project=home%3Anikoneko&package=qbittorrent) and install qBittorrent 4.2.1 from it. It will use libtorrent available in official Debian repositories. > If you want libtorrent 1.2, you can try [my script](https://www.dropbox.com/s/0mdgefmlsoad5cr/build-qbt-nox-4.2.x-lt-1.2.x-linux.sh?dl=0) to build it. It was written on Ubuntu 19.10, tested on Debian 9, but must also work on Debian 10 too. Right now I don't have Debian 10 system, only Debian unstable, and this is not development system, so I can't test this script on it. No, I have no demand for libtorrent 1.2, and actually libtorrent 1.1.13 is fine. I just want to try the update for comparison. Thanks for your script, I tried it but got an error when building qt5: ``` WARNING: QDoc will not be compiled, probably because libclang could not be located. This means that you cannot build the Qt documentation. Either ensure that llvm-config is in your PATH environment variable, or set LLVM_INSTALL_DIR to the location of your llvm installation. On Linux systems, you may be able to install libclang by installing the libclang-dev or libclang-devel package, depending on your distribution. On macOS, you can use Homebrew's llvm package. On Windows, you must set LLVM_INSTALL_DIR to the installation path. ERROR: Feature 'iconv' was enabled, but the pre-condition '!features.icu && features.textcodec && (features.posix-libiconv || features.sun-libiconv || features.gnu-libiconv)' failed. Check config.log for details. ``` There still seemed to be problems with libiconv. I then did `apt install libclang-dev`. For the second run, the warning was gone but it threw out `ERROR: Feature 'iconv' was enabled, but the pre-condition '!features.icu && features.textcodec && (features.posix-libiconv || features.sun-libiconv || features.gnu-libiconv)' failed.` at the same step. Then I tried skipping the qt5 part (with qt5 from debian repo instead) and running the rest of the script manually. All went well but it came to the same error when building qbittorrent ``` /usr/bin/ld: /usr/local/lib/libtorrent-rasterbar.so: undefined reference to `libiconv_open' /usr/bin/ld: /usr/local/lib/libtorrent-rasterbar.so: undefined reference to `libiconv' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:608: qbittorrent-nox] Error 1 make[1]: Leaving directory '/tmp/tmp.pr9Tll6oKA/qBittorrent-release-4.2.1/src' make: *** [Makefile:45: sub-src-make_first] Error 2 ``` Do you know any method to check if the library 'libiconv' on my server is exactly ready to use? I'm quite confused with it... Thanks anyway!
Author
Owner

@Kolcha commented on GitHub (Dec 22, 2019):

@Elypha I didn't noticed that from your previous messages...

libiconv.so.2 (libc6,x86-64) => /usr/local/lib/libiconv.so.2
libiconv.so (libc6,x86-64) => /usr/local/lib/libiconv.so

this shows that you installed libiconv manually... this may be the problem.
first of all, why that was did? and where to get its sources? some time ago I needed it on macOS, and it was not so easy to find it.

try to remove this custom libiconv from your /usr/local/lib than run ldconfig and try to rebuild.

@Kolcha commented on GitHub (Dec 22, 2019): @Elypha I didn't noticed that from your previous messages... ``` libiconv.so.2 (libc6,x86-64) => /usr/local/lib/libiconv.so.2 libiconv.so (libc6,x86-64) => /usr/local/lib/libiconv.so ``` this shows that you installed libiconv manually... this may be the problem. first of all, why that was did? and where to get its sources? some time ago I needed it on macOS, and it was not so easy to find it. try to remove this custom `libiconv` from your `/usr/local/lib` than run `ldconfig` and try to rebuild.
Author
Owner

@Kolcha commented on GitHub (Dec 22, 2019):

AFAIK, iconv functions is part of libc (libc.so.6)

@Kolcha commented on GitHub (Dec 22, 2019): AFAIK, iconv functions is part of libc (libc.so.6)
Author
Owner

@Elypha commented on GitHub (Dec 22, 2019):

@Kolcha Yes I installed it manually from https://www.gnu.org/software/libiconv/ yesterday as some googling results said this was a solution...
I checked /usr/local/lib. There are libiconv.so.2.6.0 and libiconv.so.2.6.1. I removed 2.6.1, re-linked libiconv.so and libiconv.so.2, and copied other related files from another debian server. But the problem was still there.
As all my two debian systems are built with the same setup, I'm thinking about installing a fresh new debian 10 to check out what's going wrong with libiconv. I will comment and let you know if I get any results!

@Elypha commented on GitHub (Dec 22, 2019): @Kolcha Yes I installed it manually from https://www.gnu.org/software/libiconv/ yesterday as some googling results said this was a solution... I checked /usr/local/lib. There are libiconv.so.2.6.0 and libiconv.so.2.6.1. I removed 2.6.1, re-linked libiconv.so and libiconv.so.2, and copied other related files from another debian server. But the problem was still there. As all my two debian systems are built with the same setup, I'm thinking about installing a fresh new debian 10 to check out what's going wrong with libiconv. I will comment and let you know if I get any results!
Author
Owner

@Kolcha commented on GitHub (Dec 22, 2019):

so, I reproduced your error! I was right: your custom libiconv is the reason!
I build libiconv from here, rebuild libtorrent, and than try to build qbittorrent-nox and got an error.

I also found the way to solve this error with your custom libiconv - just add LDFLAGS=-liconv to qbittorrent configure line.

But it looks like your custom libiconv misses something, because according to your logs libtorrent configure script doesn't found it, but in my case it was found:

External libraries:
  system libiconv:      yes

Iconv library:
  Iconv Libs:           /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
@Kolcha commented on GitHub (Dec 22, 2019): so, I reproduced your error! I was right: your custom libiconv is the reason! I build libiconv from [here](https://www.gnu.org/software/libiconv/), rebuild libtorrent, and than try to build qbittorrent-nox and got an error. I also found the way to solve this error with your custom libiconv - just add `LDFLAGS=-liconv` to qbittorrent configure line. But it looks like your custom libiconv misses something, because according to your logs libtorrent configure script doesn't found it, but in my case it was found: ``` External libraries: system libiconv: yes Iconv library: Iconv Libs: /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib ```
Author
Owner

@Elypha commented on GitHub (Dec 22, 2019):

Lol that's great news! Let me try it later and many thanks to you again :)

@Elypha commented on GitHub (Dec 22, 2019): Lol that's great news! Let me try it later and many thanks to you again :)
Author
Owner

@Kolcha commented on GitHub (Dec 22, 2019):

first of all installing libiconv usally is not required, as I wrote before, everything required already included into libc.so.6.
secondly, copying just libraries (binary files) is not enough for compilation, headers and pkg-config (.pc) files. such files are required to be able to detect library in the system. Binary files are required only on run time.

I suggest to remove all libiconv files you installed, there is a list of all installed files:

/usr/local/bin/iconv
/usr/local/lib/libiconv.so.2.6.1
/usr/local/lib/libcharset.so.1.0.0
/usr/local/lib/libcharset.so.1
/usr/local/lib/libiconv.la
/usr/local/lib/libiconv.so
/usr/local/lib/libcharset.a
/usr/local/lib/libcharset.so
/usr/local/lib/libiconv.so.2
/usr/local/lib/libcharset.la
/usr/local/include/localcharset.h
/usr/local/include/iconv.h
/usr/local/include/libcharset.h
/usr/local/share/doc/iconvctl.3.html
/usr/local/share/doc/iconv_open.3.html
/usr/local/share/doc/iconv.3.html
/usr/local/share/doc/iconv_open_into.3.html
/usr/local/share/doc/iconv.1.html
/usr/local/share/doc/iconv_close.3.html
/usr/local/share/man/man3/iconv_open.3
/usr/local/share/man/man3/iconv.3
/usr/local/share/man/man3/iconv_open_into.3
/usr/local/share/man/man3/iconv_close.3
/usr/local/share/man/man3/iconvctl.3
/usr/local/share/man/man1/iconv.1
/usr/local/share/locale/fi/LC_MESSAGES/libiconv.mo
/usr/local/share/locale/et/LC_MESSAGES/libiconv.mo
/usr/local/share/locale/ga/LC_MESSAGES/libiconv.mo
/usr/local/share/locale/vi/LC_MESSAGES/libiconv.mo
/usr/local/share/locale/it/LC_MESSAGES/libiconv.mo
/usr/local/share/locale/sq/LC_MESSAGES/libiconv.mo
/usr/local/share/locale/es/LC_MESSAGES/libiconv.mo
/usr/local/share/locale/cs/LC_MESSAGES/libiconv.mo
/usr/local/share/locale/eo/LC_MESSAGES/libiconv.mo
/usr/local/share/locale/wa/LC_MESSAGES/libiconv.mo
/usr/local/share/locale/hu/LC_MESSAGES/libiconv.mo
/usr/local/share/locale/fr/LC_MESSAGES/libiconv.mo
/usr/local/share/locale/ja/LC_MESSAGES/libiconv.mo
/usr/local/share/locale/zh_TW/LC_MESSAGES/libiconv.mo
/usr/local/share/locale/nl/LC_MESSAGES/libiconv.mo
/usr/local/share/locale/sv/LC_MESSAGES/libiconv.mo
/usr/local/share/locale/lt/LC_MESSAGES/libiconv.mo
/usr/local/share/locale/sk/LC_MESSAGES/libiconv.mo
/usr/local/share/locale/ru/LC_MESSAGES/libiconv.mo
/usr/local/share/locale/tr/LC_MESSAGES/libiconv.mo
/usr/local/share/locale/bg/LC_MESSAGES/libiconv.mo
/usr/local/share/locale/sr/LC_MESSAGES/libiconv.mo
/usr/local/share/locale/ca/LC_MESSAGES/libiconv.mo
/usr/local/share/locale/id/LC_MESSAGES/libiconv.mo
/usr/local/share/locale/sl/LC_MESSAGES/libiconv.mo
/usr/local/share/locale/hr/LC_MESSAGES/libiconv.mo
/usr/local/share/locale/gl/LC_MESSAGES/libiconv.mo
/usr/local/share/locale/pt_BR/LC_MESSAGES/libiconv.mo
/usr/local/share/locale/rm/LC_MESSAGES/libiconv.mo
/usr/local/share/locale/pl/LC_MESSAGES/libiconv.mo
/usr/local/share/locale/da/LC_MESSAGES/libiconv.mo
/usr/local/share/locale/el/LC_MESSAGES/libiconv.mo
/usr/local/share/locale/de/LC_MESSAGES/libiconv.mo
/usr/local/share/locale/uk/LC_MESSAGES/libiconv.mo
/usr/local/share/locale/zh_CN/LC_MESSAGES/libiconv.mo
/usr/local/share/locale/ro/LC_MESSAGES/libiconv.mo
/usr/local/share/locale/af/LC_MESSAGES/libiconv.mo

you can safely remove them

@Kolcha commented on GitHub (Dec 22, 2019): first of all installing libiconv usally is not required, as I wrote before, everything required already included into libc.so.6. secondly, copying just libraries (binary files) is not enough for compilation, headers and pkg-config (.pc) files. such files are required to be able to detect library in the system. Binary files are required only on run time. I suggest to remove all libiconv files you installed, there is a list of all installed files: ``` /usr/local/bin/iconv /usr/local/lib/libiconv.so.2.6.1 /usr/local/lib/libcharset.so.1.0.0 /usr/local/lib/libcharset.so.1 /usr/local/lib/libiconv.la /usr/local/lib/libiconv.so /usr/local/lib/libcharset.a /usr/local/lib/libcharset.so /usr/local/lib/libiconv.so.2 /usr/local/lib/libcharset.la /usr/local/include/localcharset.h /usr/local/include/iconv.h /usr/local/include/libcharset.h /usr/local/share/doc/iconvctl.3.html /usr/local/share/doc/iconv_open.3.html /usr/local/share/doc/iconv.3.html /usr/local/share/doc/iconv_open_into.3.html /usr/local/share/doc/iconv.1.html /usr/local/share/doc/iconv_close.3.html /usr/local/share/man/man3/iconv_open.3 /usr/local/share/man/man3/iconv.3 /usr/local/share/man/man3/iconv_open_into.3 /usr/local/share/man/man3/iconv_close.3 /usr/local/share/man/man3/iconvctl.3 /usr/local/share/man/man1/iconv.1 /usr/local/share/locale/fi/LC_MESSAGES/libiconv.mo /usr/local/share/locale/et/LC_MESSAGES/libiconv.mo /usr/local/share/locale/ga/LC_MESSAGES/libiconv.mo /usr/local/share/locale/vi/LC_MESSAGES/libiconv.mo /usr/local/share/locale/it/LC_MESSAGES/libiconv.mo /usr/local/share/locale/sq/LC_MESSAGES/libiconv.mo /usr/local/share/locale/es/LC_MESSAGES/libiconv.mo /usr/local/share/locale/cs/LC_MESSAGES/libiconv.mo /usr/local/share/locale/eo/LC_MESSAGES/libiconv.mo /usr/local/share/locale/wa/LC_MESSAGES/libiconv.mo /usr/local/share/locale/hu/LC_MESSAGES/libiconv.mo /usr/local/share/locale/fr/LC_MESSAGES/libiconv.mo /usr/local/share/locale/ja/LC_MESSAGES/libiconv.mo /usr/local/share/locale/zh_TW/LC_MESSAGES/libiconv.mo /usr/local/share/locale/nl/LC_MESSAGES/libiconv.mo /usr/local/share/locale/sv/LC_MESSAGES/libiconv.mo /usr/local/share/locale/lt/LC_MESSAGES/libiconv.mo /usr/local/share/locale/sk/LC_MESSAGES/libiconv.mo /usr/local/share/locale/ru/LC_MESSAGES/libiconv.mo /usr/local/share/locale/tr/LC_MESSAGES/libiconv.mo /usr/local/share/locale/bg/LC_MESSAGES/libiconv.mo /usr/local/share/locale/sr/LC_MESSAGES/libiconv.mo /usr/local/share/locale/ca/LC_MESSAGES/libiconv.mo /usr/local/share/locale/id/LC_MESSAGES/libiconv.mo /usr/local/share/locale/sl/LC_MESSAGES/libiconv.mo /usr/local/share/locale/hr/LC_MESSAGES/libiconv.mo /usr/local/share/locale/gl/LC_MESSAGES/libiconv.mo /usr/local/share/locale/pt_BR/LC_MESSAGES/libiconv.mo /usr/local/share/locale/rm/LC_MESSAGES/libiconv.mo /usr/local/share/locale/pl/LC_MESSAGES/libiconv.mo /usr/local/share/locale/da/LC_MESSAGES/libiconv.mo /usr/local/share/locale/el/LC_MESSAGES/libiconv.mo /usr/local/share/locale/de/LC_MESSAGES/libiconv.mo /usr/local/share/locale/uk/LC_MESSAGES/libiconv.mo /usr/local/share/locale/zh_CN/LC_MESSAGES/libiconv.mo /usr/local/share/locale/ro/LC_MESSAGES/libiconv.mo /usr/local/share/locale/af/LC_MESSAGES/libiconv.mo ``` you can safely remove them
Author
Owner

@Elypha commented on GitHub (Dec 22, 2019):

@Kolcha Everything goes well now! But there's one thing that this problem occurred before I manually install libiconv. I guess a certain install script I used before has changed related files, but it is hard to reproduce.
Anyway, I will update the op and close this issue shortly after. I'm really thankful for your detailed debugging and instruction!

@Elypha commented on GitHub (Dec 22, 2019): @Kolcha Everything goes well now! But there's one thing that this problem occurred before I manually install libiconv. I guess a certain install script I used before has changed related files, but it is hard to reproduce. Anyway, I will update the op and close this issue shortly after. I'm really thankful for your detailed debugging and instruction!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/qBittorrent#9514
No description provided.