MantisBT - Doomseeker
View Issue Details
0003301Doomseeker[All Projects] Bugpublic2017-10-12 06:442018-10-27 22:53
WubTheCaptain 
 
normalblocksometimes
closedunable to reproduce 
x86_64Debian GNU/Linuxbuster/sid
1.1 
1.21.2 
0003301: libwadseeker shared library dependency is not handled properly at runtime in Doomseeker after "sudo make install"
Doomseeker has a shared library dependency to libwadseeker, which requires activating the ldconfig trigger. This needs to be done (but isn't yet done) to update the dynamic linker cache to find libwadseeker.so.

Failure to activate the ldconfig trigger means Doomseeker (from /usr/local prefix?) may fail to execute to missing libwadseeker.so shared library dependency post-install. This does not affect build-path executables (which still have RPATH for a good reason, but will be cleaned post-install from any RPATHs).

Lintian error: package-must-activate-ldconfig-trigger (Severity: serious, Certainty: certain)
Found in COMPILE.txt of the source repository root:

Linux compilation instructions:

mkdir build
cd build
cmake ..
make
sudo make install


"sudo ldconfig" is a missing step as a workaround.

If activating ldconfig for testing this, rename or remove libwadseeker.so from LIBDIR and run ldconfig again to get a cache without libwadseeker to avoid "well, it works for me now".

  • https://www.debian.org/doc/debian-policy/#ldconfig

  • https://lintian.debian.org/tags/package-must-activate-ldconfig-trigger.html

No tags attached.
related to 0003232closed Blzut3 Doomseeker installs architecture-dependent engine libraries to arch-independent directory (multi-arch support) 
child of 0003246acknowledged  Debian packaging 
Issue History
2017-10-12 06:44WubTheCaptainNew Issue
2017-10-12 06:45WubTheCaptainRelationship addedrelated to 0003232
2017-10-12 06:45WubTheCaptainRelationship addedchild of 0003246
2017-10-12 06:48WubTheCaptainNote Added: 0018543
2017-10-12 06:48WubTheCaptainStatusnew => confirmed
2017-10-12 06:49WubTheCaptainCategorySuggestion => Bug
2018-10-05 07:29WubTheCaptainNote Added: 0019915
2018-10-05 07:29WubTheCaptainSeveritycrash => block
2018-10-05 07:29WubTheCaptainStatusconfirmed => needs testing
2018-10-05 07:29WubTheCaptainTarget Version => 1.2
2018-10-08 11:09WubTheCaptainNote Added: 0020011
2018-10-08 11:09WubTheCaptainStatusneeds testing => resolved
2018-10-08 11:09WubTheCaptainFixed in Version => 1.2
2018-10-08 11:09WubTheCaptainResolutionopen => unable to reproduce
2018-10-08 11:09WubTheCaptainAssigned To => WubTheCaptain
2018-10-08 11:11WubTheCaptainNote Added: 0020012
2018-10-08 11:13WubTheCaptainAssigned ToWubTheCaptain =>
2018-10-27 22:53WubTheCaptainStatusresolved => closed

Notes
(0018543)
WubTheCaptain   
2017-10-12 06:48   
Initially discussed in 0003232 notes. Child of 0003246 because of Lintian error affecting Debian packaging.

What is the correct resolution here? We could naively add the requirement to trigger ldconfig to COMPILE.txt instructions and force myself to activate ldconfig in Debian's trigger files in the package.

Perhaps a bigger problem is trying to understand why the library is not automatically discovered already (dh_makeshlibs).
(0019915)
WubTheCaptain   
2018-10-05 07:29   
I'm not sure what changed, but please test this with Doomseeker 1.2. Last time I tried, I didn't have this issue.
(0020011)
WubTheCaptain   
2018-10-08 11:09   
Tested again with a .deb package, but I had it installed to /usr/bin. Maybe this is not a big concern after all, or it was fixed sometime in 1.2.

Processing triggers for libc-bin (2.27-6) ...
(0020012)
WubTheCaptain   
2018-10-08 11:11   
Another theory: OP's issue was due to faulty Debian packaging, caused by a split between Doomseeker and Wadseeker packages. The tests I did with one .deb had both Doomseeker and Wadseeker included.

Reopening is always a possibility.