Re: libX11's libXcursor dlopen
Valery Ushakov <[email protected]> Mon, 23 Mar 2026 13:33:29 +0300
| Newsgroups | gmane.os.netbsd.devel.x11 |
|---|---|
| Message-ID | <[email protected]> |
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... -uwe