@PACKAGER - WINE/libusb-wine and possible solutions
Добавлено: 15 июн 2026, 16:47
Ciao,
as you know there are some programs that only work in Windows but that have the procedure to make them work fully in GNU/Linux with WINE and some of them 32-bit libraries. One such program is VNWA:
https://www.sdr-kits.net/DG8SAQ-VNWA-so ... user-guide
There is the whole procedure to make it work in WINE with GNU/Linux and one of the absolutely necessary library is libusb-wine (https://github.com/stanson-ch/libusb-wine) whose current rpm in the repository makes the distinction between 64-bit system and 32-bit system but this distinction does not make the aforementioned program to work.
But now, if I try to to create a symlink to the 64-bit libraries from the 32-bit folders here the "interview" starts and the USB VNA is recognized without any problem (images below):
##############################################à
Idea: Possible solutions
FIRST SOLUTION
I think that in building the package the mutually exclusive 64bit or 32bit option should be changed as follows:
- If you compile the library for 32-bit systems you build libraries to install only in /usr/lib64/wine/i386-unix and /usr/lib64/wine/i386-windows directories.
- If you compile libraries for 64-bit systems you build the libraries as usual, but they install in /usr/lib64/wine/i386-unix and /usr/lib64/wine/x86_64-unix as well as in /usr/lib64/wine/i386-windows and /usr/lib64/wine/x86_64-windows.
SECOND SOLUTION
Since, by now, the WINE versions are all higher than 9.x.y you could replace the libusb-wine package with the new libusb-wine-ng library which is developed for WINE versions higher than 9 which implements the WoW64 function (Windows32bit on Windows64bit - https://www.linux.org.ru/news/arch/18001728):
https://github.com/stanson-ch/libusb-wine-ng
as you know there are some programs that only work in Windows but that have the procedure to make them work fully in GNU/Linux with WINE and some of them 32-bit libraries. One such program is VNWA:
https://www.sdr-kits.net/DG8SAQ-VNWA-so ... user-guide
There is the whole procedure to make it work in WINE with GNU/Linux and one of the absolutely necessary library is libusb-wine (https://github.com/stanson-ch/libusb-wine) whose current rpm in the repository makes the distinction between 64-bit system and 32-bit system but this distinction does not make the aforementioned program to work.
But now, if I try to to create a symlink to the 64-bit libraries from the 32-bit folders here the "interview" starts and the USB VNA is recognized without any problem (images below):
##############################################à
Idea: Possible solutions
FIRST SOLUTION
I think that in building the package the mutually exclusive 64bit or 32bit option should be changed as follows:
- If you compile the library for 32-bit systems you build libraries to install only in /usr/lib64/wine/i386-unix and /usr/lib64/wine/i386-windows directories.
- If you compile libraries for 64-bit systems you build the libraries as usual, but they install in /usr/lib64/wine/i386-unix and /usr/lib64/wine/x86_64-unix as well as in /usr/lib64/wine/i386-windows and /usr/lib64/wine/x86_64-windows.
SECOND SOLUTION
Since, by now, the WINE versions are all higher than 9.x.y you could replace the libusb-wine package with the new libusb-wine-ng library which is developed for WINE versions higher than 9 which implements the WoW64 function (Windows32bit on Windows64bit - https://www.linux.org.ru/news/arch/18001728):
https://github.com/stanson-ch/libusb-wine-ng