[postgis-users] PostGIS 2 RPM

Bborie Park bkpark at ucdavis.edu
Fri Oct 19 14:29:18 PDT 2012


It's not.  That would once again be from GDAL's dependency on MySQL.

-bborie

On 10/19/2012 02:26 PM, Jeff Lake wrote:
> the Makefile from r10484 gets rid of the original error
> can I build postGIS without-mysql ??
> 
> didn't even know mysql was an option
> cause now I get ...
> 
> /usr/bin/ld: cannot find -lmysqlclient
> collect2: ld returned 1 exit status
> make[2]: *** [raster2pgsql] Error 1
> make[2]: Leaving directory `/postgis-2.0.1/raster/loader'
> make[1]: *** [rtloader] Error 2
> make[1]: Leaving directory `/postgis-2.0.1/raster'
> make: *** [all] Error 1
> 
> 
> 
> 
> 
> *Jeff Lake*
> MichiganWxSystem <http://www.michiganwxsystem.com>
> AllisonHouse <http://www.allisonhouse.com>
> GRLevelXStuff <http://www.grlevelxstuff.com>
> On 10/19/2012 14:57, Bborie Park wrote:
>> So, GDAL was built using the prior PostgreSQL (8.4 series).  I wonder
>> what happens if you call "gdalinfo" without any arguments.  Usually,
>> there will be error messages about missing libraries if what GDAL was
>> built against is missing.  If you're not getting any error messages,
>> just use the changed Makefile.in from r10484
>>
>> -bborie
>>
>> On 10/19/2012 11:54 AM, Jeff Lake wrote:
>>> I was just going to ask if I should rebuild GDAL
>>> GDAL was built before 9.1.6 was ...
>>>
>>>
>>>
>>> *Jeff Lake*
>>> MichiganWxSystem <http://www.michiganwxsystem.com>
>>> AllisonHouse <http://www.allisonhouse.com>
>>> GRLevelXStuff <http://www.grlevelxstuff.com>
>>> On 10/19/2012 14:48, Bborie Park wrote:
>>>> Was GDAL built against that 9.1.6 RPM?  I've committed some changes for
>>>> 2.0 branch in r10484 so feel free to use that.  That'll ame sure the
>>>> linking goes correctly.
>>>>
>>>> I was expecting that your output of gdal-config --dep-libs would
>>>> include
>>>> a -L to the your libpq since your libpq is in /usr/pgsql-9.1/lib/
>>>>
>>>> -bborie
>>>>
>>>> On 10/19/2012 11:44 AM, Jeff Lake wrote:
>>>>> GDAL was built from source (1.9.1)
>>>>>
>>>>> PostgreSQL (-contrib|-server|-devel|-libs) were built from RPM's
>>>>> (9.1.6)
>>>>>
>>>>>
>>>>> *Jeff Lake*
>>>>> MichiganWxSystem <http://www.michiganwxsystem.com>
>>>>> AllisonHouse <http://www.allisonhouse.com>
>>>>> GRLevelXStuff <http://www.grlevelxstuff.com>
>>>>> On 10/19/2012 14:36, Bborie Park wrote:
>>>>>> Are the versions of GDAL and PostgreSQL from packages or ones you
>>>>>> built?
>>>>>>
>>>>>> Thanks for providing all the feedback... I'm trying to see what the
>>>>>> best
>>>>>> way to fix this is.
>>>>>>
>>>>>> -bborie
>>>>>>
>>>>>> On 10/19/2012 11:31 AM, Jeff Lake wrote:
>>>>>>> [root at ldm /]# gdal-config --dep-libs
>>>>>>> -L/usr/lib64 -lgeos_c -lsqlite3 -lexpat -lgif -ljpeg -lpng
>>>>>>> -L/usr/lib64
>>>>>>> -lpq -lz -lpthread -lm -lrt -ldl -L/usr/kerberos/lib64 -lcurl -ldl
>>>>>>> -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lidn -lssl -lcrypto -lz
>>>>>>> -L/usr/lib64/mysql -lmysqlclient -lpthread -lm -lrt -lssl -lcrypto
>>>>>>> -ldl
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> *Jeff Lake*
>>>>>>> MichiganWxSystem <http://www.michiganwxsystem.com>
>>>>>>> AllisonHouse <http://www.allisonhouse.com>
>>>>>>> GRLevelXStuff <http://www.grlevelxstuff.com>
>>>>>>> On 10/19/2012 14:23, Bborie Park wrote:
>>>>>>>> gdal-config --dep-libs
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> postgis-users mailing list
>>>>>>> postgis-users at postgis.refractions.net
>>>>>>> http://postgis.refractions.net/mailman/listinfo/postgis-users
>>>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> postgis-users mailing list
>>>>> postgis-users at postgis.refractions.net
>>>>> http://postgis.refractions.net/mailman/listinfo/postgis-users
>>>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> postgis-users mailing list
>>> postgis-users at postgis.refractions.net
>>> http://postgis.refractions.net/mailman/listinfo/postgis-users
>>>
> 
> 
> 
> 
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
> 

-- 
Bborie Park
Programmer
Center for Vectorborne Diseases
UC Davis
530-752-8380
bkpark at ucdavis.edu



More information about the postgis-users mailing list