[postgis-devel] Can't build postgis-2.0.0SVN raster on ubuntu

Christopher DeMars chdemars at ucdavis.edu
Tue Dec 13 18:24:04 PST 2011


I changed raster/loader/Makefile to look like this:

LDFLAGS = \
        $(RTCORE_LDFLAGS) \
        $(LIBLWGEOM_LDFLAGS) \
        $(LIBGDAL_LDFLAGS) \
        $(GEOS_LDFLAGS) \
        -lm

rather than have the -lm right below LDFLAGS.


--Christopher

On Tue, Dec 13, 2011 at 6:21 PM, Bborie Park <dustymugs at gmail.com> wrote:
> If you don't mind me asking, what changes did you make to get things
> working?  I'm going to add passing in user-defined LDFLAGS but I
> noticed that the makefile already had -lm.
>
> -bborie
>
> On Tue, Dec 13, 2011 at 5:52 PM, Christopher DeMars
> <chdemars at ucdavis.edu> wrote:
>> That did the trick. Thanks, I have been beating my head against that
>> for a while.
>>
>> Oh, and for the record, it Ubuntu 11.10.
>>
>> --Christopher
>>
>> On Tue, Dec 13, 2011 at 5:30 PM, dustymugs <dustymugs at gmail.com> wrote:
>>> Try looking at raster/loader/Makefile at the LDFLAGS declaration.  See if
>>> moving the -lm to the bottom of that declaration helps.
>>>
>>>
>>> -bborie
>>> _______________________________________________
>>> postgis-devel mailing list
>>> postgis-devel at postgis.refractions.net
>>> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>> _______________________________________________
>> postgis-devel mailing list
>> postgis-devel at postgis.refractions.net
>> http://postgis.refractions.net/mailman/listinfo/postgis-devel
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel



More information about the postgis-devel mailing list