On 26/08/2008, Tim Grove <tim_grove@sil. orgwrote:
I'm going to take a stab in the dark here and suggest it's because you
have multiple (different) copies of iconv.dll on your PATH.
I get this on my current setup, where I've been messing around trying
to recompile lynx against iconv. I also get a popup saying "The
procedure entry point libiconv_set_re location_prefix could not be
located in the dynamic link library iconv.dll."
Doing this worked for me:
C:\>set PATH=C:\Program Files\Common Files\GTK\2.0\b in
C:\>"C:\Python2 4\python.exe" -c "import ctypes; print
ctypes.CDLL('li brsvg-2-2')"
<CDLL 'librsvg-2-2', handle 68e40000 at bd9b50>
Change the paths to your equivalents and try it, see if you have the
same or a similar dependency problem.
Martin
Any ideas why a particular dll won't load on Windows XP Pro using
ctypes?
ctypes?
have multiple (different) copies of iconv.dll on your PATH.
l=CDLL(r'D:\SIL Sign\librsvg-2-2.dll')
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "C:\PYTHON25\LI B\ctypes\__init __.py", line 349, in __init__
self._handle = _dlopen(self._n ame, mode)
WindowsError: [Error 127] The specified procedure could not be found
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "C:\PYTHON25\LI B\ctypes\__init __.py", line 349, in __init__
self._handle = _dlopen(self._n ame, mode)
WindowsError: [Error 127] The specified procedure could not be found
to recompile lynx against iconv. I also get a popup saying "The
procedure entry point libiconv_set_re location_prefix could not be
located in the dynamic link library iconv.dll."
Doing this worked for me:
C:\>set PATH=C:\Program Files\Common Files\GTK\2.0\b in
C:\>"C:\Python2 4\python.exe" -c "import ctypes; print
ctypes.CDLL('li brsvg-2-2')"
<CDLL 'librsvg-2-2', handle 68e40000 at bd9b50>
Change the paths to your equivalents and try it, see if you have the
same or a similar dependency problem.
Martin