libfontconfig-devel-2.15.0-1 links wrong DLL
Masamichi Hosoda
trueroad@trueroad.jp
Tue Mar 5 11:48:38 GMT 2024
Hi
If I understand correctly,
libfontconfig-devel-2.15.0-1 links wrong DLL (i.e. libfontconfig-1.dll)
instead of correct DLL (i.e. cygfontconfig-1.dll).
Since the wrong DLL does not exist,
the executable file using libfontconfig-devel-2.15.0-1 cannot be executed.
```
$ cat foo.c
#include <fontconfig/fontconfig.h>
int main(void)
{
FcInit();
return 0;
}
$ gcc -o foo foo.c -lfontconfig
$ ldd foo
ntdll.dll => /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (0x7ffccda50000)
KERNEL32.DLL => /cygdrive/c/WINDOWS/System32/KERNEL32.DLL (0x7ffccc230000)
KERNELBASE.dll => /cygdrive/c/WINDOWS/System32/KERNELBASE.dll (0x7ffccb590000)
cygwin1.dll => /usr/bin/cygwin1.dll (0x7ffcb3ff0000)
libfontconfig-1.dll => not found
$
```
Using the previous version, libfontconfig-devel-2.13.1-2, it is fine.
```
$ gcc -o foo foo.c -lfontconfig
$ ldd foo
ntdll.dll => /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (0x7ffccda50000)
KERNEL32.DLL => /cygdrive/c/WINDOWS/System32/KERNEL32.DLL (0x7ffccc230000)
KERNELBASE.dll => /cygdrive/c/WINDOWS/System32/KERNELBASE.dll (0x7ffccb590000)
cygwin1.dll => /usr/bin/cygwin1.dll (0x7ffcb3ff0000)
cygfontconfig-1.dll => /usr/bin/cygfontconfig-1.dll (0x507fd0000)
cygexpat-1.dll => /usr/bin/cygexpat-1.dll (0x5d5bf0000)
cygfreetype-6.dll => /usr/bin/cygfreetype-6.dll (0x51c6b0000)
cygintl-8.dll => /usr/bin/cygintl-8.dll (0x5ee2d0000)
cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x50caa0000)
cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x3d2a10000)
cygbrotlidec-1.dll => /usr/bin/cygbrotlidec-1.dll (0x42f930000)
cygz.dll => /usr/bin/cygz.dll (0x597fd0000)
cygbz2-1.dll => /usr/bin/cygbz2-1.dll (0x3e1e30000)
cygpng16-16.dll => /usr/bin/cygpng16-16.dll (0x5a9870000)
cygbrotlicommon-1.dll => /usr/bin/cygbrotlicommon-1.dll (0x4678a0000)
$
```
More information about the Cygwin
mailing list