You are not logged in.
Hello,
I've been running a fairly old and battered arch install, today I learned I'm unable to compile programs that use pkg-config during configuration. Running any variation of the command returns the following error:
pkg-config: symbol lookup error: pkg-config: undefined symbol: pkgconf_cross_personality_deinitAt this point I have no idea why this program should fail like this. I reinstalled the relevant package multiple, times, and I also tried compiling it from source and tinkering with the Makefile, to no avail because I don't really get Makefiles.
Thanks in advance for your help.
UPDATE: I solved it by recompiling the lastest version, if you have this error I advise you to scroll down to the bottom of the pkgconf github instead of using the in-site release links. (try it if needed but it gets complicated)
UPDATE 2: removing /usr/lib/libpkgconf.so.3 and reinstalling the pkg-config package solved the issue
Last edited by GlitchedCode (2021-09-29 17:01:29)
Wryyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
my very cool dwm build
Offline
Or better yet, just use the latest version in the repos and everything would be fine.
Offline
Or better yet, just use the latest version in the repos and everything would be fine.
But I did. Asking pacman for pkg-config installs pkgconf, which undoes me doing it by hand when compiling it from source and the command outputs the error in the original post. For some reason on my system I have to compile it from source to make it work.
Wryyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
my very cool dwm build
Offline
What is the output of:
pacman -Si pkgconf
pacman -Qi pkgconfThe symbol is provided by pkgconf 1.8.0-1
objdump -T /usr/lib/libpkgconf.so.3.0.0 | grep cross
0000000000006ad0 g DF .text 0000000000000023 Base pkgconf_cross_personality_deinit
0000000000006a50 g DF .text 0000000000000074 Base pkgconf_cross_personality_default
0000000000006b00 g DF .text 0000000000000125 Base pkgconf_cross_personality_findOffline
What is the output of:
pacman -Si pkgconf pacman -Qi pkgconfThe symbol is provided by pkgconf 1.8.0-1
objdump -T /usr/lib/libpkgconf.so.3.0.0 | grep cross 0000000000006ad0 g DF .text 0000000000000023 Base pkgconf_cross_personality_deinit 0000000000006a50 g DF .text 0000000000000074 Base pkgconf_cross_personality_default 0000000000006b00 g DF .text 0000000000000125 Base pkgconf_cross_personality_find
$ pacman -Si pkgconf
Repository : core
Nome : pkgconf
Versione : 1.8.0-1
Descrizione : Package compiler and linker metadata toolkit
Architettura : x86_64
URL : https://github.com/pkgconf/pkgconf
Licenze : custom:ISC
Gruppi : base-devel
Fornisce : pkg-config pkgconfig libpkgconf.so=3-64
Dipenda da : glibc sh
Dipendenze opzionali : Nessuno
Conflitti con : pkg-config
Sostituisce : pkg-config
Dimensione del download : 57,59 KiB
Spazio richiesto : 161,65 KiB
Pacchettizzatore : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Data di creazione : gio 9 set 2021, 13:50:13
Convalidato da : Somma MD5 Somma SHA-256 Firma
$pacman -Qi pkgconf
Nome : pkgconf
Versione : 1.8.0-1
Descrizione : Package compiler and linker metadata toolkit
Architettura : x86_64
URL : https://github.com/pkgconf/pkgconf
Licenze : custom:ISC
Gruppi : base-devel
Fornisce : pkg-config pkgconfig libpkgconf.so=3-64
Dipenda da : glibc sh
Dipendenze opzionali : Nessuno
Richiesto da : perl-pkgconfig-libpkgconf vala
Opzionale per : Nessuno
Conflitti con : pkg-config
Sostituisce : pkg-config
Spazio richiesto : 161,65 KiB
Pacchettizzatore : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Data di creazione : gio 9 set 2021, 13:50:13
Data di installazione : mer 29 set 2021, 18:15:22
Motivo dell'installazione : Installato come dipendenza di un altro pacchetto
Script di install : No
Convalidato da : FirmaWryyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
my very cool dwm build
Offline
lddtree is provided by pax-utils
lddtree `which pkg-config`Offline
lddtree is provided by pax-utils
lddtree `which pkg-config`
I tried on both builds
From the binary package:
/usr/bin/pkg-config (interpreter => /lib64/ld-linux-x86-64.so.2)
libpkgconf.so.3 => /usr/lib/libpkgconf.so.3
libc.so.6 => /usr/lib/libc.so.6Build from source:
/usr/bin/pkg-config (interpreter => /lib64/ld-linux-x86-64.so.2)
libpkgconf.so.3 => /usr/local/lib/libpkgconf.so.3
libc.so.6 => /usr/lib/libc.so.6removing /usr/lib/libpkgconf.so.3 and reinstalling pkg-config seems to have resolved the issue for good, thank you!
Last edited by GlitchedCode (2021-09-29 16:59:10)
Wryyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
my very cool dwm build
Offline