Code

Added workaround for the "dlopen()-issue" of the perl plugin.
authorSebastian Harl <sh@tokkee.org>
Tue, 5 Feb 2008 21:48:19 +0000 (22:48 +0100)
committerSebastian Harl <sh@tokkee.org>
Tue, 5 Feb 2008 21:48:19 +0000 (22:48 +0100)
commit88ca5b1c5be3b191ed95df803dffe055dd6525b4
tree49262e58185f0bb6a1ce47c439329c1ff9150691
parenta33d627e60d065ae6a4d73f6a9a29c89836a0493
Added workaround for the "dlopen()-issue" of the perl plugin.

There is no way to tell lt_dlopen() to use the RTLD_GLOBAL flag which is
however required by the perl plugin (which would otherwise be unable to find
symbols defined in libperl when loading perl modules that require such
symbols).

This can be worked around by using -DLT_LAZY_OR_NOW='RTLD_LAZY|RTLD_GLOBAL'
when compiling collectd. This is rather a hack but the best solution I can
currently think of.
debian/rules