[Bug 51541] nvcuda.dll unable to load within Steam Runtime pressure-vessel

WineHQ Bugzilla wine-bugs at winehq.org
Wed Aug 18 15:24:24 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=51541

--- Comment #9 from Sveinar Søpler <cybermax at dexter.no> ---
(In reply to Liam Middlebrook from comment #8)

Well, i suppose the idea is that wine configure checks for whatever library
needed, and set up the soname from that. Depending on the correctness of the
configure script, the build-system's SONAME will be detected and put in the
include/config.h file (in the build folder).

Example:
The config.h file will have 
#define SONAME_LIBGNUTLS "libgnutls.so.30"

The source dlls/crypt32/unixlib.c will have a #ifdef SONAME_LIBGNUTLS that
basically remove libgnutls related functions including the line that loads the
lib:

if (!(libgnutls_handle = dlopen( SONAME_LIBGNUTLS, RTLD_NOW )))

in the case that the SONAME is NOT defined at buildtime.

I would assume that in the case of multiple SONAME's of the same lib, whatever
highest version will be used.

Sorry if i completely misunderstood what you mean tho Liam :)

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list