Re: how to account for dependence on standard lib (-lm) ?

2010-03-28 Thread Angel Abad
Hi, 2010/3/28 Wuttke, Joachim j.wut...@fz-juelich.de: Running dpkg-buildpackage, I get one last warning: dpkg-shlibdeps: warning: symbol sqrt used by debian/liblmmin3/usr/lib/liblmmin.so.3.0.2 found in none of the libraries. Obviously, users will have to use -llmmin along with -lm.

RE: how to account for dependence on standard lib (-lm) ?

2010-03-28 Thread Wuttke, Joachim
libc dependency is added by shlibs:Depends cat debian/liblmmin3.substvars shlibs:Depends=libc6 (= 2.4) misc:Depends= these lines were already present (with version requirement =2.1.3, but I don't think that matters here) so, some other modification seems necessary to get rid of the warning

Re: how to account for dependence on standard lib (-lm) ?

2010-03-28 Thread Angel Abad
Hi, 2010/3/28 Wuttke, Joachim j.wut...@fz-juelich.de: libc dependency is added by shlibs:Depends cat debian/liblmmin3.substvars shlibs:Depends=libc6 (= 2.4) misc:Depends= these lines were already present (with version requirement =2.1.3, but I don't think that matters here) so, some

Re: how to account for dependence on standard lib (-lm) ?

2010-03-28 Thread Russ Allbery
Wuttke, Joachim j.wut...@fz-juelich.de writes: Running dpkg-buildpackage, I get one last warning: dpkg-shlibdeps: warning: symbol sqrt used by debian/liblmmin3/usr/lib/liblmmin.so.3.0.2 found in none of the libraries. You should link liblmmin with -lm. This could even cause your package to

Re: how to account for dependence on standard lib (-lm) ?

2010-03-28 Thread Pau Garcia i Quiles
Hello, IMO yes, you should explicitly link to libm. Not only that but you should also contact upstream and report this as a bug. Many libraries (and some applications, too) forget to explicitly link to the mathematical library, the threads library, etc because they come for free with GNU libc.