[mapserver-dev] Compile issue - svn trunk

Alan Boudreault aboudreault at mapgears.com
Mon Apr 19 08:14:16 EDT 2010


Note that the missing library is "dap", not "ldap". Find the  rpm 
package that provides libdap.so and install it.

Alan

Bret S. Lambert wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> fruitwerks wrote:
>   
>> Hello all
>> I am trying to compile mapserver on CentOS 5.4 - here is the config and
>> error
>>     
>
> The ultimate error was:
>
> /usr/bin/ld: cannot find -ldap
>
>
> which means that your linker can't find the ldap client libraries,
> probably; the openldap-devel you installed below includes source but not
> libs, IIRC; try installing the openldap-client package and see if that
> fixes that.
>
>   
>> http://pastebin.com/HqVSR3BD
>>
>> useful info...
>>
>> Target: x86_64-redhat-linux
>> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
>> --infodir=/usr/share/info --enable-shared --enable-threads=posix
>> --enable-checking=release --with-system-zlib --enable-__cxa_atexit
>> --disable-libunwind-exceptions --enable-libgcj-multifile
>> --enable-languages=c,c++,objc,obj-c++,java,fortran,ada
>> --enable-java-awt=gtk --disable-dssi --enable-plugin
>> --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
>> --with-cpu=generic --host=x86_64-redhat-linux
>> Thread model: posix
>> gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)
>>
>> packages I have installed to get this far...
>>
>> curl-devel.x86_64
>> fcgi.x86_64
>> gnutls-devel.x86_64
>> geos.x86_64
>> gdal.x86_64
>> yum-utils
>> proj-devel.x86_64
>> geos-devel.x86_64
>> fgci-devel
>> gdal-devel.x86_64
>> libxml2-devel.x86_64
>> unixODBC-devel
>> xerces-c-devel.x86_64
>> jasper-devel.x86_64
>> hdf-devel.x86_64
>> hdf5-devel.x86_64
>> ogdi-devel.x86_64
>> giflib-devel.x86_64
>> netcdf-devel.x86_64
>> cfitsio-devel.x86_64
>> postgresql-devel.x86_64
>> openldap-devel.x86_64
>> readline-devel.x86_64
>>
>> I googled for a while and didn't find anything specific to my error.
>>
>> Thanks!
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> mapserver-dev mailing list
>> mapserver-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>>     
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (OpenBSD)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkvL+acACgkQiP9Ks5BxbElz5gCeMDEBAHvBib3JJILwCzVWdd2R
> 2N8AoJe4NSKoYlIiT0DYoHJLCw5qDel1
> =lxIP
> -----END PGP SIGNATURE-----
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>   


-- 
Alan Boudreault
Mapgears
http://www.mapgears.com/ 



More information about the mapserver-dev mailing list