[Proj] installing proj

Jorge jorge.arevalo at gmail.com
Thu Jun 5 04:04:24 PDT 2008


> 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>

You have to do this every time that your machine starts, unless you add this line to your .bashrc file.


Jorge




More information about the Proj mailing list