[22947] trunk/dports/devel/readline/Portfile

Vincent Lefevre vincent-opdarw at vinc17.org
Thu Mar 22 03:09:43 PDT 2007


On 2007-03-20 17:19:31 +0100, Elias Pipping wrote:
> some output from otool:
> 
>     /opt/local/lib/libreadline.5.2.dylib (compatibility version 5.0.0, 
> current version 5.2.0)
> 
> doesn't this mean 5.2 and 5.0 are compatible?

No, this doesn't mean anything. Interface versions are different from
the software versions. For instance, otool says for neon:

        /opt/local/lib/libneon.26.dylib (compatibility version 27.0.0, current version 27.3.0)

while the library files are:

  /opt/local/lib/libneon.26.0.3.dylib
  /opt/local/lib/libneon.26.dylib -> libneon.26.0.3.dylib
  /opt/local/lib/libneon.a
  /opt/local/lib/libneon.dylib -> libneon.26.0.3.dylib
  /opt/local/lib/libneon.la

Here you can see that there are no relations between interface
versions (27.0.0, 27.3.0) and the library version (0.26.3). And
software linked with /opt/local/lib/libneon.26.dylib (such as
svn) will continue to work when neon is upgraded if the interface
is compatible: /opt/local/lib/libneon.26.dylib will point to a
new file, but that's not a problem.

The problem with readline is somewhere else. It should be fixed
so that software is linked to /opt/local/lib/libreadline.5.dylib
instead of /opt/local/lib/libreadline.5.*.dylib.

-- 
Vincent Lefèvre <vincent at vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)



More information about the macports-dev mailing list