LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 01-11-2010, 04:33 AM   #1
bharath1234
LQ Newbie
 
Registered: Jan 2010
Posts: 11

Rep: Reputation: 0
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....
 
Old 01-11-2010, 05:24 AM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
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
 
Old 01-11-2010, 05:40 AM   #3
wjdoss
LQ Newbie
 
Registered: Sep 2009
Location: Bangalore
Distribution: ubuntu 9.04 and RHEL4
Posts: 24

Rep: Reputation: 15
Smile

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.
 
Old 01-11-2010, 06:59 AM   #4
bharath1234
LQ Newbie
 
Registered: Jan 2010
Posts: 11

Original Poster
Rep: Reputation: 0
g.proj or projection error while loading shared libraries libproj.so.0 not found...
 
Old 01-11-2010, 07:08 AM   #5
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
to find the path, try ...

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

regards Glenn
 
Old 01-11-2010, 07:49 AM   #6
bharath1234
LQ Newbie
 
Registered: Jan 2010
Posts: 11

Original Poster
Rep: Reputation: 0
thanks for your information....

after locating proj how to add to path...
i installed in /home/bharath/
then how to locate...
 
Old 01-11-2010, 07:52 AM   #7
bharath1234
LQ Newbie
 
Registered: Jan 2010
Posts: 11

Original Poster
Rep: Reputation: 0
actually, iam not a super user ...so is this mandatory to set path all those things...
 
Old 01-11-2010, 05:53 PM   #8
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Hi, if it is just for you, not system wide, add the path to your ~/.bashrc file.
 
Old 01-11-2010, 11:42 PM   #9
bharath1234
LQ Newbie
 
Registered: Jan 2010
Posts: 11

Original Poster
Rep: Reputation: 0
thanks,
but if you don`t mind please tellme how to include path in .bashrc
.....???????????????..........
 
Old 01-12-2010, 12:00 AM   #10
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Smile

Quote:
Originally Posted by GlennsPref View Post
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

Last edited by GlennsPref; 01-12-2010 at 12:31 AM.
 
Old 01-12-2010, 02:06 AM   #11
bharath1234
LQ Newbie
 
Registered: Jan 2010
Posts: 11

Original Poster
Rep: Reputation: 0
yes i tried that quote but again same problem came into picture...
 
Old 01-12-2010, 02:12 AM   #12
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Please post your error messages.
 
Old 01-12-2010, 03:25 AM   #13
bharath1234
LQ Newbie
 
Registered: Jan 2010
Posts: 11

Original Poster
Rep: Reputation: 0
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.

Last edited by bharath1234; 01-12-2010 at 03:27 AM.
 
Old 01-12-2010, 03:38 AM   #14
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
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

Last edited by GlennsPref; 01-12-2010 at 03:44 AM.
 
Old 01-12-2010, 03:59 AM   #15
bharath1234
LQ Newbie
 
Registered: Jan 2010
Posts: 11

Original Poster
Rep: Reputation: 0
the following are i installed before grass-6.4.0RC5
1.proj
2.gdal
3.tcl
4.tk
5.fftw
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GRASS and C seabiscuit Programming 1 03-22-2006 08:21 PM
Grass cannot find mysql fani Linux - Software 2 07-25-2005 08:39 AM
Grass and qGIS problem (version 6.0 on suse 9.2) oldforce Linux - Software 0 03-31-2005 03:26 AM
Greener than grass newbie................. BamaSam Fedora 9 12-29-2004 06:45 PM
Grass maddness DrD Linux - Software 4 11-17-2004 01:42 AM


All times are GMT -5. The time now is 05:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration