Incompatible Qt Library on FreeBSD
Incompatible Qt Library on FreeBSD
After the first restart of my FreeNAS server in weeks, my qBittorrent install under a FreeBSD jail isn’t able to start, giving the error ‘Cannot mix incompatible Qt library (5.14.2) with this library (5.15.0)’
While the issue seems fairly clear, I have NO idea how to go about resolving it. I’m new to all this so hopefully it’s a pretty easy fix...
Thanks in advance!
While the issue seems fairly clear, I have NO idea how to go about resolving it. I’m new to all this so hopefully it’s a pretty easy fix...
Thanks in advance!
Re: Incompatible Qt Library on FreeBSD
Yeah, you will have to ask the FreeBSD forum or IRC about that. :/
Re: Incompatible Qt Library on FreeBSD
Thanks for getting back to me Peter, I will certainly make those inquiries.
It’s worth noting that while trying to resolve this, I uninstalled the qBittorrent package, and when I went to reinstall the package didn’t seem to exist any more, (hinting at it not being able to compile?). I also (for the first time ever) tired to compile the port myself, but I also couldn’t get that to run. I’m the epitome of a novice, but it feels like a larger OS issue
Re: Incompatible Qt Library on FreeBSD
"I’m the epitome of a novice, but it feels like a larger OS issue"
Don't worry, we all start out somewhere. And FreeNAS is pretty unique. It is a great system for NAS, but if you try to make it do something else, you may experience things like this. Not saying it's a fault, it's just designed to be a NAS system and it's a great NAS system. FreeBSD on the other hand is an OS you can use on a server, desktop, VPS systems, or as a NAS. So honestly I'd just use FreeBSD and set everything else up on it (installer helps you set up ZFS and everything). But of course, you have things set up now. I am just talking about the future, so to speak.
Don't worry, we all start out somewhere. And FreeNAS is pretty unique. It is a great system for NAS, but if you try to make it do something else, you may experience things like this. Not saying it's a fault, it's just designed to be a NAS system and it's a great NAS system. FreeBSD on the other hand is an OS you can use on a server, desktop, VPS systems, or as a NAS. So honestly I'd just use FreeBSD and set everything else up on it (installer helps you set up ZFS and everything). But of course, you have things set up now. I am just talking about the future, so to speak.
Re: Incompatible Qt Library on FreeBSD
Had this same issue. Easiest way is to revert your /etc/pkg/FreeBSD.conf to quarterly. Then run pkg update. Then run pkg upgrade -fjfkby wrote: ↑Mon Jul 20, 2020 2:06 am
Thanks for getting back to me Peter, I will certainly make those inquiries.
It’s worth noting that while trying to resolve this, I uninstalled the qBittorrent package, and when I went to reinstall the package didn’t seem to exist any more, (hinting at it not being able to compile?). I also (for the first time ever) tired to compile the port myself, but I also couldn’t get that to run. I’m the epitome of a novice, but it feels like a larger OS issue
Re: Incompatible Qt Library on FreeBSD
The port is deprecated and will be removed on 12/31.
@Peter do you know why the port is being removed?
@Peter do you know why the port is being removed?
Re: Incompatible Qt Library on FreeBSD
"@Peter do you know why the port is being removed?"
Sadly I don't frequent FreeBSD/FreeNAS mailing lists, but you could email the maintainer directly IMO.
Where did you read this message?
Sadly I don't frequent FreeBSD/FreeNAS mailing lists, but you could email the maintainer directly IMO.
Where did you read this message?
Re: Incompatible Qt Library on FreeBSD
It was displayed in the terminal window when I updated recently.
Re: Incompatible Qt Library on FreeBSD
I went down a slightly different diagnostic route, but have ended up in a situation where I have qBittorrent installed again (from the quarterly repo), but when I reinstalled it, whatever file needed to be created in /usr/local/etc/rc.d, wasn't, so when I go to start the service it just fails. Would you be willing to copy out the contense of your /usr/local/etc/rc.d/qbittorrent file so I can recreate the file myself and see if I can get it to start?
Re: Incompatible Qt Library on FreeBSD
I had that same problem last time I had to reinstall it. Luckily I had mine saved.jfkby wrote: ↑Tue Aug 04, 2020 12:13 amI went down a slightly different diagnostic route, but have ended up in a situation where I have qBittorrent installed again (from the quarterly repo), but when I reinstalled it, whatever file needed to be created in /usr/local/etc/rc.d, wasn't, so when I go to start the service it just fails. Would you be willing to copy out the contense of your /usr/local/etc/rc.d/qbittorrent file so I can recreate the file myself and see if I can get it to start?
Code: Select all
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: qbittorrent
# REQUIRE: DAEMON
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to enable this service:
#
# qbittorrent_enable: Set to NO by default. Set it to YES to enable it.
# qbittorrent_conf_dir: Directory where qbittorrent configuration
# data is stored.
# Default: /var/db/qbittorrent/conf
# qbittorrent_download_dir: Directory to store downloaded data.
# Default: /var/db/qbittorrent/Downloads
# qbittorrent_user: The user account transmission daemon runs as.
# Default is 'qbittorrent'
# qbittorrent_group: The group associated with username qbittorrent
# daemon runs as. Default is 'qbittorrent'
#
. /etc/rc.subr
name=qbittorrent
rcvar=qbittorrent_enable
load_rc_config $name
: ${qbittorrent_enable="NO"}
: ${qbittorrent_conf_dir="/var/db/qbittorrent/conf"}
: ${qbittorrent_download_dir="/var/db/qbittorrent/Downloads"}
: ${qbittorrent_user=qbittorrent}
: ${qbittorrent_group=qbittorrent}
command="/usr/local/bin/qbittorrent-nox"
command_args="--daemon"
qbittorrent_flags=" \
${qbittorrent_conf_dir:+--profile=${qbittorrent_conf_dir}} \
${qbittorrent_download_dir:+--save-path=${qbittorrent_download_dir}} \
${qbittorrent_flags}"
run_rc_command $1
Re: Incompatible Qt Library on FreeBSD
[/quote]
I had that same problem last time I had to reinstall it. Luckily I had mine saved.
[/quote]
Thanks for sharing this. Got it plugged in on my system and seems to be working a-ok.
I now habe a new issue in this saga though, when I run 'service qbittorrent start', I get this error mesaage
I'm starting to think I'm never going to get this one sorted...
I had that same problem last time I had to reinstall it. Luckily I had mine saved.
[/quote]
Thanks for sharing this. Got it plugged in on my system and seems to be working a-ok.
I now habe a new issue in this saga though, when I run 'service qbittorrent start', I get this error mesaage
Code: Select all
Starting qbittorrent.
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in"" even though it was found.
This application failed to start because no Qt platfrom plugin could be initilised. Reinstalling the application may fix this problem.
Avalible platform plugins are: bsdfb, minimal, offscreen, vnc, xab.
Abort
/usr/local/etc/rc.d/qbittorrent: WARNING: failed to start qbittorrent
Re: Incompatible Qt Library on FreeBSD
Skip the plugin and do a regular install in a standard jail [cmd]pkg install qbittorrent-nox[/cmd] is all you need to install it.
Re: Incompatible Qt Library on FreeBSD
Yeah I am in a standard jail, I've never touched plugins and don't really intend to. Only differnce is I'm using the port 'qbitorrent' not 'qbittorrent-nox'