about summary refs log tree commit diff
path: root/nixos/modules/services/mail/postfix.nix
diff options
context:
space:
mode:
authorNiklas Hambüchen <mail@nh2.me>2017-09-08 04:19:59 +0200
committerNiklas Hambüchen <mail@nh2.me>2017-09-08 04:29:20 +0200
commitabc96aae47d5651f0f1d0b5da7bfcf163a3e7c9f (patch)
tree76c93bad46b3862db8c1175e998195ad417b149d /nixos/modules/services/mail/postfix.nix
parente7325f82a32cea8d7e6cfafff9e61e4468fd19dc (diff)
downloadnixlib-abc96aae47d5651f0f1d0b5da7bfcf163a3e7c9f.tar
nixlib-abc96aae47d5651f0f1d0b5da7bfcf163a3e7c9f.tar.gz
nixlib-abc96aae47d5651f0f1d0b5da7bfcf163a3e7c9f.tar.bz2
nixlib-abc96aae47d5651f0f1d0b5da7bfcf163a3e7c9f.tar.lz
nixlib-abc96aae47d5651f0f1d0b5da7bfcf163a3e7c9f.tar.xz
nixlib-abc96aae47d5651f0f1d0b5da7bfcf163a3e7c9f.tar.zst
nixlib-abc96aae47d5651f0f1d0b5da7bfcf163a3e7c9f.zip
glusterfs: Fix glusterfind's crawlers dlopen() error.
This fixes:

  Traceback (most recent call last):
    File "/nix/store/7f9arl3f9xyj8sm05mkanh2mlp217192-glusterfs-3.10.2/libexec/glusterfs/glusterfind/changelog.py", line 22, in <module>
      import libgfchangelog
    File "/nix/store/7f9arl3f9xyj8sm05mkanh2mlp217192-glusterfs-3.10.2/libexec/glusterfs/glusterfind/libgfchangelog.py", line 21, in <module>
      libgfc = CDLL("libgfchangelog.so", use_errno=True, mode=RTLD_GLOBAL)
    File "/nix/store/nlyr5ankhi7yvva8zndi718zj37js270-python-2.7.13-env/lib/python2.7/ctypes/__init__.py", line 362, in __init__
      self._handle = _dlopen(self._name, mode)
  OSError: libgfchangelog.so: cannot open shared object file: No such file or directory
  Connection to 10.0.0.2 closed.

when running `glusterfind pre`.

Done by setting PYTHONPATH/LD_LIBRARY_PATH as for the other
Python scripts.
Diffstat (limited to 'nixos/modules/services/mail/postfix.nix')
0 files changed, 0 insertions, 0 deletions