[Top][All Lists]

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

[Pan-devel] Unnecessary dependencies generated when building RPMs

From: Torstein Sunde
Subject: [Pan-devel] Unnecessary dependencies generated when building RPMs
Date: Mon, 24 Mar 2003 21:10:05 +0100

I have noticed that Pan RPMs with spellchecking always seem to contain
some dependencies to libraries that aren't used by Pan itself, only by
gtkspell and aspell/pspell.  These dependencies are also taken care of
by gtkspell, but gtkspell may be compiled against other versions of
those libraries when the Pan RPM is used on a different computer.

This applies to all the RPMs I've checked, for Mandrake (by John LeMay
and myself) and RedHat.

When compiled on Mandrake 9.0, using the old aspell/pspell, the
libraries are:

When compiled on Mandrake 9.1RC2, using the new aspell, they are

On Mandrake 8.2, I get a different libstdc++ dependency

A different gtkspell library, compiled on the specific Mandrake
release, was used in each case.

When installing the 9.0 RPM with --nodeps on 9.1RC2, where I haven't
installed the old libpspell libraries, Pan exits with the message
  "pan: error while loading shared libraries: cannot
   open shared object file: No such file or directory"
But if I create a symlink "" to *any* library, e.g., Pan works fine, including spellchecking.  So Pan
isn't actually using the library, even though Pan wants to load it.
I don't need a symlink for

Similarly, the 9.0 RPM works fine on Mandrake 8.2 when I haven't got  In this case gtkspell is using a different C++ library,
which of course is present.

So I wonder, is there any way to prevent Pan from insisting on loading (or and preventing this and the other
unnecessary dependencies?  I've tried commenting out the aspell and
gtkspell-related Requires/Buildrequires in the specfile, to no avail.

Could the problem be some option in Pan's build scripts?  I didn't find
any references to aspell or pspell when grepping the Pan source code. 
Or is this a problem with gtkspell or one the tools used for building

Solving this would make it much easier to use the same RPM on several
versions of a distro, or across distros.

This is a duplicate of a posting I sent many hours ago.  Sorry if it
appears twice.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]