[OE-core] question about libgcrypt

Zheng, Ruoqin zhengrq.fnst at cn.fujitsu.com
Sun Apr 1 06:01:40 UTC 2018


Hi Anuj,
         How to change wireshark configure to use pkg-config for libgcrypt?

Thanks

--------------------------------------------------
Zheng Ruoqin
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)
ADDR.: No.6 Wenzhu Road, Software Avenue,
       Nanjing, 210012, China
MAIL : zhengrq.fnst at cn.fujistu.com


-----Original Message-----
From: Anuj Mittal [mailto:anuj.mittal at intel.com] 
Sent: Friday, March 30, 2018 6:33 PM
To: Zheng, Ruoqin/郑 若钦 <zhengrq.fnst at cn.fujitsu.com>; openembedded-core at lists.openembedded.org
Subject: Re: [OE-core] question about libgcrypt

Hi Ruoqin,

On 03/30/2018 06:10 PM, Zheng, Ruoqin wrote:
> Hi,
> 
> I got the following error when building wireshark 2.4.5 during do_configure,
>       ......
>      | checking for libgcrypt-config... 
> /yocto/work001/fnst/huangqy/upgrade/build/tmp/work/i586-poky-linux/wireshark/1_2.4.5-r0/recipe-sysroot/usr/bin/crossscripts/libgcrypt-config
>      | checking for LIBGCRYPT - version >= 1.4.2... ERROR: 
> /usr/bin/libgcrypt-config should not be used, use an alternative such as pkg-config
>      | ../wireshark-2.4.5/configure: line 20214: test: 
> --should-not-have-used-/usr/bin/libgcrypt-config: integer expression expected
>      | ../wireshark-2.4.5/configure: line 20217: test: 
> --should-not-have-used-/usr/bin/libgcrypt-config: integer expression expected
>      .....

You will have to change wireshark configure to use pkg-config for libgcrypt instead of relying on binconfig file to get the version and flags.

Thanks,

Anuj






More information about the Openembedded-core mailing list