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

Dave Wilson dave.wilson at autodesk.com
Fri Nov 30 11:42:26 EST 2007


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

-----Original Message-----
From: Jo Cook
Subject: [mapguide-users] Not much luck with ogr or postgis on Ubuntu

I have managed to build MGOS2 on Ubuntu 7.04 with help from Jason's
great instructions on the wiki. However, when I try and make a new data
connection with either postgis or ogr I get errors.

In mapguide studio when I try to make a postgis connection I get the
default feature editor screen and errors in my error log saying
CLNT_8_UNABLE_TO_LOAD_LIBRARY.

When I make an ogr connection I get the proper editor (with data source
and readonly connection options) but I get a connection failed error
when I try and test the connection. The error log says
CLNT_4_PROVIDERNOTREGISTERED.

I have tested my connection string with ogrinfo and it works, and I have
checked that both providers are in my providers.xml file.

I have also tested both connection strings with testconnection in the
web tier test suite and both give me the CLNT_4_PROVIDERNOTREGISTERED
error.

Has anyone successfully managed to use either of these connectors with
Ubuntu, and how do I begin debugging the problem?
_______________________________________________
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