nixpkgs-suyu/pkgs/development
Austin Seipp 350f49734b pythonPackages.pylibmc: fix runtime dependency on libsasl2.so, by way of cyrus_sasl
Without explicitly specifying that libsasl2 is part of the build, and
without explicitly making it part of pylibmc's linker flags for its
CPython extension, the cpython code enters a build state error where it
instead attempts to blindly `dlopen("libsasl2.so")` out of
$LD_LIBRARY_PATH; this fails as it can't be found in the store,
obviously.

The bigger problem with this is that it otherwise makes pylibmc
unusable, as it will try to immediately load libsasl2 at startup. This
means even using 'import pylibmc' at all will cause a failure.

Instead, add cyrus_sasl into the build closure of the library, and pass
an argument to the setup.py script to properly pass -lsasl2 to the C
extension. This causes a link to properly be formed.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-06-09 17:35:12 -05:00
..
arduino
beam-modules
bower-modules/generic
compilers Merge pull request #41626 from karolchmist/dotty-bump-0.8.0 2018-06-09 08:32:38 +01:00
coq-modules coqPackages.contribs.aac-tactics: enable for Coq 8.7 and 8.8 (#41351) 2018-06-01 19:31:02 +02:00
dotnet-modules/patches
em-modules/generic
go-modules
guile-modules
haskell-modules haskellPackages.hnix: dont jailbreak 2018-06-08 23:27:31 +02:00
idris-modules
interpreters joker: 0.9.2 -> 0.9.3 (#41577) 2018-06-06 22:13:00 +02:00
java-modules
libraries ipopt: 3.12.9 -> 3.12.10 (#41555) 2018-06-09 23:33:17 +02:00
lisp-modules lispPackages: drop pgloader that leads to a circular depedency 2018-05-30 23:42:33 +02:00
lua-modules
misc
mobile androidndk: remove set -x 2018-06-07 17:04:08 -04:00
node-packages nodePackages_8_x: Add nodejs (npm) to wrapper 2018-06-06 15:54:24 +08:00
ocaml-modules Merge pull request #41591 from vbgl/opaline 2018-06-09 01:34:02 +02:00
perl-modules perlPackages.DBDSQLite: 1.55_07 -> 1.58 (please ignore it) 2018-06-08 21:54:37 +00:00
pharo
pure-modules
python-modules pythonPackages.pylibmc: fix runtime dependency on libsasl2.so, by way of cyrus_sasl 2018-06-09 17:35:12 -05:00
r-modules rPackages.mgcv: fix darwin build 2018-06-07 00:00:42 +02:00
ruby-modules solargraph: 0.21.1 -> 0.22.0 (#41743) 2018-06-09 12:52:40 +01:00
tools jenkins: 2.89.4 -> 2.107.3 (#41618) 2018-06-09 01:34:35 +02:00
web woff2: supports darwin 2018-05-31 12:34:15 -04:00