[mapguide-users] problem with Ubuntu 7.10 + MGOS 2.0.1 + PostGIS
Kenneth Skovhede, GEOGRAF A/S
ks at geograf.dk
Wed Aug 13 13:12:37 EDT 2008
The "MgInvalidStreamHeader" usually comes out when the
serialization/deserialization of objects fail.
Since Maestro does not use the serialization features of MapGuide at
that point, it must be some
internal serialization that goes wrong.
Regards, Kenneth Skovhede, GEOGRAF A/S
schwanzy skrev:
> I built MGOS 2.0.1 and fdo-3.3.0 in Ubuntu 7.10.
>
> I couldn't configure data connection with PostGIS FDO provider and ldd
> complains:
>
> $ ldd -r fdo-3.3.0/lib/libPostGISProvider.so
> linux-gate.so.1 => (0xffffe000)
> libPostGISOverrides-3.3.0.so =>
> /usr/local/fdo-3.3.0/lib/libPostGISOverrides-3.3.0.so (0xb7e40000)
> libFDO-3.3.0.so => /usr/local/fdo-3.3.0/lib/libFDO-3.3.0.so
> (0xb7af2000)
> libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb79f2000)
> libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb79cd000)
> libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7883000)
> libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7878000)
> libxalan-c.so => /usr/local/fdo-3.3.0/lib/libxalan-c.so
> (0xb753b000)
> libxalanMsg.so.17 =>
> /usr/local/fdo-3.3.0/lib/libxalanMsg.so.17 (0xb7532000)
> libxerces-c.so.25 =>
> /usr/local/fdo-3.3.0/lib/libxerces-c.so.25 (0xb7152000)
> libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb713a000)
> libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7136000)
> /lib/ld-linux.so.2 (0x80000000)
> undefined symbol: crypt (fdo-3.3.0/lib/libPostGISProvider.so)
>
> so I modified "./OpenSource_FDO/Providers/PostGIS/Src/Makefile.am" to
> link with "-lcrypt":
>
> libPostGISProvider_la_LIBADD = \
> Provider/libPostGISProviderSrc.la \
> libPostGISOverrides.la \
> ../../../Utilities/Common/libProvidersCommon.la \
> ../../../Fdo/Unmanaged/Src/libFDO.la \
> ../../../Thirdparty/boost/stage/lib/libboost_thread-mt.a \
> ../../../Thirdparty/boost/stage/lib/libboost_date_time-mt.a \
> -lpq \
> -lcrypt
>
> Now the symbols are resolved and I can configure datasource in
> Mapguide Studio 2009.
> Connection tests are ok, but when I add a layer Mapguide Studio 2009
> crashes.
>
> At first Mapguide Maestro says "Provider reported no errors", but when
> I try to create a new layer I get the error:
>
> maestro.layer
>
> and testing again the connection:
>
> Errore del server remoto: (559) MgConnectionFailedException.:
> Cannot establish connection.
> Exception occurred in method MgServerConnection.Open at line
> 106 in file Services/ServerConnection.cpp
>
> Any clue?
>
> Thanks in advance.
>
> // S
> ------------------------------------------------------------------------
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
-------------- next part --------------
Skipped content of type multipart/related
More information about the mapguide-users
mailing list