MyGIS support: how can activate it?

Daniele Margotti margottid at COMUNE.LUGO.RA.IT
Tue Feb 8 00:41:01 PST 2005


>-----Original Message-----
>From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU]
On Behalf Of Attila Csipa
>Sent: Monday, February 07, 2005 3:15 PM
>To: MAPSERVER-USERS at LISTS.UMN.EDU
>Subject: Re: [UMN_MAPSERVER-USERS] MyGIS support: how can activate it?
>
>
>> "mapmygis.o" gets compiled, but when I check my Mapserver executable
I
>> can't see MYGIS as input source:
>>
>> $ ./mapserv -v
>> MapServer version 4.2.3 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP

>> OUTPUT=PDF SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER
>> SUPPORTS=WMS_CLIENT SUPPORTS=WFS_CLIENT INPUT=EPPL7 INPUT=OGR
>> INPUT=GDAL INPUT=SHAPEFILE
>>
>> How can I activate MYGIS support?
>
>
>It is activated, but does not report itself, this is a known issue. If
you are still unsure, you can do a
>
>ldd /path/to/php_mapscript.so
>
>and you will see it depends on libmysqlclient12.so
>

It doesn't:

# ldd /usr/local/lib/php/extensions/php_mapscript.so
        libcurl.so.3 => /usr/local/lib/libcurl.so.3 (0x401e7000)
        libssl.so.4 => /lib/libssl.so.4 (0x40214000)
        libcrypto.so.4 => /lib/libcrypto.so.4 (0x40249000)
        libdl.so.2 => /lib/libdl.so.2 (0x4033a000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x4033d000)
        libgssapi_krb5.so.2 => /usr/kerberos/lib/libgssapi_krb5.so.2
(0x40350000)
        libkrb5.so.3 => /usr/kerberos/lib/libkrb5.so.3 (0x40363000)
        libk5crypto.so.3 => /usr/kerberos/lib/libk5crypto.so.3
(0x403c1000)
        libcom_err.so.3 => /usr/kerberos/lib/libcom_err.so.3
(0x403d1000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x403d3000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x40400000)
        libnss_files.so.2 => /lib/libnss_files.so.2 (0x40416000)
        libnss_dns.so.2 => /lib/libnss_dns.so.2 (0x40422000)
        libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40426000)
        libpng.so.3 => /usr/lib/libpng.so.3 (0x40477000)
        libgdal.so.1 => /usr/local/lib/libgdal.so.1 (0x4049a000)
        libproj.so.0 => /usr/local/lib/libproj.so.0 (0x4078c000)
        libpdf.so.5 => /usr/local/lib/libpdf.so.5 (0x407be000)
        libgd.so.2 => /usr/local/lib/libgd.so.2 (0x408b5000)
        libm.so.6 => /lib/tls/libm.so.6 (0x40924000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x40946000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x409f9000)
        libz.so.1 => /usr/lib/libz.so.1 (0x40a02000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

But I can't also find libmysqlclient12.so on my system:

# updatedb
# locate libmysqlclient
/usr/lib/mysql/libmysqlclient.a
/usr/lib/mysql/libmysqlclient.la
/usr/lib/mysql/libmysqlclient_r.a
/usr/lib/mysql/libmysqlclient_r.la

Why get I no error about it during compilation?

Should I install other RPMs than MySQL-devel-4.1.9-0.i386.rpm (and
MySQL-server & -client RPMs) I already installed?

Thank you,
  Daniele



More information about the MapServer-users mailing list