[mapserver-users] can't compile TinyOWS

Jeff McKenna jmckenna at gatewaygeomatics.com
Tue Jul 22 07:55:14 PDT 2014


Maybe flex was installed in /usr/local/lib/ and ld is not looking for it
there??? Not sure.

-jeff




On 2014-07-22, 11:28 AM, Richard Greenwood wrote:
> I just tried on Fedora20 and get more or less the same error:
> 
> /usr/bin/ld: cannot find -lfl
> collect2: error: ld returned 1 exit status
> make: *** [all] Error 1
> 
> 
> 
> 
> On Tue, Jul 22, 2014 at 7:33 AM, Richard Greenwood
> <richard.greenwood at gmail.com <mailto:richard.greenwood at gmail.com>> wrote:
> 
>     I'm not smart enough to fix the compile error that I'm getting
>     below. Any ideas?
> 
>     $ make
>     gcc -o tinyows src/fe/fe_comparison_ops.c src/fe/fe_error.c
>     src/fe/fe_filter.c src/fe/fe_filter_capabilities.c
>     src/fe/fe_function.c src/fe/fe_logical_ops.c src/fe/fe_spatial_ops.c
>     src/mapfile/mapfile.c src/ows/ows_bbox.c src/ows/ows.c
>     src/ows/ows_config.c src/ows/ows_error.c src/ows/ows_geobbox.c
>     src/ows/ows_get_capabilities.c src/ows/ows_layer.c
>     src/ows/ows_metadata.c src/ows/ows_psql.c src/ows/ows_request.c
>     src/ows/ows_srs.c src/ows/ows_storage.c src/ows/ows_version.c
>     src/struct/alist.c src/struct/array.c src/struct/buffer.c
>     src/struct/cgi_request.c src/struct/list.c src/struct/mlist.c
>     src/struct/regexp.c src/wfs/wfs_describe.c src/wfs/wfs_error.c
>     src/wfs/wfs_get_capabilities.c src/wfs/wfs_get_feature.c
>     src/wfs/wfs_request.c src/wfs/wfs_transaction.c src/ows/ows_libxml.c
>     -I/usr/include/libxml2 -lxml2 -lz -lm -ldl -g -O2 -std=c99 -pedantic
>     -Wall -I/usr/pgsql-9.2/include -L/usr/pgsql-9.2/lib -lpq   -lfcgi  -lfl
>     /usr/bin/ld: cannot find -lfl
>     collect2: ld returned 1 exit status
>     make: *** [all] Error 1
> 
> 
>     Thanks,
>     Rich
> 
>     -- 
>     Richard W. Greenwood, PLS
>     www.greenwoodmap.com <http://www.greenwoodmap.com>
> 
> 




More information about the mapserver-users mailing list