Bug#427166: jed: compiled against S-Lang 20007 but linked to 20006

John E. Davis davis at space.mit.edu
Sun Jun 3 17:51:19 UTC 2007


On Sun, 3 Jun 2007 18:42:40 +0200, Jörg Sommer <joerg at alea.gnuu.de> said:
>> jed works properly, except it starts with the warning
>>=20
>> ***Warning: Executable compiled against S-Lang 20007 but linked to 20006
>
>Why did you add this check to main? Do you have any reason to recommend
>an update? Because it adds a sleep of two seconds I tend to remove it
>=66rom the Debian package. Do you think this causes any problems? I think
>such a reverts the advantage of shared libraries to upgrade the library
>without recompiling the program.

But that is not what the message indicates.  It says that it was
compiled against a newer version of the library (20007) but actually
using an older version (20006).  So something is wrong with the linker
configuration.

Also suppose that 20007 contains a bug fix that was not in 20006 and
that jed included a work-around if compiled against older versions of
the library:

   /* Some jed code */
   #if SLANG_VERSION < 20007
     /* work around a bug to avoid a SEGV */
        .
	.
   #else
     /* no need to work around the bug */
   #endif

As you can see, when compiled against 20007, the "bug-fixing" code
will not get included.  However, since the user is actually using
20006, the bug is present but the code to work-around it is not.

I hope this explains why I feel that the code should be left there.
Thanks,
--John




More information about the Pkg-jed-devel mailing list