[3dprinter-general] Bug#780991: Bug#780991: slic3r: Slic3r does not start: dependency version mismatch

Chow Loong Jin hyperair at gmail.com
Mon Mar 23 03:52:57 UTC 2015


reassign 780991 libstdc++6
title 780991 Broken shlibs/symbols for libstdc++6
kthxbye

On Sun, Mar 22, 2015 at 10:36:48PM +0100, Elena Grandi wrote:
> Package: slic3r
> Version: 1.2.6+dfsg-1
> Severity: grave
> Justification: renders package unusable
> 
> I've installed slic3r from experimental on a mostly testing system, and
> it does not start because it requires threads.pm >= 1.96, while perl
> 5.20.2 only provides version 1.93

That's not the problem. It'll work with threads.pm 1.93. This is just a warning.

The real problem is here:
> Can't load '/usr/lib/x86_64-linux-gnu/perl5/5.20/auto/Slic3r/XS/XS.so' for
> module Slic3r::XS: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
> `GLIBCXX_3.4.21' not found (required by
> /usr/lib/x86_64-linux-gnu/perl5/5.20/auto/Slic3r/XS/XS.so) at
> /usr/share/perl/5.20/XSLoader.pm line 68.

It's trying to look for the GLIBCXX_3.4.21 symbol from your libstdc++.so.6
library, but is failing to find this. This means that the libstdc++.so.6 that
Slic3r was compiled against is newer than the one you have.

> ii  libstdc++6                             4.9.2-10

I checked out this version of libstdc++6 (nm -D
/usr/lib/x86_64-linux-gnu/libstdc++.so.6) , and sure enough, the GLIBCXX_3.4.21
symbol is missing. Slic3r's dependency list only suggests that it needs >= 4.9,
which is wrong. It needs >= 5.

For the time being, it should work if you just install the libstdc++6 package
from experimental.

Since native library dependencies are generated automatically during the build
process, libstdc++6's symbols file needs to be fixed first, and then slic3r
rebuilt against the new one.

-- 
Kind regards,
Loong Jin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/3dprinter-general/attachments/20150323/3282990f/attachment.sig>


More information about the 3dprinter-general mailing list