severity 463381 normal tags 462381 moreinfo thanks On 31 January 2008 at 10:16, David Paleino wrote: | Package: libgsl0-dev | Version: 1.10-4 | Severity: grave | Justification: renders package unusable | | Hi, | I'm packaging odin <http://od1n.sourceforge.net> for the Debian-Med group, and | I've encountered some problems with libgsl0. Here is what ./configure (in odin) | gives: | | ... | checking for main in -lgslcblas... yes | checking for gsl_multifit_fdfsolver_iterate in -lgsl... no | checking gsl/gsl_multifit_nlin.h usability... yes | checking gsl/gsl_multifit_nlin.h presence... yes | checking for gsl/gsl_multifit_nlin.h... yes | configure: error: Please install the GNU Scientific Library (There is probably | a precompiled package for your UNIX/Linux distribution, otherwise see | http://www.gnu.org/software/gsl) | make: *** [config.status] Error 1 | dpkg-buildpackage: failure: debian/rules build gave error exit status 2 | pbuilder: Failed autobuilding of package | ... | $ | | This is weird, since libgsl0-dev has been installed (and, in fact, the | configure script finds the needed files). Here's what some "debug" commands | show: | | $ objdump -t /usr/lib/libgsl.so.0.10.0 | | /usr/lib/libgsl.so.0.10.0: file format elf32-i386 | | SYMBOL TABLE: | no symbols | | | $ nm /usr/lib/libgsl.so.0.10.0 | nm: /usr/lib/libgsl.so.0.10.0: no symbols | $ | | | Would you please fix this, or, if I'm going in the wrong direction, lower the | severity of the bug and give me a pointer?
Hm, could it be that the configure file of your package is simply wrong and overreacts? AFAIK all Debian libraries are stripped, so your objdump and nm test would yield the same for the zlib, png, jpeg, ... what-have-you libraries too. Here is a really old, really small test I have locally: [EMAIL PROTECTED]:~/src/progs/C> cat test_gsl_rng.c /* minimal gsl program from the info pages */ #include <stdio.h> #include <gsl/gsl_rng.h> gsl_rng * r ; /* global generator */ int main () { gsl_rng_env_setup() ; r = gsl_rng_alloc (gsl_rng_default); printf("generator type: %s\n", gsl_rng_name (r)); printf("seed = %u\n", gsl_rng_default_seed); printf("first value = %u\n", gsl_rng_get (r)) ; } /* * Local variables: * compile-command: "gcc -W test_gsl_rng.c -o test_gsl_rng -lgslblasnative -lgsl -lm" * End: */ [EMAIL PROTECTED]:~/src/progs/C> gcc -W test_gsl_rng.c -o test_gsl_rng -lgslcblas -lgsl -lm [EMAIL PROTECTED]:~/src/progs/C> ./test_gsl_rng generator type: mt19937 seed = 0 first value = 4293858116 [EMAIL PROTECTED]:~/src/progs/C> ldd test_gsl_rng libgslcblas.so.0 => /usr/lib/libgslcblas.so.0 (0xb7ee8000) libgsl.so.0 => /usr/lib/libgsl.so.0 (0xb7d18000) libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7cf2000) libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7ba5000) /lib/ld-linux.so.2 (0xb7f32000) [EMAIL PROTECTED]:~/src/progs/C> COLUMNS=80 dpkg -l | grep gsl ii gsl-bin 1.10-4 GNU Scientific Library (GSL) -- binary packa ii libgsl0-dev 1.10-4 GNU Scientific Library (GSL) -- development ii libgsl0ldbl 1.10-4 GNU Scientific Library (GSL) -- library pack [EMAIL PROTECTED]:~/src/progs/C> Builds fine agains libgsl*. Plus, the gsl-bin examples also run. So looks like your configure is too harsh and gsl is fine. Can we close this? Regards, Dirk | | Thank you, | David Paleino | | -- | . ''`. Debian maintainer | http://wiki.debian.org/DavidPaleino | : :' : Linuxer #334216 --|-- http://www.hanskalabs.net/ | `. `'` GPG: 1392B174 ----|---- http://snipr.com/qa_page | `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174 | | -- Three out of two people have difficulties with fractions. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]