[ gpsdrive ] postgresql & postgis integration

Hamish hamish_b at yahoo.com
Fri Jun 6 06:42:01 AKDT 2008


Hamish:
> >   do you also have the ubuntu proj package installed??
> >   do you actually have a libproj.so in /usr/local/lib/ ?

Chris: 
> Interesting. I have it in both locations. Ubuntu proj is
> installed. 

Better to just have one copy. It is problematic for ./configure scripts to know which one to use.

> As I have it in both locations where is the proper location
> for its residence. 

libraries from ubuntu packages go in /usr/lib/, stuff you compile yourself goes in /usr/local/lib. It's up to you to decide which version you want, but know that if you remove the ubuntu package you will also have to remove all other packages that depend on that.

 
> > did you compile liblwgeom.so yourself? it may be that
> the packager's system
> > had a copy of proj in their /usr/local/lib and it
> trickled down to you that
> > way.
> 
> No. Perhaps its the latter which could make sense. 

you did not compile PROJ4 yourself and yet there is a copy of it in /usr/local/lib ?! that would be quite strange.

check if it came from a package with:
  dpkg -S /usr/local/lib/libproj.so.0



Hamish




      



More information about the GPSdrive mailing list