Compilation error: undefined reference to `libiconv'

Linux specific questions, problems.
DasFox

Re: [LINUX] Compilation error: undefined reference to `libic

Post by DasFox »

Hmm you keep running into problems...

Why are you running 13.0, any reason not to go to 13.1?

Seriously you should backup your data and do a fresh install of 13.1, it's suppose to be much better then 13.0 there have been a lot of changes to the system but if it turns out to be crap, please don't blame me. I really like 13.1 and I think it's the best Slack to date.

Also what version of qBittorrent are you trying to compile? You should at least be compiling the RC.
dma8hm1956

Re: [LINUX] Compilation error: undefined reference to `libic

Post by dma8hm1956 »

Hello DasFax,

Many thanks for your concern.

[quote=""DasFox""]Why are you running 13.0, any reason not to go to 13.1?[/quote]
I am planning to upgrade my slackware in the near future.

[quote=""DasFox""]Also what version of qBittorrent are you trying to compile? You should at least be compiling the RC.[/quote]
At the moment I am using the stable version, i.e. qbittorrent-2.2.10, but I also tried 2.3.0rc2 and 2.3.0rc3 with
libtorrent-rasterbar-0.14.10. But in all cases the compilation failed.

However, I have fixed the problem. What I have done is:
- downgraded (from boos-1.40) to boost-1.38.
- installed boost in its default directory, i.e. /usr directory.
- installed libtorrent-rasterbar-0.15.0
- added the following line to src/src.pro
LIBS += -liconv -ltorrent-rasterbar -lboost_system-mt -lboost_filesystem-mt
-lboost_thread-mt -lboost_regex-mt -lboost_program_options-mt
and installed qbittorrent-2.2.10.
- reinstalled boos-1.40 in /usr/local directory which is needed by some other programs that I have installed.

Thanks - Hossein
DasFox

Re: [LINUX] Compilation error: undefined reference to `libic

Post by DasFox »

Have you tried the latest RC?

If that fails then there's either something wrong with the the libs on your system or versions qBittorrent doesn't like or something just needs to be configured differently for it like it's not seeing things in a /path it's looking for when they are somewhere else, possibly.

The RC versions compiled just fine for me on 13.1...
dma8hm1956

Re: [LINUX] Compilation error: undefined reference to `libic

Post by dma8hm1956 »

Hi DasFox
[quote=""DasFox""]Have you tried the latest RC?[/quote]
Yes, I have tried the latest RC and the latest stable version 2.3.0 released two days ago.
As you said there may be something wrong with the libs on my system.

Thanks - Hossein
DasFox

Re: [LINUX] Compilation error: undefined reference to `libic

Post by DasFox »

[quote=""dma8hm1956""]Hi DasFox
[quote=""DasFox""]Have you tried the latest RC?[/quote]
Yes, I have tried the latest RC and the latest stable version 2.3.0 released two days ago.
As you said there may be something wrong with the libs on my system.

Thanks - Hossein[/quote]


TIME for 13.1 ;)


PEACE
Post Reply