LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 03: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, 04:24 AM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,654
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
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, 04: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, 05: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, 06:08 AM   #5
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,654
Blog Entries: 33

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

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

regards Glenn
 
Old 01-11-2010, 06: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, 06: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, 04:53 PM   #8
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,654
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Hi, if it is just for you, not system wide, add the path to your ~/.bashrc file.
 
Old 01-11-2010, 10: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-11-2010, 11:00 PM   #10
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,654
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
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-11-2010 at 11:31 PM.
 
Old 01-12-2010, 01: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, 01:12 AM   #12
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,654
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Please post your error messages.
 
Old 01-12-2010, 02: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 02:27 AM.
 
Old 01-12-2010, 02:38 AM   #14
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,654
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
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 02:44 AM.
 
Old 01-12-2010, 02: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 07:21 PM
Grass cannot find mysql fani Linux - Software 2 07-25-2005 07:39 AM
Grass and qGIS problem (version 6.0 on suse 9.2) oldforce Linux - Software 0 03-31-2005 02:26 AM
Greener than grass newbie................. BamaSam Fedora 9 12-29-2004 05:45 PM
Grass maddness DrD Linux - Software 4 11-17-2004 12:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:54 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
Open Source Consulting | Domain Registration