Received: (at submit) by bugs.debian.org; 2 Jun 1997 06:23:50 +0000 Received: (qmail 15926 invoked from network); 2 Jun 1997 06:23:49 -0000 Received: from penguin.wi.leidenuniv.nl (HELO penguin) (0@132.229.128.117) by master.debian.org with SMTP; 2 Jun 1997 06:23:49 -0000 Received: by penguin id m0wYDbe-001FUgC (Debian Smail-3.2 1996-Jul-4 #2); Sun, 1 Jun 1997 18:35:46 +0200 (CEST) Message-ID: <19970601183546.22820@penguin.wi.leidenuniv.nl> Date: Sun, 1 Jun 1997 18:35:46 +0200 From: "J.H.M. Dassen" <jdassen@wi.LeidenUniv.nl> To: submit@bugs.debian.org Subject: slang0.99.34: problems for use in "unstable" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.74 Organization: SEIS group, CS dept., Leiden University X-System: Debian GNU/Linux 1.3, kernel 2.0.30 Package: slang0.99.34 Version: 0.99.38-2 Hi Chris. The S-Lang library is dynamically linked to libc's math library: [0] penguin ray 18:09 ~> ldd /usr/lib/libslang.so.0.99.38 libm.so.5 => /lib/libm.so.5 (0x4004e000) While this is desirable (it reduces memory usage), it prevents its use with libc6. Take the test program used by mutt-0.74's configure to see if S-Lang works: --- begin --- int main() { init_SLang (); ; return 0; } --- end --- Trying to compile this results in problems: $ gcc blub.c -lslang /lib/libm.so.5: undefined reference to `__getfpucw' $ nm --print-file-name --defined-only --dynamic /lib/lib*so* | grep '__getfpuc> /lib/libc.so.5:000696ec T __getfpucw /lib/libc.so.5.4.23:000696ec T __getfpucw The best solution for this would be to provide a version of S-Lang linked against libc6 for unstable; if this is not yet an option for you, a temporary solution is not to link S-Lang dynamically against libm: --- slang-0.99.38.old/src/Makefile.in Sun Jun 1 16:25:41 1997 +++ slang-0.99.38/src/Makefile.in Sun Jun 1 15:35:34 1997 @@ -10,7 +10,7 @@ #--------------------------------------------------------------------------- ELF_CC = gcc ELF_CFLAGS = -O2 -fno-strength-reduce -fPIC -ELF_LINK = gcc -shared -Wl,-lm,-t,-soname# +ELF_LINK = gcc -shared -Wl,/usr/lib/libm.a,-t,-soname# #--------------------------------------------------------------------------- # Set these values to ABSOLUTE path names #--------------------------------------------------------------------------- [0] See H.J. Lu's paper "ELF - from the programmer's perspective". -- System Information Debian Release: 1.3 Kernel Version: Linux penguin.wi.leidenuniv.nl 2.0.30 #9 Sat Apr 12 16:41:04 CEST 1997 i586 unknown Versions of the packages slang0.99.34 depends on: libc5 Version: 5.4.23-4 Greetings, -- Ray Dassen <jdassen@wi.LeidenUniv.nl>