Package: libcfitsio3
Version: 3.040-4
Severity: normal
Tags: patch

Hi!

libcfitsio3 is not linked against libm which makes kdeedu fail when one
builds with LDFLAGS="-Wl,--as-needed".
Latest dpkg confirms this:
dh_shlibdeps -plibcfitsio3
dpkg-shlibdeps: warning: symbol tanh used by 
debian/libcfitsio3/usr/lib/libcfitsio.so.3.040 found in none of the libraries.
dpkg-shlibdeps: warning: symbol ceil used by 
debian/libcfitsio3/usr/lib/libcfitsio.so.3.040 found in none of the libraries.
dpkg-shlibdeps: warning: symbol sinh used by 
debian/libcfitsio3/usr/lib/libcfitsio.so.3.040 found in none of the libraries.
dpkg-shlibdeps: warning: symbol exp used by 
debian/libcfitsio3/usr/lib/libcfitsio.so.3.040 found in none of the libraries.
dpkg-shlibdeps: warning: symbol atan2 used by 
debian/libcfitsio3/usr/lib/libcfitsio.so.3.040 found in none of the libraries.
dpkg-shlibdeps: warning: symbol atan used by 
debian/libcfitsio3/usr/lib/libcfitsio.so.3.040 found in none of the libraries.
dpkg-shlibdeps: warning: symbol asin used by 
debian/libcfitsio3/usr/lib/libcfitsio.so.3.040 found in none of the libraries.
dpkg-shlibdeps: warning: symbol log10 used by 
debian/libcfitsio3/usr/lib/libcfitsio.so.3.040 found in none of the libraries.
dpkg-shlibdeps: warning: symbol log used by 
debian/libcfitsio3/usr/lib/libcfitsio.so.3.040 found in none of the libraries.
dpkg-shlibdeps: warning: symbol pow used by 
debian/libcfitsio3/usr/lib/libcfitsio.so.3.040 found in none of the libraries.
dpkg-shlibdeps: warning: 7 other similar warnings have been skipped (use -v to 
see them all).

Simply adding -lm when calling gcc fixes the issue:

gcc -shared -D_REENTRANT \
-Wl,-soname,libcfitsio.so.$(major) \
-o libcfitsio.so.$(version) `echo *.o` -lm

Greetings,
Armin


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.23-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to