LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   installation problem in grass (http://www.linuxquestions.org/questions/linux-software-2/installation-problem-in-grass-781415/)

bharath1234 01-11-2010 03:33 AM

installation problem in grass
 
i installed grass gis software after installation ,i tried to execute but iam getting g.proj eroor to access shared libraries ....
some people suggested me to set path i tried that also
how to set path tell me clearly...
please help me if you know other solutions.....

thanks....

GlennsPref 01-11-2010 04:24 AM

Hi, Welcome to LQ.

LQ has a fantastic search function that may save you time waiting for an answer to a popular question.

http://www.troubleshooters.com/linux/prepostpath.htm

Cheers, Glenn

wjdoss 01-11-2010 04:40 AM

Hi,
Exporting library path is simple, "export LD_LIBRARY_PATH=<library_path_name>"

but, im not sure whether ur looking for the same.. could please send me the error report.

bharath1234 01-11-2010 05:59 AM

g.proj or projection error while loading shared libraries libproj.so.0 not found...

GlennsPref 01-11-2010 06:08 AM

to find the path, try ...

Code:

locate libproj.so.0
Then add it to the path.

regards Glenn

bharath1234 01-11-2010 06:49 AM

thanks for your information....

after locating proj how to add to path...
i installed in /home/bharath/
then how to locate...

bharath1234 01-11-2010 06:52 AM

actually, iam not a super user ...so is this mandatory to set path all those things...

GlennsPref 01-11-2010 04:53 PM

Hi, if it is just for you, not system wide, add the path to your ~/.bashrc file.

bharath1234 01-11-2010 10:42 PM

thanks,
but if you don`t mind please tellme how to include path in .bashrc
.....???????????????..........

GlennsPref 01-11-2010 11:00 PM

Quote:

Originally Posted by GlennsPref (Post 3822207)
Hi, Welcome to LQ.

LQ has a fantastic search function that may save you time waiting for an answer to a popular question.

http://www.troubleshooters.com/linux/prepostpath.htm

Cheers, Glenn


From the above link...
Quote:

Adding to a Single User's Path

To add a directory to the path of a single user, place the lines in that user's .bash_profile file. Typically, .bash_profile already contains changes to the $PATH variable and also contains an export statement, so you can simply add the desired directory to the end or beginning of the existing statement that changes the $PATH variable. However, if .bash_profile doesn't contain the path changing code, simply add the following two lines to the end of the .bash_profile file:

PATH=$PATH:/data/myscripts
export PATH
hth, Glenn

ps, I have found this webpage useful...Jerry Peek's Magazine articles and books.
http://www.jpeek.com/articles/linux_magazine.html

bharath1234 01-12-2010 01:06 AM

yes i tried that quote but again same problem came into picture...

GlennsPref 01-12-2010 01:12 AM

Please post your error messages.

bharath1234 01-12-2010 02:25 AM

g.proj or projection error while loading shared libraries :libproj.so.0 cannot open sharedobject file:no such file or directories.
after click ok.... error in start up script:cannot read "proj_is_ll"no such variable exists
while executing
"if { $proj_is_ll } {
# Explore mode is off by default (can't peer past 90deg)
set exploremode($mon) 0
} else {
# Explore mode is on by..."
(procedure "MapCanvas::create" line 38)
invoked from within
"MapCanvas::create"
(procedure "Gm::startmon" line 11)
invoked from within
"Gm::startmon"
(procedure "Gm::create" line 79)
invoked from within
"Gm::create"
(procedure "main" line 30)
invoked from within
"main $argc $argv"
(file "/usr/local/grass-6.4.0RC5/etc/gm/gm.tcl" line 566)
libraries :libproj.so.0 cannot open sharedobject file:no such file or directories.

GlennsPref 01-12-2010 02:38 AM

Hi you can update your database by typing...
Code:

updatedb
that's just for the locate database of files on your system, might take a minute or more.

after that, open the .bash_profile text file.

Scroll down till you get to the PATH= entry.

Notice how the paths are appended, and follow that rule.

Add your path to the executable Or Libs, to the end of the line (PATH=)

reboot, and test your app.

see how you go, Glenn

bharath1234 01-12-2010 02:59 AM

the following are i installed before grass-6.4.0RC5
1.proj
2.gdal
3.tcl
4.tk
5.fftw


All times are GMT -5. The time now is 01:53 PM.