Forums - QNN 2.9.0 - Undefined symbol gzeof

4 posts / 0 new
Last post
QNN 2.9.0 - Undefined symbol gzeof
panneerselvam.n
Join Date: 21 Jun 22
Posts: 3
Posted: Wed, 2023-04-26 00:23

HI,

Got the following error while runing the qnn-tensorflow-converter tool in QNN version 2.9.0. but same thing is working fine in QNN version 2.8.0.

Traceback (most recent call last):
  File "/media/kpithonda/82BC1944BC19345F1/AI_SDK/Sample_SDK_QNN/qnn-v2.9.0/target/x86_64-linux-clang/python/qti/aisw/converters/backend/__init__.py", line 17, in <module>
    import libPyQnnModelTools as qnn_modeltools
ModuleNotFoundError: No module named 'libPyQnnModelTools'
 
During handling of the above exception, another exception occurred:
 
Traceback (most recent call last):
  File "/media/kpithonda/82BC1944BC19345F1/AI_SDK/Sample_SDK_QNN/qnn-v2.9.0/target/x86_64-linux-clang/bin/qnn-onnx-converter", line 12, in <module>
    from qti.aisw.converters import onnx as onnx_frontend
  File "/media/kpithonda/82BC1944BC19345F1/AI_SDK/Sample_SDK_QNN/qnn-v2.9.0/target/x86_64-linux-clang/python/qti/aisw/converters/onnx/__init__.py", line 16, in <module>
    from . import custom_op_translations
  File "/media/kpithonda/82BC1944BC19345F1/AI_SDK/Sample_SDK_QNN/qnn-v2.9.0/target/x86_64-linux-clang/python/qti/aisw/converters/onnx/custom_op_translations.py", line 10, in <module>
    from qti.aisw.converters.backend.custom_ops.op_factory import OpFactory
  File "/media/kpithonda/82BC1944BC19345F1/AI_SDK/Sample_SDK_QNN/qnn-v2.9.0/target/x86_64-linux-clang/python/qti/aisw/converters/backend/__init__.py", line 19, in <module>
    raise e
  File "/media/kpithonda/82BC1944BC19345F1/AI_SDK/Sample_SDK_QNN/qnn-v2.9.0/target/x86_64-linux-clang/python/qti/aisw/converters/backend/__init__.py", line 13, in <module>
    from . import libPyIrQuantizer as ir_quantizer
ImportError: /media/kpithonda/82BC1944BC19345F1/AI_SDK/Sample_SDK_QNN/qnn-v2.9.0/target/x86_64-linux-clang/python/qti/aisw/converters/backend/libPyIrQuantizer.so: undefined symbol: gzeof

 

Please help to resolve above issue.

Thanks & Regards,

Panneerselvam N

 

  • Up0
  • Down0
weihuan
Join Date: 12 Apr 20
Posts: 270
Posted: Sat, 2023-04-29 08:43

Dear developer,

QNN was not suppoted on QDN.

Pls raise SaleForce ticket to Qualcomm.

BR.

Wei

  • Up0
  • Down0
hustc12
Join Date: 3 Aug 23
Posts: 2
Posted: Thu, 2023-08-03 13:37

I've met exactly the same issue (although I use the different version of the QNN SDK). Do you have any further suggestion? Thanks!

  • Up0
  • Down0
472365351
Join Date: 5 Jul 22
Posts: 1
Posted: Tue, 2024-01-23 06:09

gzeof is from zlib, here is my solution:

Uncomment "zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz" line in Python-xxx/Modules/Setup, and rebuild python3.6.x

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.