Subject: bug#31961: java-libsnappy and java-libsnappy-1 have test failures (java.lang.UnsatisfiedLinkError)

From: Björn Höfling <[email-masked]>
Date: Mon, 25 Jun 2018 12:16:52 +0200

On Mon, 25 Jun 2018 12:11:18 +0200
Ricardo Wurmus <[email-masked]> wrote:

> Björn Höfling <[email-masked]> writes:
> 
> > java.lang.UnsatisfiedLinkError: /tmp/snappy-unknown-libsnappyjava.so: /gnu/store/4ixlfq2baw24ihqx3058vcbq5sq9q5y3-gcc-4.9.4-lib/lib/libstdc++.so.6:
> > version `GLIBCXX_3.4.21' not found (required
> > by /gnu/store/4amdzkqix0grksrgw3h5wcv2azvz6pkd-snappy-1.1.7/lib/libsnappy.so.1)
> > org.xerial.snappy.SnappyError:
> > java.lang.UnsatisfiedLinkError: /tmp/snappy-unknown-libsnappyjava.so: /gnu/store/4ixlfq2baw24ihqx3058vcbq5sq9q5y3-gcc-4.9.4-lib/lib/libstdc++.so.6:
> > version `GLIBCXX_3.4.21' not found (required
> > by /gnu/store/4amdzkqix0grksrgw3h5wcv2azvz6pkd-snappy-1.1.7/lib/libsnappy.so.1)  
> 
> Where does that old GCC come from?
> 

I understand too few of the C/linking system to answer that. I rebuilt
snappy, greped through the sources and the build log, the guix gc
--references, and found nothing. That's it for me. Anyone else?

Björn