This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: CDLL : Can't find module
Type: behavior Stage: resolved
Components: ctypes Versions: Python 3.6
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: christian.heimes, twinkim2
Priority: normal Keywords:

Created on 2018-02-01 01:58 by twinkim2, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg311398 - (view) Author: (twinkim2) Date: 2018-02-01 01:58
I just try to import ./so created by c language.
However , if some c function library is added in c souce code such as "fopen" and "sscanf" related with stdio , runtime error is happend like as below.
==================================================================
Traceback (most recent call last):  File "D:\python_test\c_library_test.py", line 8, in <module>
    adder = CDLL('./_adder.so')
  File "C:\Users\admin\AppData\Local\Programs\Python\Python36\lib\ctypes\__init__.py", line 348, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] can't fine Module.
===================================================================
Please give your guide to fix this issue.
msg311426 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2018-02-01 13:21
Your library is probably missing dependencies.

Please use the Python mailing list or IRC to get assistance. bugs.python.org is a bug tracker, not a supported forum. You can find more information about community support forums on https://www.python.org/community/
History
Date User Action Args
2022-04-11 14:58:57adminsetgithub: 76919
2018-02-01 13:21:09christian.heimessetstatus: open -> closed

nosy: + christian.heimes
messages: + msg311426

resolution: not a bug
stage: resolved
2018-02-01 04:59:28twinkim2settitle: CDLL : Can't fine module -> CDLL : Can't find module
2018-02-01 01:58:06twinkim2create