[Osgeo4w-trac] Re: [osgeo4w] #119: liblas Python does not install
liblas .dll into OSGeo4W\bin folder
OSGeo4W
trac_osgeo4w at osgeo.org
Tue Feb 9 15:39:17 EST 2010
#119: liblas Python does not install liblas .dll into OSGeo4W\bin folder
---------------------------+------------------------------------------------
Reporter: williamskg6 | Owner: hobu
Type: defect | Status: new
Priority: major | Component: Installer
Version: | Resolution:
Keywords: liblas, python |
---------------------------+------------------------------------------------
Comment (by williamskg6):
Installing the Dev packages doesn't fix the problem. I've found that the
easiest way to find out if the libraries are installed correctly is to run
the following command in Python:
from liblas import file
This will fail if the .dll is not in the right place, with the following
error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\OSGeo4W\apps\Python25\lib\site-packages\liblas\__init__.py",
line 1,
in <module>
from core import *
File "C:\OSGeo4W\apps\Python25\lib\site-packages\liblas\core.py", line
121, in
<module>
las = ctypes.CDLL(lib_name)
File "C:\OSGeo4W\apps\Python25\lib\ctypes\__init__.py", line 348, in
__init__
self._handle = _dlopen(self._name, mode)
WindowsError: [Error 126] The specified module could not be found
--
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/119#comment:3>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer for the OSGeo stack.
More information about the Osgeo4w-trac
mailing list