[Nix-dev] Trying to install the SailfishOS SDK
Christoph-Simon Senjak
christoph.senjak at googlemail.com
Thu Jan 19 21:13:55 CET 2017
Hi.
I am trying to write a package for the SailfishOS SDK. It can be
downloaded from [1]. As this seems to be a graphical installer, I first
want to run it manually (before trying to package it), so I ran a
nix-shell in the following way:
nix-shell --pure -p glibc -p freetype -p xorg.libXrender -p glib -p
pkgconfig -p patchelf -p xorg.libX11 -p xorg.libXi -p xorg.libSM -p
xorg.libICE -p fontconfig -p mesa -p gcc5
Furthermore, I ran several patchelf commands:
patchelf --replace-needed libgobject-2.0.so.0
/nix/store/8n9yqcp590d005mp9xmsn4fkkn8nbb0b-glib-2.48.2/lib/libgobject-2.0.so.0
SailfishOSSDK-Beta-1611-Qt5-linux-64-offline.run
patchelf --replace-needed libX11-xcb.so.1
/nix/store/04d88aazadyi6pr9ssyr16jr9bv90iiv-libX11-1.6.4/lib/libX11-xcb.so.1
SailfishOSSDK-Beta-1611-Qt5-linux-64-offline.run
patchelf --replace-needed libXi.so.6
/nix/store/kjas1jj6hmkj8bwm86xds9xnhb4b9w6m-libXi-1.7.7/lib/libXi.so.6
SailfishOSSDK-Beta-1611-Qt5-linux-64-offline.run
patchelf --replace-needed libSM.so.6
/nix/store/0ki1zd5icc1wxh8r0a3a8c2i12fvl8l2-libSM-1.2.2/lib/libSM.so.6
SailfishOSSDK-Beta-1611-Qt5-linux-64-offline.run
patchelf --replace-needed libICE.so.6
/nix/store/8jzhn006vyp6vd2ksa1dnsdzbjxlb0bd-libICE-1.0.9/lib/libICE.so.6
SailfishOSSDK-Beta-1611-Qt5-linux-64-offline.run
patchelf --replace-needed libxcb.so.1
/nix/store/iscdrla2wi6rvla9ndpxsy86qdzscyma-libxcb-1.12/lib/libxcb.so.1
SailfishOSSDK-Beta-1611-Qt5-linux-64-offline.run
patchelf --replace-needed libfontconfig.so.1
/nix/store/nwaqrp0327cfcjwj1ms9cnpnkvccl9fl-fontconfig-2.11.1-lib/lib/libfontconfig.so.1
SailfishOSSDK-Beta-1611-Qt5-linux-64-offline.run
patchelf --replace-needed libfreetype.so.6
/nix/store/blgfqhxdwh6mm2g7n663n7s9qcv1m40b-freetype-2.6.5/lib/libfreetype.so.6
SailfishOSSDK-Beta-1611-Qt5-linux-64-offline.run
patchelf --replace-needed libXrender.so.1
/nix/store/cb9bwxsssd6dymmy095prc8sgpcaqjlb-libXrender-0.9.10/lib/libXrender.so.1
SailfishOSSDK-Beta-1611-Qt5-linux-64-offline.run
patchelf --replace-needed libX11.so.6
/nix/store/04d88aazadyi6pr9ssyr16jr9bv90iiv-libX11-1.6.4/lib/libX11.so.6
SailfishOSSDK-Beta-1611-Qt5-linux-64-offline.run
patchelf --replace-needed libglib-2.0.so.0
/nix/store/8n9yqcp590d005mp9xmsn4fkkn8nbb0b-glib-2.48.2/lib/libglib-2.0.so.0
SailfishOSSDK-Beta-1611-Qt5-linux-64-offline.run
patchelf --replace-needed libGL.so.1
/nix/store/fw5mpi91cqnjcp3f6skj2jgj1bwr5zkv-mesa-noglu-12.0.5/lib/libGL.so.1
SailfishOSSDK-Beta-1611-Qt5-linux-64-offline.run
Finally, after running
patchelf --replace-needed libstdc++.so.6
/nix/store/fqx37fwx5g0c4m6zv9wb6d8cfblrrvi6-gcc-5.4.0-lib/lib/libstdc++.so.6
SailfishOSSDK-Beta-1611-Qt5-linux-64-offline.run
I get the error message
Inconsistency detected by ld.so: dl-version.c: 224:
_dl_check_map_versions: Assertion `needed != NULL' failed!
Any ideas what I could do about that?
(I am using the stable branch of nixos)
Best Regards,
Christoph-Simon Senjak
[1]:http://releases.sailfishos.org/sdk/installers/1611/SailfishOSSDK-Beta-1611-Qt5-linux-64-offline.run
More information about the nix-dev
mailing list