Open tmonguillon opened 7 years ago
Arvind, can you please confirm this has been fixed and if so please provide Thomas with the R3.2.3.x release number that has the fix.
Thanks
Megh
On Aug 30, 2017, at 8:00 AM, tmonguillon notifications@github.com<mailto:notifications@github.com> wrote:
Hi, I’m trying to install OpenContrail R3.2.3.x on Ubuntu 14.04.5 but the building process fails with the following messages :
[...] 2017-08-29 19:46:39 g++ -o build/production/analytics/vizd -Wl,--whole-archive -lbase -lcpuinfo -lprocess_info -lnodeinfo -l:librdkafka.a -l:librdkafka++.a -Wl,--no-whole-archive -g build/production/analytics/collector_uve_types.o build/production/analytics/collector_uve_constants.o build/production/analytics/collector_uve_html.o build/production/analytics/analytics_types.o build/production/analytics/analytics_constants.o build/production/analytics/analytics_html.o build/production/analytics/redis_types.o build/production/analytics/redis_constants.o build/production/analytics/redis_html.o build/production/analytics/uflow_types.o build/production/analytics/uflow_constants.o build/production/analytics/uflow_html.o build/production/analytics/sflow_types.o build/production/analytics/sflow_constants.o build/production/analytics/sflow_html.o build/production/analytics/viz_types.o build/production/analytics/viz_constants.o build/production/analytics/viz_html.o build/production/analytics/viz_collector.o build/production/analytics/ruleeng.o build/production/analytics/collector.o build/production/analytics/vizd_table_desc.o build/production/analytics/viz_message.o build/production/analytics/generator.o build/production/analytics/redis_connection.o build/production/analytics/redis_processor_vizd.o build/production/analytics/options.o build/production/analytics/stat_walker.o build/production/analytics/protobuf_collector.o build/production/analytics/protobuf_server.o build/production/analytics/sandesh_request.o build/production/analytics/sflow.o build/production/analytics/sflow_generator.o build/production/analytics/sflow_collector.o build/production/analytics/usrdef_counters.o build/production/analytics/sflow_parser.o build/production/analytics/ipfix_collector.o build/production/analytics/protobuf_schema.pb.o build/production/analytics/main.o build/production/analytics/buildinfo.o build/production/analytics/db_handler.o build/production/analytics/OpServerProxy.o build/production/analytics/syslog_collector.o build/production/analytics/parser_util.o -Lbuild/lib -Lbuild/production/sandesh -Lcontroller/src/sandesh -Lbuild/production/analytics/ruleparser -Lcontroller/src/analytics/ruleparser -Lbuild/production/discovery/client -Lcontroller/src/discovery/client -Lbuild/production/http/client -Lcontroller/src/http/client -Lbuild/production/xml -Lcontroller/src/xml -Lbuild/production/database -Lcontroller/src/database -Lbuild/production/base -Lcontroller/src/base -Lbuild/production/io -Lcontroller/src/io -Lbuild/production/net -Lcontroller/src/net -lcassandra_cql -lcassandra -lgendb -lboost_regex -lcpuinfo -lds -lio -lsandesh -lhttpc -lhttp -lvncapi -lhttp_parser -lcurl -lruleparser -lxml -lprocess_info -lnodeinfo -lbase -lio -lz -lnet -lipfix -lmisc -lsandeshvns -lpugixml -lhiredis -lprotobuf -lzookeeper_client -lzookeeper_mt -lssl -lcrypto -lboost_filesystem -lboost_program_options -lboost_system -llog4cplus -lpthread -ltbb -lboost_python -lpython2.7 -lrt 2017-08-29 19:46:39 /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/librdkafka.a(rddl.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5' 2017-08-29 19:46:39 scons: building terminated because of errors. 2017-08-29 19:46:39 //lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line 2017-08-29 19:46:39 collect2: error: ld returned 1 exit status 2017-08-29 19:46:39 scons: *** [build/production/analytics/vizd] Error 1 2017-08-29 19:46:40 exited with status :2 2017-08-29 19:46:40 ++ ret_val=2 2017-08-29 19:46:40 ++ [[ 2 -ne 0 ]] 2017-08-29 19:46:40 ++ exit 2 2017-08-29 19:46:40 ++ clean 2017-08-29 19:46:40 ++ local r=2 2017-08-29 19:46:40 ++ echo 'exited with status :2' 2017-08-29 19:46:40 ++ exit 2
It appears that is an issue with the librdkafka packages recently updated to the version 0.11.0. This new version of librdkafka uses libdl and the error message shows there is a missing symbol from this lib when trying linking the analytics component vidz with libkafka.
This issue can be related to the issue #144https://github.com/Juniper/contrail-installer/issues/144 and the contrail-controller. The contrail-controller/src/analytics/SConscript file must be modified to add ‘dl’ in the LIBS environment variable in order to fix this problem.
--- /opt/stack/contrail/controller/src/analytics/SConscript.orig 2017-08-30 14:42:13.728323999 +0000 +++ /opt/stack/contrail/controller/src/analytics/SConscript 2017-08-30 14:44:32.784323999 +0000 @@ -60,6 +60,8 @@ 'zookeeper_mt', 'ssl', 'crypto',
Regards, Thomas Monguillon
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/Juniper/contrail-installer/issues/153, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AFK6Txa8ZJ-3v-mvzzFdmi2ELkRvRtzoks5sdXkGgaJpZM4PHhhN.
Hi We are still using librdkafka 0.9.0-0contrail0 in our 14.04 build machines. We have not moved to 0.11.0 version yet. Thanks Arvind On Aug 30, 2017, at 8:00 AM, tmonguillon notifications@github.com<mailto:notifications@github.com> wrote:
Hi, I’m trying to install OpenContrail R3.2.3.x on Ubuntu 14.04.5 but the building process fails with the following messages :
[...] 2017-08-29 19:46:39 g++ -o build/production/analytics/vizd -Wl,--whole-archive -lbase -lcpuinfo -lprocess_info -lnodeinfo -l:librdkafka.a -l:librdkafka++.a -Wl,--no-whole-archive -g build/production/analytics/collector_uve_types.o build/production/analytics/collector_uve_constants.o build/production/analytics/collector_uve_html.o build/production/analytics/analytics_types.o build/production/analytics/analytics_constants.o build/production/analytics/analytics_html.o build/production/analytics/redis_types.o build/production/analytics/redis_constants.o build/production/analytics/redis_html.o build/production/analytics/uflow_types.o build/production/analytics/uflow_constants.o build/production/analytics/uflow_html.o build/production/analytics/sflow_types.o build/production/analytics/sflow_constants.o build/production/analytics/sflow_html.o build/production/analytics/viz_types.o build/production/analytics/viz_constants.o build/production/analytics/viz_html.o build/production/analytics/viz_collector.o build/production/analytics/ruleeng.o build/production/analytics/collector.o build/production/analytics/vizd_table_desc.o build/production/analytics/viz_message.o build/production/analytics/generator.o build/production/analytics/redis_connection.o build/production/analytics/redis_processor_vizd.o build/production/analytics/options.o build/production/analytics/stat_walker.o build/production/analytics/protobuf_collector.o build/production/analytics/protobuf_server.o build/production/analytics/sandesh_request.o build/production/analytics/sflow.o build/production/analytics/sflow_generator.o build/production/analytics/sflow_collector.o build/production/analytics/usrdef_counters.o build/production/analytics/sflow_parser.o build/production/analytics/ipfix_collector.o build/production/analytics/protobuf_schema.pb.o build/production/analytics/main.o build/production/analytics/buildinfo.o build/production/analytics/db_handler.o build/production/analytics/OpServerProxy.o build/production/analytics/syslog_collector.o build/production/analytics/parser_util.o -Lbuild/lib -Lbuild/production/sandesh -Lcontroller/src/sandesh -Lbuild/production/analytics/ruleparser -Lcontroller/src/analytics/ruleparser -Lbuild/production/discovery/client -Lcontroller/src/discovery/client -Lbuild/production/http/client -Lcontroller/src/http/client -Lbuild/production/xml -Lcontroller/src/xml -Lbuild/production/database -Lcontroller/src/database -Lbuild/production/base -Lcontroller/src/base -Lbuild/production/io -Lcontroller/src/io -Lbuild/production/net -Lcontroller/src/net -lcassandra_cql -lcassandra -lgendb -lboost_regex -lcpuinfo -lds -lio -lsandesh -lhttpc -lhttp -lvncapi -lhttp_parser -lcurl -lruleparser -lxml -lprocess_info -lnodeinfo -lbase -lio -lz -lnet -lipfix -lmisc -lsandeshvns -lpugixml -lhiredis -lprotobuf -lzookeeper_client -lzookeeper_mt -lssl -lcrypto -lboost_filesystem -lboost_program_options -lboost_system -llog4cplus -lpthread -ltbb -lboost_python -lpython2.7 -lrt 2017-08-29 19:46:39 /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/librdkafka.a(rddl.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5' 2017-08-29 19:46:39 scons: building terminated because of errors. 2017-08-29 19:46:39 //lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line 2017-08-29 19:46:39 collect2: error: ld returned 1 exit status 2017-08-29 19:46:39 scons: *** [build/production/analytics/vizd] Error 1 2017-08-29 19:46:40 exited with status :2 2017-08-29 19:46:40 ++ ret_val=2 2017-08-29 19:46:40 ++ [[ 2 -ne 0 ]] 2017-08-29 19:46:40 ++ exit 2 2017-08-29 19:46:40 ++ clean 2017-08-29 19:46:40 ++ local r=2 2017-08-29 19:46:40 ++ echo 'exited with status :2' 2017-08-29 19:46:40 ++ exit 2
It appears that is an issue with the librdkafka packages recently updated to the version 0.11.0. This new version of librdkafka uses libdl and the error message shows there is a missing symbol from this lib when trying linking the analytics component vidz with libkafka.
This issue can be related to the issue #144https://github.com/Juniper/contrail-installer/issues/144 and the contrail-controller. The contrail-controller/src/analytics/SConscript file must be modified to add ‘dl’ in the LIBS environment variable in order to fix this problem.
--- /opt/stack/contrail/controller/src/analytics/SConscript.orig 2017-08-30 14:42:13.728323999 +0000 +++ /opt/stack/contrail/controller/src/analytics/SConscript 2017-08-30 14:44:32.784323999 +0000 @@ -60,6 +60,8 @@ 'zookeeper_mt', 'ssl', 'crypto',
Regards, Thomas Monguillon
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/Juniper/contrail-installer/issues/153, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AFvFsY_43WYvL2nqsx_fIfD2X42JSGzCks5sdXkJgaJpZM4PHhhN.
Hi, I’m trying to install OpenContrail R3.2.3.x on Ubuntu 14.04.5 but the building process fails with the following messages :
It appears that is an issue with the librdkafka packages recently updated to the version 0.11.0. This new version of librdkafka uses libdl and the error message shows there is a missing symbol from this lib when trying linking the analytics component vidz with libkafka.
This issue can be related to the issue #144 and the contrail-controller. The contrail-controller/src/analytics/SConscript file must be modified to add ‘dl’ in the LIBS environment variable in order to fix this problem.
Regards, Thomas Monguillon