[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
libtool does not create '.so' file-extension
From: |
Christian Nolte |
Subject: |
libtool does not create '.so' file-extension |
Date: |
Fri, 06 Jan 2006 08:09:00 +0100 |
User-agent: |
Mail/News 1.5 (X11/20051105) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I have a simple AM-based project here which shall output a single shared
library. The problem is, that the shared library _is_ created by libtool
but does not automatically get the .so file-extension. The Makefile.am
looks like this:
- ---
lib_LTLIBRARIES = gpgencryption.la
gpgencryption_la_SOURCES = gpgencryption.c
gpgencryption_la_LIBADD = -lgpgme -lgpg-error $(GLIB_LIBS) $(GTK_LIBS)
gpgencryption_la_LDFLAGS = -avoid-version -module
AM_CPPFLAGS = $(GLIB_CFLAGS) $(GTK_CFLAGS) \
-DDATADIR=\"$(datadir)\" \
-DVERSION=\"$(VERSION)\"
AM_CFLAGS = -Wall
- ---
After the successful compilation, the libtool-archive and co. are in the
subdir src/.libs, which looks like that:
- ---
address@hidden gpgencryption]$ ls src/.libs
gpgencryption gpgencryption.la gpgencryption.lai gpgencryption.o
- ---
As you can see, the file gpgencryption is missing the .so extension.
'file' tells me that this is indeed the shared-library, but why is it
that this file does not get an extension added? There must be something
missing in my Makefile.am.
One thing that I've tried was to use 'plugin_LTLIBRARIES' but that does
not work either (BTW: is there a recent documentation of automake which
mentions the plugin_-target?).
I would appreciate any help!
Best regards
- --
Christian Nolte
mailto:address@hidden or mailto:address@hidden
key : http://public.fh-wolfenbuettel.de/~noltec/christian-nolte.asc
or : www.keyserver.net
- ----------------------------------------------------------------------
The Information Revolution will be fought on the command line.
- ----------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFDvheMCNjA0nfhW7wRAuR/AKD8dnzBjfeHJL5Ohxa3MSKwpVtCPwCg2zyj
Lh0JJsUMAm4V3wcwcNq7OTQ=
=Wsd4
-----END PGP SIGNATURE-----
- libtool does not create '.so' file-extension,
Christian Nolte <=