[Proj] installing proj

Roger Oberholtzer roger at opq.se
Thu Jun 5 10:41:22 EDT 2008


On Thu, 2008-06-05 at 13:04 +0200, Jorge wrote:
> > Okay this is a very basic question I imagine.
> >  
> > I want to install Proj on my Linux machine.
> >  
> > I unzipped/untarred the tarball to /usr/local/src/proj-4.6.0.
> > I then ran 
> > 
> >    configure
> >    make
> >    make install
> > 
> > as it says in the docs (then updated PATH appropriately) but when i run proj
> > from the command line I get the following:
> > 
> > $ proj
> > proj: error while loading shared libraries: libproj.so.0: cannot open shared
> > object file: No such file or directory
> >  
> > I must be doing something obviously wrong but i dont' know what it is.  Can
> > anybody help me?
> >  
> > Thanks
> 
> Hi Jeremy.
> 
> The Martin's explanation is all you need. But you also can do:
> 
> export LD_LIBRARY_PATH=<path_to_the_dir_that_contains_libproj.so>

Better yet:

export LD_LIBRARY_PATH=<path_to_libproj.so_dir>:$LD_LIBRARY_PATH


> 
> You have to do this every time that your machine starts, unless you add this line to your .bashrc file.
> 
> 
> Jorge
> 
> _______________________________________________
> Proj mailing list
> Proj at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/proj
-- 
Roger Oberholtzer

OPQ Systems / Ramböll RST

Ramböll Sverige AB
Kapellgränd 7
P.O. Box 4205
SE-102 65 Stockholm, Sweden

Office: Int +46 8-615 60 20
Mobile: Int +46 70-815 1696



More information about the Proj mailing list