Automake and standard shared libraries

automake, shared-libraries

Solution

Automake does not know how to build a shared library because there is no portable way to do so. If you want a shared library with Automake, you have to use Automake+Libtool. Note that you can easily configure libtool not to build any static library (with `LT_INIT([disable-static])` in your `configure.ac`) by default.

Problem

How can I force automake to create a standard shared library, instead of a libtoolized one? Normally, I'd create the `abc.so` which is referenced with a full path and loaded into the main program. Is there a way to force AM to do the same? If I list it as _LIBRARY, automake complains: `'abc.so' is not a standard library name; did you mean 'libabc.a'` Just to clarify: Yes, I only need `.so` support - no statics. And yes, I want a custom file name.

Original source