________________________________
From: wingrass-admin@grass.itc.it [mailto:wingrass-admin@grass.itc.it]
On Behalf Of Koukoulas Sotiris
Sent: Monday, December 06, 2004 2:28 AM
To: wingrass@grass.itc.it
Subject: [winGRASS] libgrass_gis.dll was not found !
Dear all,
I have recently installed Grass 5.7 for Windows and I get an error
message as the Display Manager starts:
<ps.map - Unable to locate component
This application has failed to start because libgrass_gis.dll was not
found. Re-installing the application may fix this problem.>
In the xterm I get the following:
GRASS 5.7.0:~ > Error in startup script: child process exited abnormally
while executing
"exec ps.map -p" (procedure "DmPrint::init" line 14) invoked
from within
"DmPrint::init" (procedure "main" line 27) invoked from within
"main $argc $argv"
(file
"/usr/local/grass5.7.0-i686-pc-cygwin-24_06_2004/etc/dm/d.m.tcl" line
773)
How can I resolve this?
Many thanks in advance,
Sotirios Koukoulas
Hy Koukoulas Sotiris,
I have a question, to be sure I understand the issue.
If it is on windows, shouldn't it run under cygwin and use *.so shared
libraries instead of *.dll? Since when are the shared libs compiled native on
windows?
Anyway, does the file libgrass_gis.dll exist on your system?
Best regards,
Andrea
On Monday 06 December 2004 15:50, Koukoulas Sotiris wrote:
________________________________
From: wingrass-admin@grass.itc.it [mailto:wingrass-admin@grass.itc.it]
On Behalf Of Koukoulas Sotiris
Sent: Monday, December 06, 2004 2:28 AM
To: wingrass@grass.itc.it
Subject: [winGRASS] libgrass_gis.dll was not found !
Dear all,
I have recently installed Grass 5.7 for Windows and I get an error
message as the Display Manager starts:
<ps.map - Unable to locate component
This application has failed to start because libgrass_gis.dll was not
found. Re-installing the application may fix this problem.>
In the xterm I get the following:
GRASS 5.7.0:~ > Error in startup script: child process exited abnormally
while executing
"exec ps.map -p" (procedure "DmPrint::init" line 14) invoked
from within
"DmPrint::init" (procedure "main" line 27) invoked from within
"main $argc $argv"
(file
"/usr/local/grass5.7.0-i686-pc-cygwin-24_06_2004/etc/dm/d.m.tcl" line
773)
How can I resolve this?
Many thanks in advance,
Sotirios Koukoulas
--
____________________________________________________________________________
HydroloGIS - Environmental Open Source Solutions
www.hydrologis.com
Andrea Antonello
Environmental Engineer
mobile: +393288497722
"Let it be as much a great honour to take as to give learning,
if you want to be called wise."
Skuggsja' - The King's mirror - 1240 Reykjavik
____________________________________________________________________________
On Mon, 6 Dec 2004, Andrea Antonello wrote:
Hy Koukoulas Sotiris,
I have a question, to be sure I understand the issue.
If it is on windows, shouldn't it run under cygwin and use *.so shared
libraries instead of *.dll? Since when are the shared libs compiled native on
windows?
Cygwin shared libraries are always .dll (well any I have ever seen and certainly the GRASS ones).
Anyway, does the file libgrass_gis.dll exist on your system?
Perhaps the PATH variable has come unset similar to the recent problems on Debian (why the grass-run.sh script was introduced). Perhaps changing d.m to launch ps.map using grass-run.sh would fix the problem (PATH is the equivalent of LD_LIBRARY_PATH on Cygwin)
Paul
Cygwin shared libraries are always .dll (well any I have ever seen and
certainly the GRASS ones).
Thanks Paul! Hmm, my ignorance. So the next question (so that I can see the
light at some point): Can I use that dll to call it's functions outside of
the Cygwin environment? Let's say I want to call some function from inside a
java environment. Obviously supplying the needed grass environment. Is that
enough?
Thanks for your replies. File libgrass_gis.dll does not exist in my
system... Where can I find it?(if it is the only one that I am
missing...)
Dear Sotiris, I'm sorry, but I have no idea. I was thinking it was some
missplaced path, but you really miss the library.
Guess Paul will tell us the solution.
Best regards,
Andrea
--
____________________________________________________________________________
HydroloGIS - Environmental Open Source Solutions
www.hydrologis.com
Andrea Antonello
Environmental Engineer
mobile: +393288497722
"Let it be as much a great honour to take as to give learning,
if you want to be called wise."
Skuggsja' - The King's mirror - 1240 Reykjavik
____________________________________________________________________________
On Mon, 6 Dec 2004, Andrea Antonello wrote:
Cygwin shared libraries are always .dll (well any I have ever seen and
certainly the GRASS ones).
Thanks Paul! Hmm, my ignorance. So the next question (so that I can see the
light at some point): Can I use that dll to call it's functions outside of
the Cygwin environment? Let's say I want to call some function from inside a
java environment. Obviously supplying the needed grass environment. Is that
enough?
Possibly. I think you need the Cygwin dll as well. But yes it might work!
Thanks for your replies. File libgrass_gis.dll does not exist in my
system... Where can I find it?(if it is the only one that I am
missing...)
Dear Sotiris, I'm sorry, but I have no idea. I was thinking it was some
missplaced path, but you really miss the library.
Guess Paul will tell us the solution.
It seems it was a binary distribution compiled with static libraries. So I've no idea where the request for the dll came from.
Paul