[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [DebianGIS] Re: gdal



On 12/16/05, Petter Reinholdtsen <pere@hungry.com> wrote:
> [Steve Halasz]
> > I was confused. 1.9.0 is the libtool version. But the SONAME is
> > still libgdal.so.1. So I think everything is Ok. Would you like me
> > to build a new package without DEBIAN/ ?
>
> Based on previous experience with software libraries, I assume most
> authors of libraries have no clue what so ever about updating sonames
> when the API changes.  Because of this, I recommend you check if the
> API of the library changed between the versions instead of looking at
> the soname.  Unless, of course, you know that the gdal authors always
> update the soname when they change the interfaces in the library?

Folks,

I am pretty careful to update the soname properly to reflect
changes in the libgdal C API.  The C++ API is essentially
incompatible for every release, and I deliberately choose not
to indicate this in the soname.

In fact, the current C API is still backward compatible to around
the year 2000.  Of course there have been many additions to the
API, as indicated in the incremented minor number.

> I suggest comparing the installed header files for the two versions,
> and check if structs or function prototypes changed.

This sounds like alot of work to do accurately.   I wouldn't
advise it.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



Reply to: