Dear all,
I've compiled GRASS 5.3 successfully and then I tried
to upgrade it to version 5.7. There was an error when
the make scripts entered the lib/proj directory. To
solve this problem, I skipped this process by
modifying the Makefile.
Then, I ran again the make process and it seems
succeeded.
After the install process, I ran GRASS and this error
message loaded:
"Error in startup script: ps.map: error while loading
shared libraries: libproj.so.0: cannot open shared
object file: No such file or directory
while executing
"exec ps.map -p"
(procedure "DmPrint::init" line 14)
invoked from within
"DmPrint::init"
(procedure "main" line 30)
invoked from within
"main $argc $argv"
(file "/usr/local/grass57/grass57/etc/dm/d.m.tcl"
line 785)
What does this error mean?
Thanks.
Cheers,
Firman.
__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
On Fri, 13 Feb 2004, alcedo wrote:
Dear all,
I've compiled GRASS 5.3 successfully and then I tried
to upgrade it to version 5.7. There was an error when
the make scripts entered the lib/proj directory. To
solve this problem, I skipped this process by
modifying the Makefile.
What was the error and what did you change to fix it?
Probably you have installed PROJ.4 into a location that is not searched by
your system by default for the executable programs and shared libraries.
Especially if it is in /usr/local/lib make sure /usr/local/lib is in your
LD_LIBRARY_PATH environment variable, or on Linux you may also list it in
/etc/ld.so.conf and run ldconfig.
This would be a general Unix query, not GRASS specific. Maybe we should add a
note in the documentation on pre-requisites to make sure and install them
into a directory that your system searches for shared libraries.
Then, I ran again the make process and it seems
succeeded.
After the install process, I ran GRASS and this error
message loaded:
"Error in startup script: ps.map: error while loading
shared libraries: libproj.so.0: cannot open shared
object file: No such file or directory
while executing
"exec ps.map -p"
(procedure "DmPrint::init" line 14)
invoked from within
"DmPrint::init"
(procedure "main" line 30)
invoked from within
"main $argc $argv"
(file "/usr/local/grass57/grass57/etc/dm/d.m.tcl"
line 785)
What does this error mean?
It can't find libproj.so.0 in one of the locations it looks for shared
libraries (LD_LIBRARY_PATH or /etc/ld.so.conf; see above)
Paul K
Dear Kelly,
I have done /sbin/ldconfig for PROJ4 and other
libraries as you told. And now I've finally start
GRASS 5.7 and can enter the GRASS Display Manager.
From this, what should I do to open the GRASS datasets
because this display is so different from previous
GRASS version?
I apologize for asking such a 'dumb' question.
Anyway, thanks again.
Regards,
Firman.
__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
On Fri, Feb 13, 2004 at 09:51:28AM -0800, alcedo wrote:
Dear all,
I've compiled GRASS 5.3 successfully and then I tried
to upgrade it to version 5.7. There was an error when
the make scripts entered the lib/proj directory. To
solve this problem, I skipped this process by
modifying the Makefile.
Then, I ran again the make process and it seems
succeeded.
After the install process, I ran GRASS and this error
message loaded:
"Error in startup script: ps.map: error while loading
shared libraries: libproj.so.0: cannot open shared
I guess there is a link missing:
locate libproj
su
cd /where/to/find/libproj*
ln -s libproj.so.0.4.1 libproj.so.0
#(use the version number you find in your system)
ldconfig
Then it should work.
Markus