[Nix-dev] Re: Availability of `libgcc_s.so'

Ludovic Courtès ludo at gnu.org
Tue Dec 9 15:47:43 CET 2008


Hi!

ludo at gnu.org (Ludovic Courtès) writes:

> Several applications exhibit the following problem:
>
>   $ xine foo-bar.mp3 
>   This is xine (X11 gui) - a free video player v0.99.5.
>   (c) 2000-2007 The xine Team.
>   libgcc_s.so.1 must be installed for pthread_cancel to work
>   Aborted
>
> The problem can be reproduced with Xine by seeking into an audio or
> video stream.
>
> The workaround is to make `libgcc_s.so' available in the loader's search
> path:
>
>   $ LD_LIBRARY_PATH="$HOME/.nix-profile/lib:$LD_LIBRARY_PATH" \
>        xine foo-bar.mp3
>
> Any idea how we could fix it cleanly?

One possibility would be to add the directory of `libgcc_s.so' in the
RPATH of `libpthread.so', e.g., in the `postInstall' of glibc, which
should do the job.

Eelco: could you try that in `stdenv-updates' to see whether it actually
works?

Thanks,
Ludo'.




More information about the nix-dev mailing list