Bugzilla – Bug 13764
screen depends on libelf or elfutils, new generic dependency ELF ?
Last modified: 2008-09-15 12:43:15 UTC
This is a cros-spell bug report that takes some time to explain. First, I was happily running screen, while elfutils were installed. Then, I wanted to try out ltrace, which depends on libelf conflicting with elfutils. So I cast libelf and had cleanse verify that everything was ok. The next day I started screen: screen: error while loading shared libraries: libelf.so.0: cannot open shared object file: No such file or directory I recompiled screen and everything was fine again. To track down the dependencies, I changed the dependency of ltrace to elfutils, and ltrace compiled and worked as far as I could see. I was unable to recompile elfutils, so I resurrected it (Bug #13763). My suggestion is to have ltrace and screen use a generic dependency on say ELF with elfutils and libelf as providers for ELF.
This now applies to stable grimoire (0.22).
The provider LIBELF was introduced by sobukus in test-0.25 on 2008-08-21. Screen itself doesn't depend on libelf, it's a bug in its configure script to link against it. I have fixed that in test-0.25 with commit 2199fa06c076327cdae58d7bd8b836d2b6a35f2c.
Closed with release of stable 0.25.