nixpkgs/pkgs
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
..
applications kontemplate: 1.5.0 -> 1.6.0 (#41766) 2018-06-10 00:03:02 +02:00
build-support autoPatchelfHook: Patch PIC exes/libs as well 2018-06-08 00:27:31 +02:00
common-updater
data unifont: 10.0.06 -> 11.0.01 2018-06-06 23:19:45 +02:00
desktops mate.mate-desktop: 1.20.1 -> 1.20.3 (#41548) 2018-06-09 23:44:55 +02:00
development pythonPackages.pylibmc: fix runtime dependency on libsasl2.so, by way of cyrus_sasl 2018-06-09 17:35:12 -05:00
games springLobby: 0.255 -> 0.264 (#41508) 2018-06-09 23:37:07 +02:00
misc i3lock-pixeled: github -> gitlab 2018-06-08 18:16:20 +02:00
os-specific sysstat: 11.7.3 -> 11.7.4 (#41510) 2018-06-09 23:29:41 +02:00
servers matomo: 3.5.0 -> 3.5.1 (#41540) 2018-06-09 23:32:31 +02:00
shells antibody: 3.4.6 -> 3.5.0 (#41746) 2018-06-10 00:14:54 +02:00
stdenv Merge pull request #40933 from obsidiansystems/linux-to-darwin 2018-05-23 11:37:43 -04:00
test tests.cc-wrapper: do not test sanitizers on darwin 2018-06-06 08:01:13 +00:00
tools fanficfare: 2.25.0 -> 2.26.0 (#41569) 2018-06-09 23:35:06 +02:00
top-level Merge pull request #41768 from flokli/iproute2mac 2018-06-09 23:17:35 +02:00