Opened 16 years ago
Closed 16 years ago
#9008 closed (fixed)
'lib_name' is not defined error on Windows when `GDAL_LIBRARY_PATH` is set
Reported by: | Owned by: | jbronn | |
---|---|---|---|
Component: | GIS | Version: | 1.0 |
Severity: | Keywords: | lib_name GDAL_LIBRARY_PATH gdal gis | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
43 if os.name == 'nt': 44 from ctypes import WinDLL 45 lwingdal = WinDLL(lib_name) 'lib_name' is not defined
Attachments (1)
Change History (6)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Description: | modified (diff) |
---|---|
Keywords: | GDAL_LIBRARY_PATH gdal gis added |
Owner: | changed from | to
Summary: | libgdal/__init__.py name 'lib_name' is not defined on windows → 'lib_name' is not defined error on Windows when `GDAL_LIBRARY_PATH` is set |
Triage Stage: | Unreviewed → Accepted |
by , 16 years ago
Attachment: | gdal_win32_lib_path.diff added |
---|
comment:3 by , 16 years ago
I'll commit that patch later; it should fix the problem. Another workaround is to not use GDAL_LIBRARY_PATH
-- just add the GDAL directory to your Windows PATH
.
comment:4 by , 16 years ago
It seems both GEOS_LIBRARY_PATH, GDAL_LIBRARY_PATH variable not use on windows. just add GEOS, GDAl directory to Windows PATH. that worked well
comment:5 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
43 if os.name == 'nt':
44 from ctypes import WinDLL
45 lwingdal = WinDLL(lib_name)
'lib_name' is not defined