[mapguide-users] Not much luck with ogr or postgis on Ubuntu

Traian Stanev traian.stanev at autodesk.com
Fri Nov 30 12:46:36 EST 2007


Could you open providers.xml (should be under your fdo-3.3.0/lib) and find the entries for the PostGIS and OGR providers, then send us those snippets?

Traian

______________________________
From: mapguide-users-bounces at lists.osgeo.org [mapguide-users-bounces at lists.osgeo.org] On Behalf Of Joanne Cook [j.cook at oxfordarch.co.uk]
Sent: Friday, November 30, 2007 12:34 PM
To: mapguide-users at lists.osgeo.org
Subject: RE: [mapguide-users] Not much luck with ogr or postgis on      Ubuntu

Hi All,

I seem to be unable to answer mailing list messages in nabble at the moment, and only get the daily digest otherwise, so here goes:

1: Dave suggested there should be Provider.so files in the FDO/bin directory but I don't have that- only /usr/local/fdo-3.3.0/lib and they are all in there. Doing a search for one of the other providers seems to suggest that's the only location for all of them, which may be wrong?

2: Running ldd -r on libPostGISProvider.so gives me the following line that I don't get when I run any of the others (including ogr): undefined symbol: crypt (./libPostGISProvider.so)

3: Not sure how to use LD_LIBRARY_PATH, but running echo $LD_LIBRARY_PATH doesn't give me anything

Thanks for all the replies

Jo




Message: 40
Date: Fri, 30 Nov 2007 08:38:14 -0800
From: "Jason Birch" <Jason.Birch at nanaimo.ca>
Subject: RE: [mapguide-users] Not much luck with ogr or postgis on
        Ubuntu
To: "MapGuide Users Mail List" <mapguide-users at lists.osgeo.org>,
        <fdo-internals at lists.osgeo.org>
Message-ID:
        <8E468917B01800408B91984428BE03DD072A5C74 at starfish.nanaimo.ca>
Content-Type: text/plain;       charset="US-ASCII"


I ran into the same problem the last time I checked.  Perhaps we need to
put the PostGIS and OGR shared libraries into the include path before
running MapGuide or something?  I unfortunately don't know enough about
this stuff works on *nix to be able to figure out where to start.  Is
there something equivalent to depends.exe on windows?



Are the .so files for the drivers to talk to PostGIS or OGR in some directory other than the FDO/bin directory? If so then add the path to the LD_LIBRARY_PATH and try again. Otherwise copy the .so files into the FDO/bin folder.

At least that's how the other FDO providers work. The.so files need to be in the same folder or in the system path.

Dave

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Jason Birch
Sent: Friday, November 30, 2007 9:38 AM
To: MapGuide Users Mail List; fdo-internals at lists.osgeo.org
Subject: RE: [mapguide-users] Not much luck with ogr or postgis on Ubuntu


I ran into the same problem the last time I checked.  Perhaps we need to
put the PostGIS and OGR shared libraries into the include path before
running MapGuide or something?  I unfortunately don't know enough about
this stuff works on *nix to be able to figure out where to start.  Is
there something equivalent to depends.exe on windows?

I can't start my VM right now, but if you look in your FDO directory,
can you see whether the appropriate provider library files were built
for these?

Any FDO folks have any ideas about this?

Jason






------
Files attached to this email may be in ISO 26300 format (OASIS Open Document Format). If you have difficulty opening them, please visit http://iso26300.info for more information.

_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list