ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Windows CMake, multiple copies of libffi-6.dll

From: Pascal Quantin <pascal.quantin@xxxxxxxxx>
Date: Mon, 20 Jul 2015 11:39:00 +0200
2015-07-18 14:59 GMT+02:00 Graham Bloice <graham.bloice@xxxxxxxxxxxxx>:

Windows CMake always copies libffi-6.dll into the runtime directory, because it's found in two places in the support libraries, gnutls and gtk2.  The version from gnutls is copied first, then overwritten by the gtk2 version, then on the next build the same happens again. because both copies are triggered if the file is different.

Unfortunately, although the files are different sizes, neither has any resources embedded indicating version or build numbers to be able to determine which one is "best".

Does anyone know which one we should be using?  Currently the gtk2 one is going out in builds, so seems to be OK.

Hi Graham,

as I added the gnutls package to the repository after Gerald added the GTK+ 2.24.23 bundle, I would have considered that the former has the latest version (as it was the one available on OBS servers by that time). But has the exported symbols seem to be the same, it does not seem to matter much (and as you said it just seems to *work fine* right now). Maybe it was just compiled with a different compiler version or set of options. I see that OBS is still on version 3.0.13 which was released in 2013, so this is most likely the same version.

Pascal.