public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* libfontconfig-devel-2.15.0-1 links wrong DLL
@ 2024-03-05 11:48 Masamichi Hosoda
  2024-03-05 13:10 ` Takashi Yano
  0 siblings, 1 reply; 4+ messages in thread
From: Masamichi Hosoda @ 2024-03-05 11:48 UTC (permalink / raw)
  To: cygwin; +Cc: trueroad

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)

$
```

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-03-08 13:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-05 11:48 libfontconfig-devel-2.15.0-1 links wrong DLL Masamichi Hosoda
2024-03-05 13:10 ` Takashi Yano
2024-03-08 12:53   ` libfontconfig-common-2.15.0-2 system font cache directory settings seem to be wrong Masamichi Hosoda
2024-03-08 13:23     ` Takashi Yano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).