forked from CESNET/ipfixcol2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Core: replace RTLD_DEEPBIND (dlopen flag) with a new plugin flag
Using RTLD_DEEPBIND flag when loading plugin helps to solve issue with some 3rd party libraries (e.g. librdkafka) if the library redefines a common symbol. However, using this dlopen flag globally for all plugins caused segfault when using C++ iostream (e.g. "std::cout << "some text";) Plugins can use IPX_PF_DEEPBIND flag in ipx_plugin_info to instruct the collector to use RTLD_DEEPBIND when loading the plugin.
- Loading branch information
Showing
4 changed files
with
65 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters