Mailing list archives : pcb-rnd

ID:5837
From:rs...@disroot.org
Date:Sat, 03 Sep 2022 11:12:24 +0200
Subject:Re: [pcb-rnd] pcb-rnd on OpenBSD
replies: 5838 from rn...@igor2.repo.hu
Dear Vuokko,
 
 
Hannu Vuolasaho <vuokko@msn.com> wrote:
> > pcb-rnd:/usr/lib/libstdc++.so.57.0: /usr/lib/libc++abi.so.6.0 : WARNING=
: symbol(_ZTVN10__cxxabiv120__si_class_type_infoE) size mismatch, relink yo=
ur program
>=20
> I don't have libstd++.so and I'm running somewhat -current on AMD64.
> Is this some gcc arch or does the installation have ancient roots?
> sysclean could give a hint if it is something which has left behind.
>=20
 
Ancient roots? I installed OpenBSD 6.1 and then ran sysupgrade each time ti=
ll today.
So it's years, yes.
Now I have 7.1:=20
OpenBSD odin.troja.mff.cuni.cz 7.1 GENERIC.MP#3 amd64
 
I didn't know about sysclean. I installed it and ran it. It showed
a lot of stuff, including libX11.so.16.1. (Besides this I also have
libX11.so.17.0, libX11.so.17.1, libX11.so.18.0 present in
/usr/X11R6/lib/, out of which 17.1 is also listed by sysclean).
 
 
> After sysupgrade, did you remember run pkg_add -u?=20
 
Yes. This I do regularly.
 
 
> > pcb-rnd:/usr/X11R6/lib/libX11.so.16.1: /usr/X11R6/lib/libX11.so.18.0 : =
WARNING: symbol(_XimXTransSocketTCPFuncs) size mismatch, relink your progra=
m
> > pcb-rnd:/usr/local/lib/libGLU.so.1.3: /usr/lib/libc++abi.so.6.0 : WARNI=
NG: symbol(_ZTVN10__cxxabiv120__si_class_type_infoE) size mismatch, relink =
your program
>=20
> Also it could be librnd and its dependencies which have old linkage. (hid=
-gtk2-gl, lib-gl and hid gtk4-gl to be specific about which require libGLU)=
 
 
When I compile librnd and run ldd on the created libs such as=20
odin$ ldd ./librnd-3rd.so |grep libX11
        00000a0ebf908000 00000a0ebfa5f000 rlib  0    17   0      /usr/X11R6=
/lib/libX11.so.18.0
        00000a0ed5384000 00000a0ed5388000 rlib  0    3   0      /usr/X11R6/=
lib/libX11-xcb.so.2.0
        00000a0f443c2000 00000a0f44519000 rlib  0    1   0      /usr/X11R6/=
lib/libX11.so.16.1
I already here see both 16.1 and 18.0 versions of libX11.so. I neither know=
 why, nor if it is bad by itself...
(Although, I am surprised to see 16.1 here when, at the same time, it is li=
sted in the output of sysclean.)
 
 
> What a heck is that? I have /usr/X11R6/lib/libGLU.so.9.0 Some package has=
 provided libGLU. pkg_info -E /usr/local/lib/libGLU.so.1.3
 
I, for some reason, have both:
odin$ ldd ./pcb-rnd |grep libGLU
        000001da791f0000 000001da79461000 rlib  0    3   0      /usr/local/=
lib/libGLU.so.1.3
        000001da9722c000 000001da972d0000 rlib  0    2   0      /usr/X11R6/=
lib/libGLU.so.9.0
 
But I do not know why. Neither I know where the 1.3 has originated from.
I get no answer by running=20
pkg_info -E /usr/local/lib/libGLU.so.1.3
(ie., nothing is listed).
 
 
> Hopefully this helped a bit.
> Vuokko
 
Thanks!
 
Perhaps, in some sense, it might be easier to have a fresh OpenBSD
install. There, I suppose, things could just work out of the box.
Still, I would also like to finally understand how things work in
order to be able to (sometimes) fix them (this is one of the reasons
I like OpenBSD, because, it seems to me, many things are just simpler
than elsewhere).
 
 
Ruda
 
 

Reply subtree:
5837 Re: [pcb-rnd] pcb-rnd on OpenBSD from rs...@disroot.org
  5838 Re: [pcb-rnd] pcb-rnd on OpenBSD from rn...@igor2.repo.hu