Error in Analytics build : x86_64-linux-gnu/librdkafka.a(rdkafka_transport.o): undefined reference to symbol 'SSL_get_verify_result@@OPENSSL_1.0.0' //lib/x86_64-linux-gnu/libssl.so.1.0.0: error adding symbols: DSO missing from command line

Bug #1683837 reported by Pavani
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
New
Undecided
Bruno Fernando
R3.2
In Progress
Undecided
Pavani
OpenContrail
New
Undecided
Pavani

Bug Description

I am trying to install Contrail 3.2 with Mitaka version. Build is failing with below error:

2017-04-18 19:30:40 g++ -o build/third_party/hiredis/base64.o -c -O3 -g -g -Ithird_party -Ithird_party/hiredis-0.11.0 -Ithird_party/hiredis-0.11.0/adapters -Ibuild/include -Ithird_party/tbb40_20111130oss/include build/third_party/hiredis/base64.cpp
2017-04-18 19:30:40 ar rc build/third_party/hiredis/libhiredis.a build/third_party/hiredis/src/net.o build/third_party/hiredis/src/hiredis.o build/third_party/hiredis/src/sds.o build/third_party/hiredis/src/async.o build/third_party/hiredis/src/dict.o build/third_party/hiredis/hiredis-boostasio-adapter/boostasio.o build/third_party/hiredis/base64.o
2017-04-18 19:30:40 ranlib build/third_party/hiredis/libhiredis.a
2017-04-18 19:30:40 Install file: "build/third_party/hiredis/libhiredis.a" as "build/lib/libhiredis.a"
2017-04-18 19:30:40 g++ -o build/production/zookeeper/zookeeper_client.o -c -O3 -g -Wall -Werror -Wsign-compare -Wno-unused-local-typedefs -DLINUX -Icontroller/src -Ibuild/include -Icontroller/lib -I/usr/include controller/src/zookeeper/zookeeper_client.cc
2017-04-18 19:30:41 ar rc build/production/zookeeper/libzookeeper_client.a build/production/zookeeper/zookeeper_client.o
2017-04-18 19:30:42 ranlib build/production/zookeeper/libzookeeper_client.a
2017-04-18 19:30:42 Install file: "build/production/zookeeper/libzookeeper_client.a" as "build/lib/libzookeeper_client.a"
2017-04-18 19:30:42 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 -lboost_filesystem -lboost_program_options -lboost_system -llog4cplus -lpthread -ltbb -lboost_python -lpython2.7 -lrt
2017-04-18 19:30:42 /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/librdkafka.a(rdkafka_transport.o): undefined reference to symbol 'SSL_get_verify_result@@OPENSSL_1.0.0'
2017-04-18 19:30:42 //lib/x86_64-linux-gnu/libssl.so.1.0.0: error adding symbols: DSO missing from command line
2017-04-18 19:30:42 collect2: error: ld returned 1 exit status
2017-04-18 19:30:42 scons: *** [build/production/analytics/vizd] Error 1
2017-04-18 19:30:42 scons: building terminated because of errors.
ubuntu@ubuntu:~/contrail-installer$ 2017-04-18 19:30:43 ++ ret_val=2
2017-04-18 19:30:43 exited with status :2
2017-04-18 19:30:43 ++ [[ 2 -ne 0 ]]
2017-04-18 19:30:43 ++ exit 2
2017-04-18 19:30:43 ++ clean
2017-04-18 19:30:43 ++ local r=2
2017-04-18 19:30:43 ++ echo 'exited with status :2'
2017-04-18 19:30:43 ++ exit 2

librdkafka-dev version is 0.9.4-0.

Changed in opencontrail:
assignee: nobody → sureshkvl (sureshkumar-s)
Changed in juniperopenstack:
assignee: nobody → Bruno Fernando (bfernando)
Changed in opencontrail:
assignee: sureshkvl (sureshkumar-s) → Bruno Fernando (bfernando)
Changed in opencontrail:
assignee: Bruno Fernando (bfernando) → Pavani (pavani-addanki-6)
Revision history for this message
Bruno Fernando (bfernando) wrote :

Hi Pavani,

Here, is a patch that solves the issue https://github.com/rasta-rocket/contrail-controller/tree/bug/1683837

You can try to submit it on the gerrit or anything else if you already have.

Cheers.

Revision history for this message
Bruno Fernando (bfernando) wrote :
Revision history for this message
Pavani (pavani-addanki-6) wrote :

Hi Bruno,

Yeah.I am planning to submit to gerrit. Identified the fix and was able to install successfully.Thank you.

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.2

Review in progress for https://review.opencontrail.org/31858
Submitter: Pavani (<email address hidden>)

Jeba Paulaiyan (jebap)
tags: added: analytics
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers