Package: libhdf4-dev
Version: 4.2r4-6
Severity: minor

        Currently, linking against libmfhdf.so alone fails like:

$ gcc -o /dev/null ncattput.c -lmfhdf 
/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/libmfhdf.so: undefined 
reference to `DFKisnativeNT'
/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/libmfhdf.so: undefined 
reference to `DFdiput'
/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/libmfhdf.so: undefined 
reference to `Hinquire'
...
/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/libmfhdf.so: undefined 
reference to `Vattach'
/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/libmfhdf.so: undefined 
reference to `VSgetclass'
collect2: ld returned 1 exit status
$ 

        This is because libmfhdf.so lacks a dependency on libdf.so
        (e. g., -ldf was missing at this library's linking time):

$ ldd /usr/lib/libmfhdf.so 
        linux-vdso.so.1 =>  (0x00007fffe83fe000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00007f38dfd86000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00007f38dfb6f000)
        libgfortran.so.3 => /usr/lib/libgfortran.so.3 (0x00007f38df893000)
        libm.so.6 => /lib/libm.so.6 (0x00007f38df610000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f38df3f9000)
        libc.so.6 => /lib/libc.so.6 (0x00007f38df0a5000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f38e01ed000)
$ 

        May I suggest adding such a dependency?

-- 
FSF associate member #7257



_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel

Reply via email to