libtool
[Top][All Lists]
Advanced

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

shared library version info query


From: Adam Mercer
Subject: shared library version info query
Date: Thu, 7 May 2009 23:09:23 -0500

Hi

I am in the process if rewriting the build system for a project I've
been working on and am noticing strange behaviour with the shared
library version info, I have the following in my projects configure.ac
for setting the shared library version info:

# set library api info
AC_SUBST([LIBAPI], [1])
AC_SUBST([LIBREL], [0])
AC_SUBST([LIBAGE], [0])
AC_SUBST([LIBVERSION], [${LIBAPI}:${LIBREL}:${LIBAGE}])

and then the following in the Makefile.am for the library source directory

include_HEADERS = FrameL.h FrFilter.h FrIO.h FrVect.h
lib_LTLIBRARIES = libFrame.la
libFrame_la_SOURCES = FrameL.c FrIO.c FrFilter.c
libFrame_la_LIBADD = zlib/libzlib.la
libFrame_la_CFLAGS = $(FR_LONG_LONG_FLAG)
libFrame_la_LDFLAGS = -version-info $(LIBVERSION)

yet when the library is built, the following libraries are linked:

-rwxr-xr-x  1 ram  staff   392552  7 May 22:55 libFrame.1.dylib
-rw-r--r--  1 ram  staff  1048136  7 May 22:55 libFrame.a
lrwxr-xr-x  1 ram  staff       16  7 May 22:55 libFrame.dylib ->
libFrame.1.dylib
-rwxr-xr-x  1 ram  staff      926  7 May 22:55 libFrame.la

If I understanding the versioning correctly, shouldn't there also be a
libFrame.1.0.0.dylib? Is there anything I'm missing, or not
understanding?

I'm using libtool-2.2.6a, automake-1.10.2, and autoconf-2.63.

Cheers

Adam




reply via email to

[Prev in Thread] Current Thread [Next in Thread]