[GRASS-user] How to embed a grass script (for example v.db.addcol) into a Pythonscript on windows?

Glynn Clements glynn at gclements.plus.com
Thu Mar 4 16:27:48 EST 2010


Sonja Jankowfsky wrote:

> in C:\Windows\system32\cmd.exe
> C:\GRASS-4-SVN\bin\v.in.ogr.exe
> result: L'ordinal 284 est introuvable dans la bibliothèque de liaisons 
> dynamique SSLEAY32.dll.

I think that's something like "the ordinal 284 could not be found in
the dynamic library SSLEAY32.dll". SSLeay is the original name of
OpenSSL, which is used by some of the libraries used by GDAL
(typically database libraries).

> (call to v.in.ogr works fine in a pythonscript run in Eclipse, but not 
> run in the windows command line)

A missing ordinal suggests that it's finding the wrong version of the
library. This is likely to be related to the PATH setting, which
Windows uses to locate DLLs, as well as executables.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-user mailing list