[ELGIS] Re: [SpatiaLite-Users] RFC: Renaming libspatialite.so, version 3, to libspatialite3.so

Peter Hopfgartner peter.hopfgartner at r3-gis.com
Thu Dec 15 05:06:01 EST 2011


On 12/15/2011 08:44 AM, Mathieu Baudier wrote:
> I would rather have only Spatialite v3, since to my knowledge there was
> never an (officially) stable release of v2.4 anyhow.
>
> I don't think we should in general maintain many versions of the
> libraries, this will be a headache.
>
Makes sense. Once that 3.0.0 is out we could it use a s a base for ELGIS.
> This is easier for higher level software like MapServer, although it
> also requires some work to maintain both v5 and v6
> (are that many people using MapServer v5 on EL6?)
>

> Moreover, we will soon have PostGIS 2 where the same question will
> arise...
>
I would not fear this one. PostGIS is not a library in a wider sense, 
and since version 1.5, multiple versions can be installed. They achieved 
this, including the version into the library base name (it's 
/usr/lib64/pgsql/postgis-1.5.so in my system).
> Cheers,
>
> Mathieu
>
Peter
> On Thu, 2011-12-15 at 08:38 +0100, Peter Hopfgartner wrote:
>> Hi Sandro,
>>
>> fiddling in the Makefile.am worked. What I wanted to achieve, was to
>> change the library name from libspatialitwe to libspatialite3. This
>> allows me to make rpm for both, version 2.4 and 3 and install them both.
>> Still, I'm not convinced, then this approach makes a lot of sense, since
>> any package, which would target spatialite, version 3, would need to
>> look for libspatialite3 and not libspatialite.
>>
>> Peter
>>
>> On 12/14/2011 10:01 AM, a.furieri at lqt.it wrote:
>>> On Wed, 14 Dec 2011 08:44:35 +0100, Peter Hopfgartner wrote
>>>> Does anybody know if I can change the name of the so file
>>>> through configure. Or do I have to patch the package?
>>>>
>>> Hi Peter,
>>>
>>> the current so name is fully supported by configure.
>>> open this file:
>>> -/src/Makefile.am
>>>
>>> and then find the following line:
>>> libspatialite_la_LDFLAGS = -version-info 4:0:0
>>>
>>> please note: after changing this value you have to
>>> rebuild the configure scripts from scatch in order
>>> to really apply the new value.
>>> I usually adopt the following sequence:
>>>
>>> # make distclean
>>> # aclocal
>>> # libtoolize
>>> # autoconf
>>> # automake --add-missing -foreign
>>> # ./configure
>>> # make
>>>
>>> let me know any further advancement about this topic
>>>
>>> bye Sandro
>>>
>>
>


-- 
Dott. Peter Hopfgartner
R3 GIS Srl - GmbH
Via Johann Kravogl-Str. 2
I-39012 Meran/Merano (BZ)
web  : www.r3-gis.com
mail : peter.hopfgartner at r3-gis.com
phone: +39 0473 494949
fax  : +39 0473 069902

ATTENZIONE! Le informazioni contenute nella presente e-mail e nei documenti eventualmente allegati sono confidenziali. La loro diffusione, distribuzione e/o riproduzione da parte di terzi, senza autorizzazione del mittente è vietata e può violare il D. Lgs. 196/2003. In caso di ricezione per errore, Vogliate immediatamente informare il mittente del messaggio e distruggere la e-mail.
ACHTUNG! Die in dieser Nachricht oder in den beigelegten Dokumenten beinhalteten Informationen sind streng vertraulich. Ihre Verbreitung und/oder ihre Wiedergabe durch Dritte ist ohne Erlaubnis des Absenders verboten und verstößt gegen das Legislativdekret 196/2003. Sollten Sie diese Mitteilung irrtümlicherweise erhalten haben, bitten wir Sie uns umgehend zu informieren und anschließend die Mitteilung zu vernichten.
WARNING! This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden and could be against the law (D. Lgs. 196/2003)



More information about the el mailing list