Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.rc > #393119 > unrolled thread
| Started by | Tianon Gravi <tianon@debian.org> |
|---|---|
| First post | 2025-06-19 01:00 +0200 |
| Last post | 2025-07-02 22:30 +0200 |
| Articles | 5 — 3 participants |
Back to article view | Back to linux.debian.bugs.rc
Bug#1108010: mc: error while loading shared libraries: libcom_err.so.2: cannot open shared object file Tianon Gravi <tianon@debian.org> - 2025-06-19 01:00 +0200
Bug#1108010: mc: error while loading shared libraries: libcom_err.so.2: cannot open shared object file Thorsten Glaser <tg@mirbsd.de> - 2025-06-19 21:30 +0200
Processed: Re: Bug#1108010: mc: error while loading shared libraries: libcom_err.so.2: cannot open shared object file "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-06-19 21:50 +0200
Bug#1108010: mc: error while loading shared libraries: libcom_err.so.2: cannot open shared object file Thorsten Glaser <tg@mirbsd.de> - 2025-06-19 22:20 +0200
Bug#1108010: marked as done (mc: error while loading shared libraries: libcom_err.so.2: cannot open shared object file) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-07-02 22:30 +0200
| From | Tianon Gravi <tianon@debian.org> |
|---|---|
| Date | 2025-06-19 01:00 +0200 |
| Subject | Bug#1108010: mc: error while loading shared libraries: libcom_err.so.2: cannot open shared object file |
| Message-ID | <KZ9V7-bwWh-3@gated-at.bofh.it> |
Package: mc
Version: 3:4.8.33-1
Severity: serious
X-Debbugs-Cc: Curtis@GreenKey.net, tianon@debian.org
After a fresh install of mc, attempting to run it results in a missing
library error:
| $ mc
| mc: error while loading shared libraries: libcom_err.so.2: cannot open shared object file: No such file or directory
| $ ldd /usr/bin/mc | grep 'not found'
| libcom_err.so.2 => not found
After manually installing libcom-err2, all is well (as expected).
I believe this is due to
https://salsa.debian.org/debian/mc/-/commit/a07d7f8ae7daa4abbb22f90333c880ed391e1aef,
but I'm not 100% sure -- an easy fix would be adding libcom-err2 to
Depends, but perhaps more is necessary (I defer to maintainer's
discretion).
-- System Information:
Debian Release: 13.0
APT prefers testing-security
APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-35-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
Versions of packages mc depends on:
ii libc6 2.41-8
ii libext2fs2t64 1.47.2-1+b1
ii libglib2.0-0t64 2.84.2-1
ii libgpm2 1.20.7-11+b2
ii libslang2 2.3.3-5+b2
ii libssh2-1t64 1.11.1-1
ii mc-data 3:4.8.33-1
Versions of packages mc recommends:
ii mailcap 3.74
ii perl 5.40.1-3
ii sensible-utils 0.0.25
ii unzip 6.0-29
Versions of packages mc suggests:
pn antiword <none>
pn arc | arcanist <none>
pn arj <none>
pn binutils <none>
ii bzip2 1.0.8-6
pn cabextract <none>
pn catdoc <none>
pn clzip | lunzip | lzd | lzip | lziprecover | minilzip | pdlzip | p <none>
lzip
pn cpio <none>
pn ctorrent <none>
pn dbview <none>
pn default-jdk-headless <none>
pn djview4 <none>
pn djvulibre-bin <none>
pn elinks <none>
pn epub-utils | ncbi-entrez-direct <none>
pn exif <none>
ii file 1:5.46-5
pn genisoimage <none>
pn gettext <none>
pn ghostscript <none>
pn glade <none>
pn gputils <none>
pn groff-base <none>
pn gv <none>
pn imagemagick <none>
pn info <none>
pn jlha-utils | lhasa <none>
pn kchmviewer <none>
pn libaspell-dev <none>
pn libbatik-java <none>
pn libchm-bin <none>
pn liblz4-tool <none>
pn libxml2-utils <none>
pn links | w3m | lynx <none>
pn links2 <none>
pn lyx <none>
pn man-db <none>
pn mikmod <none>
pn mpg321 <none>
pn mplayer <none>
pn odt2txt | unoconv <none>
pn p7zip-full <none>
pn par2 <none>
pn poedit | potool <none>
pn poppler-utils <none>
pn procyon-decompiler <none>
ii python3 3.13.3-1
pn python3-boto <none>
pn python3-tz <none>
pn rar <none>
pn rpm <none>
pn sox <none>
pn sqlite3 <none>
pn texlive-binaries <none>
pn timidity <none>
pn unace | unace-nonfree <none>
pn unalz <none>
pn unar <none>
pn unrar | unrar-free <none>
pn vorbis-tools <none>
pn wimtools <none>
pn wv <none>
pn xpdf | pdf-viewer <none>
pn xpmutils <none>
ii xz-utils 5.8.1-1
pn zip <none>
pn zstd <none>
-- no debconf information
[toc] | [next] | [standalone]
| From | Thorsten Glaser <tg@mirbsd.de> |
|---|---|
| Date | 2025-06-19 21:30 +0200 |
| Message-ID | <KZt7r-bJ9t-1@gated-at.bofh.it> |
| In reply to | #393119 |
Package: mc
Version: 3:4.8.33-1
Followup-For: Bug #1108010
X-Debbugs-Cc: tg@mirbsd.de, tytso@mit.edu
The bug is still present and recompiling mc will also not fix it.
The commit mentioned in the first post isn’t responsible: -Wl,--as-needed
is no longer needed since at least bookworm but IIRC even bullseye as it
became the toolchain default. My guess is more that mc links libext2something
which links libcom_err, and that something in dependency generation goes
wrong, see the build log:
[…]
dh_shlibdeps
dpkg-shlibdeps: warning: diversions involved - output may be incorrect
diversion by libext2fs2t64 from: /lib/x86_64-linux-gnu/libext2fs.so.2
dpkg-shlibdeps: warning: diversions involved - output may be incorrect
diversion by libext2fs2t64 to: /lib/x86_64-linux-gnu/libext2fs.so.2.usr-is-merged
dpkg-shlibdeps: warning: diversions involved - output may be incorrect
diversion by libext2fs2t64 from: /lib/x86_64-linux-gnu/libe2p.so.2
dpkg-shlibdeps: warning: diversions involved - output may be incorrect
diversion by libext2fs2t64 to: /lib/x86_64-linux-gnu/libe2p.so.2.usr-is-merged
[…]
Cc’ing tytso to chime in as needed.
-- System Information:
Debian Release: 13.0
APT prefers testing-security
APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.31-amd64 (SMP w/2 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages mc depends on:
ii libc6 2.41-8
ii libext2fs2t64 1.47.2-1+b1
ii libglib2.0-0t64 2.84.2-1
ii libgpm2 1.20.7-11+b2
ii libslang2 2.3.3-5+b2
ii libssh2-1t64 1.11.1-1
ii mc-data 3:4.8.33-1
Versions of packages mc recommends:
pn mailcap <none>
ii perl 5.40.1-3
ii sensible-utils 0.0.25
ii unzip 6.0-29
Versions of packages mc suggests:
pn antiword <none>
pn arc | arcanist <none>
pn arj <none>
ii binutils 2.44-3
ii bzip2 1.0.8-6
pn cabextract <none>
pn catdoc <none>
pn clzip | lunzip | lzd | lzip | lziprecover | minilzip | pd <none>
lzip | plzip
ii cpio 2.15+dfsg-2
pn ctorrent <none>
pn dbview <none>
pn default-jdk-headless <none>
pn djview4 <none>
pn djvulibre-bin <none>
pn elinks <none>
pn epub-utils | ncbi-entrez-direct <none>
pn exif <none>
ii file 1:5.46-5
pn genisoimage <none>
ii gettext 0.23.1-2
ii ghostscript 10.05.1~dfsg-1
pn glade <none>
pn gputils <none>
ii groff-base 1.23.0-9
pn gv <none>
pn imagemagick <none>
ii info 7.1.1-1+b1
pn jlha-utils | lhasa <none>
pn kchmviewer <none>
pn libaspell-dev <none>
pn libbatik-java <none>
pn libchm-bin <none>
pn liblz4-tool <none>
pn libxml2-utils <none>
pn links2 <none>
ii lynx 2.9.2-1
pn lyx <none>
ii man-db 2.13.1-1
pn mikmod <none>
pn mpg321 <none>
ii mplayer 2:1.5+svn38674-2
ii mupdf [pdf-viewer] 1.25.1+ds1-6
pn odt2txt | unoconv <none>
ii okular [pdf-viewer] 4:25.04.2-1
pn p7zip-full <none>
pn par2 <none>
pn poedit | potool <none>
pn poppler-utils <none>
pn procyon-decompiler <none>
ii python3 3.13.3-1
pn python3-boto <none>
pn python3-tz <none>
pn rar <none>
pn rpm <none>
pn sox <none>
pn sqlite3 <none>
pn texlive-binaries <none>
pn timidity <none>
pn unace | unace-nonfree <none>
pn unalz <none>
pn unar <none>
pn unrar | unrar-free <none>
pn vorbis-tools <none>
pn wimtools <none>
pn wv <none>
pn xpmutils <none>
ii xz-utils 5.8.1-1
ii zip 3.0-15
ii zstd 1.5.7+dfsg-1
-- no debconf information
[toc] | [prev] | [next] | [standalone]
| From | "Debian Bug Tracking System" <owner@bugs.debian.org> |
|---|---|
| Date | 2025-06-19 21:50 +0200 |
| Subject | Processed: Re: Bug#1108010: mc: error while loading shared libraries: libcom_err.so.2: cannot open shared object file |
| Message-ID | <KZtqO-bJg4-5@gated-at.bofh.it> |
| In reply to | #393119 |
Processing control commands: > reassign -1 src:e2fsprogs 1.44.5-1+deb10u3 Bug #1108010 [mc] mc: error while loading shared libraries: libcom_err.so.2: cannot open shared object file Bug reassigned from package 'mc' to 'src:e2fsprogs'. No longer marked as found in versions mc/3:4.8.33-1. Ignoring request to alter fixed versions of bug #1108010 to the same values previously set Bug #1108010 [src:e2fsprogs] mc: error while loading shared libraries: libcom_err.so.2: cannot open shared object file Marked as found in versions e2fsprogs/1.44.5-1+deb10u3. > affects -1 mc Bug #1108010 [src:e2fsprogs] mc: error while loading shared libraries: libcom_err.so.2: cannot open shared object file Added indication that 1108010 affects mc > tag -1 + patch Bug #1108010 [src:e2fsprogs] mc: error while loading shared libraries: libcom_err.so.2: cannot open shared object file Added tag(s) patch. -- 1108010: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1108010 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
[toc] | [prev] | [next] | [standalone]
| From | Thorsten Glaser <tg@mirbsd.de> |
|---|---|
| Date | 2025-06-19 22:20 +0200 |
| Message-ID | <KZtTP-bJGg-1@gated-at.bofh.it> |
| In reply to | #393119 |
On Thu, 19 Jun 2025, Jochen Sprickerhof wrote: > The bug can be reproduced even in oldoldstable: […] > The problem is[…] Thanks for the analysis and preparing a fix for the maintainer! bye, //mirabilos -- 15:41⎜<Lo-lan-do:#fusionforge> Somebody write a testsuite for helloworld :-)
[toc] | [prev] | [next] | [standalone]
| From | "Debian Bug Tracking System" <owner@bugs.debian.org> |
|---|---|
| Date | 2025-07-02 22:30 +0200 |
| Subject | Bug#1108010: marked as done (mc: error while loading shared libraries: libcom_err.so.2: cannot open shared object file) |
| Message-ID | <L4cfD-eN64-3@gated-at.bofh.it> |
| In reply to | #393119 |
[Multipart message — attachments visible in raw view] — view raw
Your message dated Wed, 02 Jul 2025 20:23:50 +0000 with message-id <E1uX3zi-00F8ne-6Q@fasolo.debian.org> and subject line Bug#1108010: fixed in e2fsprogs 1.47.3~rc3-1 has caused the Debian Bug report #1108010, regarding mc: error while loading shared libraries: libcom_err.so.2: cannot open shared object file to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 1108010: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1108010 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.bugs.rc
csiph-web