Project

General

Profile

Actions

Bug #1079

closed

BT 2.0 tries to load duplicate plugins in .so and .la formats

Added by Anonymous over 7 years ago. Updated about 4 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
12/12/2016
Due date:
% Done:

0%

Estimated time:

Description

If installing Babeltrace 2.0 via a `make install`, the plugins directory in /usr/local/lib/babeltrace/plugins will contain both .la and .so versions of the built-in plugins. When running Babeltrace with these plugins, it wil attempt to load both versions of each, and will complain about duplicate plugins:

[warning]: Duplicate component class registration attempted. Component class writer being registered by plugin writer (path: /usr/local/lib/babeltrace/plugins/libbabeltrace-plugin-ctf-writer.la)
conflicts with one already registered by plugin writer (path: /usr/local/lib/babeltrace/plugins/libbabeltrace-plugin-ctf-writer.so)

[warning]: Duplicate component class registration attempted. Component class fs being registered by plugin ctf (path: /usr/local/lib/babeltrace/plugins/libbabeltrace-plugin-ctf.so)
conflicts with one already registered by plugin ctf (path: /usr/local/lib/babeltrace/plugins/libbabeltrace-plugin-ctf.la)

[warning]: Duplicate component class registration attempted. Component class lttng-live being registered by plugin ctf (path: /usr/local/lib/babeltrace/plugins/libbabeltrace-plugin-ctf.so) 
conflicts with one already registered by plugin ctf (path: /usr/local/lib/babeltrace/plugins/libbabeltrace-plugin-ctf.la)

[warning]: Duplicate component class registration attempted. Component class text being registered by plugin text (path: /usr/local/lib/babeltrace/plugins/libbabeltrace-plugin-ctf-text.so) 
conflicts with one already registered by plugin text (path: /usr/local/lib/babeltrace/plugins/libbabeltrace-plugin-ctf-text.la)

[warning]: Duplicate component class registration attempted. Component class trimmer being registered by plugin utils (path: /usr/local/lib/babeltrace/plugins/libbabeltrace-plugin-trimmer.so)
conflicts with one already registered by plugin utils (path: /usr/local/lib/babeltrace/plugins/libbabeltrace-plugin-trimmer.la)

[warning]: Duplicate component class registration attempted. Component class muxer being registered by plugin muxer (path: /usr/local/lib/babeltrace/plugins/libbabeltrace-plugin-muxer.so) 
conflicts with one already registered by plugin muxer (path: /usr/local/lib/babeltrace/plugins/libbabeltrace-plugin-muxer.la)
Actions

Also available in: Atom PDF