tech-x11 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: libX11's libXcursor dlopen
hello,
On Mon, Mar 23, 2026 at 01:33:29PM +0300, Valery Ushakov wrote:
> On Mon, Mar 23, 2026 at 10:23:32 +0200, Petre Rodan wrote:
>
> > 24472 24472 example CALL open(0x7f7fff2a4618,0,6)
> > 24472 24472 example NAMI "/usr/X11R7/lib/libXcursor.so.2"
> > 24472 24472 example RET open 4
> >
> > where does that query for version '2' of the library come from?
>
> $ uname -a
> NetBSD snips 10.1_STABLE NetBSD 10.1_STABLE (GENERIC) #0: Fri Dec 26 12:48:48 MSK 2025 uwe@tower:/home/uwe/work/netbsd/build-10/obj/macppc/sys/arch/macppc/compile/GENERIC macppc
> $ ls -l libXcursor.so*
> lrwxr-xr-x 1 root wheel 17 Dec 26 12:28 libXcursor.so -> libXcursor.so.2.0
> lrwxr-xr-x 1 root wheel 17 Dec 26 12:28 libXcursor.so.2 -> libXcursor.so.2.0
> -r--r--r-- 1 root wheel 55104 Dec 26 12:28 libXcursor.so.2.0
>
>
> > simply compiling /usr/xsrc/external/mit/libXcursor/dist results in
> > library version '1.0'.
>
> https://github.com/NetBSD/src/blob/trunk/external/mit/xorg/lib/libXcursor/shlib_version
>
> revision 1.2
> date: 2009-01-11 06:10:11 +0300; author: christos; state: Exp; lines: +2 -3;
> bump majors
>
> It's 2.0 in netbsd. I don't remember why...
thanks for the pointer.
looking closer, the source of the libXcursor in /usr/xsrc is version 1.2.1 of upstream (from 4 years ago), and I guess that file rebrands it as 2.0 for some unknown reason.
replacing the libraries with version 1.2.3 (upstream's current release from 17 months ago) taken directly from packages fixes all my cursor size and theming troubles.
On Mon, Mar 23, 2026 at 08:42:05AM -0400, Mouse wrote:
> > 4. where can I find the sources for that elusive libXcursor.so.2 that comes $
>
> I don't know. Have you tried doing a full build of the world?
normally I'd be doing just that, but I've installed netbsd on an older laptop with a lazy CPU.
on any of my newer UEFI-based computers I can't even get the installer to boot.
thanks,
peter
Home |
Main Index |
Thread Index |
Old Index