Re: Conventions for library naming
On Thu, Feb 18, 1999 at 06:14:40PM +0100, Marco Kuhlmann wrote:
> It is easy to patch the script, but it would be better to know where the
> error is: should the gmp2-dev package provide a symlink named libgmp.so,
> or should the maintainers of the script change it to also look for
> libgmp2.so? I mean, they require v. 2 of the library, so why don't they
> look for libgmp2.so?
Upstream uses libgmp.so for the library name. For some reason, it seems
that it's desirable to have a development enviroment for gmp1 _and_ gmp2, so
the Debian maintainer renamed libgmp.so to libgmp2.so. This way you can
tell the compiler to look for either one, like this:
cc hello.c -lgmp2
cc hello.c -lgmp1
I guess there's a pretty good reason for all of this.
So, the answer is yes, you have to modify the makefiles and scripts.
Marcelo
Reply to: