Packaging/Quirks and Caveats: Difference between revisions

imported>Mic92
No edit summary
imported>Mic92
No edit summary
Line 49: Line 49:
* [https://github.com/NixOS/nixpkgs/pull/24617/files networkmanagerapplet]
* [https://github.com/NixOS/nixpkgs/pull/24617/files networkmanagerapplet]


=== ImportError: libstdc++.so.6: cannot open shared object file: No such file ===


For packaged python libs: <code>ImportError: libstdc++.so.6: cannot open shared object file: No such file</code>
This can happen when importing python libraries:  
 
Solution: add <code>${stdenv.cc.cc.lib}/lib/libstdc++.so.6</code> to the <code>LD_LIBRARY_PATH</code>.
Solution: According to the IRC, add <code>${stdenv.cc.cc.lib}/lib/libstdc++.so.6</code> to the search path.