[postgis-users] liblwgeom library namings in Postgis-2.2.0

Bandaru Muralikrishna bandaru.muralikrishna at enterprisedb.com
Thu Nov 26 04:05:11 PST 2015


On Wed, Nov 25, 2015 at 3:28 PM, Sandro Santilli <strk at keybit.net> wrote:
> On Wed, Nov 25, 2015 at 12:54:53PM +0530, Bandaru Muralikrishna wrote:
>> Hi,
>>
>> After building Postgis-2.2.0 sources, the generated libraries are
>> liblwgeom-2.2.so.2.2.0  and liblwgeom-2.2.2.dylib on Linux and OS X
>> resp. Are the names correct?
>>
>> The generated library names for Postgis-2.1.8 looked fine. i.e
>> liblwgeom-2.1.8.so on Linux and liblwgeom-2.1.8.dylib on OS X.
>>
>> Is this expected change for liblwgeom library naming conventions with
>> postgis-2.2.0 ?
>
> liblwgeom-2.2.so.2.2.0 is expected, not sure what happens on OS X.

Actually it should be either liblwgeom-2.2.dylib or liblwgeom-2.2.0.dylib
but not iblwgeom-2.2.2.dylib becuse here postgis version is 2.2.0 .
I have put set -x statement in the libtool and did make in liblwgeom to
generate debug statements on how libtool is generating version numbers.

I have pasted few relevant lines from the make log here. Do you understand
anything from that?
Since I do not understand much on how libtool works, could you please take
a look? If needed, I can share the whole make log.


*Postgis 2.1.8 O/P==============*
267151 + test -n ' /usr/local/lib'
267152 + case $host in
267153 + test yes = no
267154 + name_save=lwgeom
267155 + libname_save=liblwgeom
267156 + release_save=-2.1.8
267157 + versuffix_save=
267158 + major_save=
267159 + release=
267160 + versuffix=
267161 + major=
267162 + newdeplibs=
267163 + droppeddeps=no
267164 + case $deplibs_check_method in
267165 + newdeplibs=' -L/opt/local/Current/lib -L/opt/local/20140401/lib
/opt/local/20140401/lib/libgeos_c.dylib
/opt/local/20140401/lib/libgeos.dylib /opt/local/20140401/lib/libproj.dylib
-lm /opt/local/       20140401/lib/libjson-c.dylib'
267166 + versuffix=
267167 + major=
267168 + release=-2.1.8
267169 + libname=liblwgeom
267170 + name=lwgeom


*Postgis 2.2.0 O/P==============*
369296 + test -n ' /usr/local/lib'
369297 + case $host in
369298 + test yes = no
369299 + name_save=lwgeom
369300 + libname_save=liblwgeom
369301 + release_save=-2.2
369302 + versuffix_save=.2.2.0
369303 + major_save=.2
369304 + release=
369305 + versuffix=
369306 + major=
369307 + newdeplibs=
369308 + droppeddeps=no
369309 + case $deplibs_check_method in
369310 + newdeplibs=' -L/opt/local/Current/lib -L/opt/local/20150618/lib
/opt/local/20150618/lib/libgeos_c.dylib
/opt/local/20150618/lib/libgeos.dylib /opt/local/20150618/lib/libproj.dylib
-lpthread -lm /       opt/local/20150618/lib/libjson-c.dylib'
369311 + versuffix=.2.2.0
369312 + major=.2
369313 + release=-2.2
369314 + libname=liblwgeom
369315 + name=lwgeom






>
> --strk;
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/postgis-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20151126/0d02789e/attachment.html>


More information about the postgis-users mailing list