You are not logged in.

#1 2022-02-16 18:31:37

Zod
Member
From: Hoosiertucky
Registered: 2019-03-10
Posts: 631

[Solved] symbol lookup error: qbittorrent: undefined symbol:

When trying to start from terminal emulator

qbittorrent: symbol lookup error: qbittorrent: undefined symbol: _ZN7QLocaleC1ERK7QString, version Qt_6

There is no output to the journal



Edit: When I quit the terminal window this gets printed to the journal

qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 9165, resource id: 37748859, major code: 18 (ChangeProperty), minor code: 0

Edit: https://bugs.archlinux.org/task/73818

Last edited by Zod (2022-02-16 19:52:57)

Offline

#2 2022-02-16 18:57:02

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,430

Re: [Solved] symbol lookup error: qbittorrent: undefined symbol:

The "journal log" is a completely harmless message that can appear anytime a window is closed. Works fine here undefined symbols usually sound like partial updates make  sure you are up to date, what's your locale in the terminal?

localectl
locale
lddtree /usr/bin/qbittorrent #pax-utils
pacman -Qs qt6

Last edited by V1del (2022-02-16 18:58:12)

Offline

#3 2022-02-16 19:01:46

Zod
Member
From: Hoosiertucky
Registered: 2019-03-10
Posts: 631

Re: [Solved] symbol lookup error: qbittorrent: undefined symbol:

 ╭─jbarks@carlos in ~ 
 ╰─λ localectl
   System Locale: LANG=en_US.UTF-8
       VC Keymap: n/a
      X11 Layout: n/a
 ╭─jbarks@carlos in ~ 
 ╰─λ lddtree /usr/bin/qbittorrent
/usr/bin/qbittorrent (interpreter => /lib64/ld-linux-x86-64.so.2)
    libQt6Widgets.so.6 => /usr/lib/libQt6Widgets.so.6
    libQt6Gui.so.6 => /usr/lib/libQt6Gui.so.6
        libEGL.so.1 => /usr/lib/libEGL.so.1
            libGLdispatch.so.0 => /usr/lib/libGLdispatch.so.0
            libdl.so.2 => /usr/lib/libdl.so.2
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1
            libexpat.so.1 => /usr/lib/libexpat.so.1
            libpthread.so.0 => /usr/lib/libpthread.so.0
        libX11.so.6 => /usr/lib/libX11.so.6
            libxcb.so.1 => /usr/lib/libxcb.so.1
                libXau.so.6 => /usr/lib/libXau.so.6
                libXdmcp.so.6 => /usr/lib/libXdmcp.so.6
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0
            libpcre.so.1 => /usr/lib/libpcre.so.1
        libxkbcommon.so.0 => /usr/lib/libxkbcommon.so.0
        libGLX.so.0 => /usr/lib/libGLX.so.0
        libOpenGL.so.0 => /usr/lib/libOpenGL.so.0
        libpng16.so.16 => /usr/lib/libpng16.so.16
        libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0
            libgraphite2.so.3 => /usr/lib/libgraphite2.so.3
        libmd4c.so.0 => /usr/lib/libmd4c.so.0
        libfreetype.so.6 => /usr/lib/libfreetype.so.6
            libbz2.so.1.0 => /usr/lib/libbz2.so.1.0
            libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1
                libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1
    libz.so.1 => /usr/lib/libz.so.1
    libtorrent-rasterbar.so.2.0 => /usr/lib/libtorrent-rasterbar.so.2.0
        libssl.so.1.1 => /usr/lib/libssl.so.1.1
    libcrypto.so.1.1 => /usr/lib/libcrypto.so.1.1
    libQt6Network.so.6 => /usr/lib/libQt6Network.so.6
        libzstd.so.1 => /usr/lib/libzstd.so.1
        libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2
            libkrb5.so.3 => /usr/lib/libkrb5.so.3
            libk5crypto.so.3 => /usr/lib/libk5crypto.so.3
            libcom_err.so.2 => /usr/lib/libcom_err.so.2
            libkrb5support.so.0 => /usr/lib/libkrb5support.so.0
            libkeyutils.so.1 => /usr/lib/libkeyutils.so.1
            libresolv.so.2 => /usr/lib/libresolv.so.2
    libQt6Sql.so.6 => /usr/lib/libQt6Sql.so.6
    libQt6Xml.so.6 => /usr/lib/libQt6Xml.so.6
    libQt6DBus.so.6 => /usr/lib/libQt6DBus.so.6
        libdbus-1.so.3 => /usr/lib/libdbus-1.so.3
            libsystemd.so.0 => /usr/lib/libsystemd.so.0
                librt.so.1 => /usr/lib/librt.so.1
                liblzma.so.5 => /usr/lib/liblzma.so.5
                liblz4.so.1 => /usr/lib/liblz4.so.1
                libcap.so.2 => /usr/lib/libcap.so.2
                libgcrypt.so.20 => /usr/lib/libgcrypt.so.20
                    libgpg-error.so.0 => /usr/lib/libgpg-error.so.0
    libQt6Core.so.6 => /usr/lib/libQt6Core.so.6
        libicui18n.so.70 => /usr/lib/libicui18n.so.70
        libicuuc.so.70 => /usr/lib/libicuuc.so.70
            libicudata.so.70 => /usr/lib/libicudata.so.70
        libdouble-conversion.so.3 => /usr/lib/libdouble-conversion.so.3
        libb2.so.1 => /usr/lib/libb2.so.1
            libgomp.so.1 => /usr/lib/libgomp.so.1
        libpcre2-16.so.0 => /usr/lib/libpcre2-16.so.0
    libstdc++.so.6 => /usr/lib/libstdc++.so.6
    libm.so.6 => /usr/lib/libm.so.6
    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1
    libc.so.6 => /usr/lib/libc.so.6
 ╭─jbarks@carlos in ~ 
 ╰─λ pacman -Qs qt6
local/qt6-base 6.3.0beta2-1 (qt6)
    A cross-platform application and UI framework
local/qt6-svg 6.3.0beta2-1 (qt6)
    Classes for displaying the contents of SVG files
local/qt6-translations 6.3.0beta2-1 (qt6)
    A cross-platform application and UI framework (Translations)
╭─jbarks@carlos in ~ 
 ╰─λ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Last edited by Zod (2022-02-16 19:02:48)

Offline

#4 2022-02-16 19:05:37

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,430

Re: [Solved] symbol lookup error: qbittorrent: undefined symbol:

You are on a testing/unstable build of qt6 but probably didn't set up the rest of the testing repos.

kde-unstable is a testing repository built on the premise of testing, you need to enable all testing repositories and update your system or none.

if you did and are using the testing repos intentionally and properly you'll potentially have actually found a bug.

Moving to the testing boards.

Last edited by V1del (2022-02-16 19:08:40)

Offline

#5 2022-02-16 19:08:10

Zod
Member
From: Hoosiertucky
Registered: 2019-03-10
Posts: 631

Re: [Solved] symbol lookup error: qbittorrent: undefined symbol:

 ╭─jbarks@carlos in ~ 
 ╰─λ cat /etc/pacman.conf
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
#HookDir     = /etc/pacman.d/hooks/
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   = latte-dock-git
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
Color
#NoProgressBar
CheckSpace
#VerbosePkgLists
ILoveCandy
ParallelDownloads = 5

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

[kde-unstable]
Include = /etc/pacman.d/mirrorlist

[testing]
Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

[community-testing]
Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

[archzfs]
# Mirror - US
Server = https://zxcvfdsa.com/archzfs/$repo/$arch
# Origin Server - France
Server = http://archzfs.com/$repo/x86_64

[chaotic-aur]
Include = /etc/pacman.d/chaotic-mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist

#[multilib]
#Include = /etc/pacman.d/mirrorlist


# Testing repositories

[testing-debug]
Server = https://america.mirror.pkgbuild.com/$repo/os/$arch

[community-testing-debug]
Server = https://america.mirror.pkgbuild.com/$repo/os/$arch


# Stable repositories

[core-debug]
Server = https://america.mirror.pkgbuild.com/$repo/os/$arch

[extra-debug]
Server = https://america.mirror.pkgbuild.com/$repo/os/$arch

[community-debug]
Server = https://america.mirror.pkgbuild.com/$repo/os/$arch

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

Offline

#6 2022-02-16 19:09:31

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,430

Re: [Solved] symbol lookup error: qbittorrent: undefined symbol:

You need to put the/all of the testing repos above the normal repositories to make them a priority. Looks like you're logically doing that but I'd still not leave a gap between [community-testing] and the other testing repos

I'd test whether a manual rebuild of qbittorrent against the new qt6 fixes this.

Last edited by V1del (2022-02-16 19:13:26)

Offline

#7 2022-02-16 19:14:43

Zod
Member
From: Hoosiertucky
Registered: 2019-03-10
Posts: 631

Re: [Solved] symbol lookup error: qbittorrent: undefined symbol:

Like this?

 ╭─jbarks@carlos in ~ 
 ╰─λ cat /etc/pacman.conf
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
#HookDir     = /etc/pacman.d/hooks/
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   = latte-dock-git
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
Color
#NoProgressBar
CheckSpace
#VerbosePkgLists
ILoveCandy
ParallelDownloads = 5

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

[kde-unstable]
Include = /etc/pacman.d/mirrorlist

[testing]
Include = /etc/pacman.d/mirrorlist

[community-testing]
Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

[archzfs]
# Mirror - US
Server = https://zxcvfdsa.com/archzfs/$repo/$arch
# Origin Server - France
Server = http://archzfs.com/$repo/x86_64

[chaotic-aur]
Include = /etc/pacman.d/chaotic-mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist

#[multilib]
#Include = /etc/pacman.d/mirrorlist


# Testing repositories

[testing-debug]
Server = https://america.mirror.pkgbuild.com/$repo/os/$arch

[community-testing-debug]
Server = https://america.mirror.pkgbuild.com/$repo/os/$arch


# Stable repositories

[core-debug]
Server = https://america.mirror.pkgbuild.com/$repo/os/$arch

[extra-debug]
Server = https://america.mirror.pkgbuild.com/$repo/os/$arch

[community-debug]
Server = https://america.mirror.pkgbuild.com/$repo/os/$arch

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

Edit:"I'd test whether a manual rebuild of qbittorrent against the new qt6 fixes this."

On it.

Edit: Building.

Last edited by Zod (2022-02-16 19:21:28)

Offline

#8 2022-02-16 19:18:20

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,430

Re: [Solved] symbol lookup error: qbittorrent: undefined symbol:

For example, though I doubt this is going to have much of a relevant impact.

Offline

#9 2022-02-16 19:44:05

Zod
Member
From: Hoosiertucky
Registered: 2019-03-10
Posts: 631

Re: [Solved] symbol lookup error: qbittorrent: undefined symbol:

Manual rebuild worked.

Offline

Board footer

Powered by FluxBB