[OE-core] question about libgcrypt

Zheng, Ruoqin zhengrq.fnst at cn.fujitsu.com
Fri Mar 30 10:10:15 UTC 2018


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
     .....

And I found it's caused by libgcrypt-config as follows

     #!/bin/sh
     echo 'ERROR: /usr/bin/libgcrypt-config should not be used, use an alternative such as pkg-config' >&2
     echo '--should-not-have-used-/usr/bin/libgcrypt-config'
     exit 1

I think this error is caused by libgcrypt, it creates the wrong file, does anyone have any idea about this?

--------------------------------------------------
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






More information about the Openembedded-core mailing list