How to use PE32 and PE+ DLL's with single name

Questions about Wine on Linux
Locked
prepod
Newbie
Newbie
Posts: 1
Joined: Sat Nov 11, 2023 9:30 am

How to use PE32 and PE+ DLL's with single name

Post by prepod »

Several programs of different architectures (PE32 and PE+) are located in same directory. Programs use dynamic libraries gsl.dll and gslcblas.dll of the corresponding architecture but with the same name:

Code: Select all

$ find -type f 
./bin/prog64.exe
./bin/prog32.exe
./lib/gsl.dll
./lib/gslcblas.dll
./lib32/gsl.dll
./lib32/gslcblas.dll
1) How to tell a program where the dynamic libraries it needs are located?
OR
2) Where do I need to place such the .dll's so applications can find them?
Locked