[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#462087: clisp-dev: Includes unnecessary library references

tags 462087 + help

Hi J?rg!

On Tue, 22 Jan 2008 14:01:43 +0100, J?rg Sommer wrote:
> clisp-link includes the option -lSM and -lICE in a linking call, but
> dpkg-shlibdeps complains that the binary uses no symbols from this
> libraries. I tried to remove both options in
> /usr/lib/clisp-2.43/full/makevars and everything goes fine.

Actually, the Debian package doesn't directly depend on libICE [1] nor
libSM [2], but it depends on libXt [3] instead, which pulls libSM and so
libICE, too.

The libXt dependency was added to solve bug #342552 [4], but as I
explained at [5], xmkmf seems not to be used anymore on the Debian CLISP

On my sid-amd64, I built CLISP without depending on libXt and it seems
to work fine, even when using the CLX module with StumpWM [6], i.e. a CL
program which interfaces with X.

However, while the resulting "non-libxt"-compiled /usr/bin/clisp doesn't
show any difference WRT the shared libraries it depends on when checked
with ldd, the "non-libxt"-compiled /usr/lib/clisp-2.44.1/full/lisp.run
indeed doesn't depend anymore on libICE and libSM.

Note that ldd shows no shared libXt dependency, in both cases, i.e. when
compiled with or without libXt.

I'd say it's safe to remove the libXt dependency, but since I'm not yet
a CLISP nor an X11 expert, I'd wait for some advice.

> Please, remove these flags from LIBS in makevars or make it possible to
> exclude them at runtime.

Removing the libXt dependency will remove these flags from LIBS in
makevars as well.  However, if CLISP must depend on libXt, in that case
your request will be an upstream wishlist ;-)

Thx, bye,
Gismo / Luca

[1] http://packages.debian.org/libice-dev
[2] http://packages.debian.org/libsm-dev
[3] http://packages.debian.org/libxt-dev
[4] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=342552
[5] http://lists.alioth.debian.org/pipermail/pkg-common-lisp-devel/2008-June/000737.html
[6] http://www.nongnu.org/stumpwm/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 314 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-common-lisp-devel/attachments/20080715/99516c42/attachment.pgp 

Reply to: