-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Contrail 3.2 build failing with **scons: building terminated because of errors.2017-04-16 17:31:54 //lib/x86_64-linux-gnu/libssl.so.1.0.0: error adding symbols: DSO missing from command line.collect2: error: ld returned 1 exit status #144
Comments
Did anyone face this issue and how did you resolve. Please help |
I faced this issue, and resolved it. Its kafka library linking issue. solution: |
This works for me. thx to @sureshkvl sudo apt-get install libssl-dev libsasl2-dev liblz4-dev vi controller/src/analytics/SConscript Modify as below: if sys.platform != 'darwin':
AnalyticsEnv.Prepend(LINKFLAGS =
['-Wl,--whole-archive',
'-lbase', '-lcpuinfo',
'-lprocess_info', '-lnodeinfo',
'-l:librdkafka.a', '-l:librdkafka++.a','-lssl', '-lcrypto', '-lpthread',
'-Wl,--no-whole-archive']) |
I resolved the issue. By adding ssl and lcrypto in SConscript. Thank you. |
I resolved the issue. By adding sasl2 in SConscript. |
amandeepsingh91 > You're right. The analytics/SConscript file from the contrail-controller contains a curious test which not includes the sasl2 lib for the Ubuntu platform only. But this lib is a required dependency for librdkafka (librdkafka1 package) which is used to build some components of the contrail-contoller. I fix this with the following patch :
|
we have to add 'ldl' flag also. |
@sureshkvl where exactly do I have to add 'ldl' flag? |
if sys.platform != 'darwin': |
@sureshkvl thanks a lot. I was able to do a scuccesful contrail install using release 4.0 over ubuntu 14.04 without having this problem. There were other issues but minor. |
@adnaniqbal could you please share your localrc and steps you performed. i am unable to install successfully. |
I used following configuration: Local rc is given below: LOG_LEVEL=3 SERVICE_TIMEOUT=180 #use only when INSTALL_PROFILE=COMPUTE, provide IP of compute node INSTALL_PROFILE=ALL to get source code make it as FalseCONTRAIL_DEFAULT_INSTALL=False default branch is masterCONTRAIL_BRANCH=R4.0 to get the ppa packages uncommentLAUNCHPAD_BRANCH=r2.20repo proto is https or (default) ssh. Leave commented for sshCONTRAIL_REPO_PROTO=https proto for openstack bits. Use HTTPS if git is firewalledGIT_BASE=https://github.com CASS_MAX_HEAP_SIZE=500M number of jobs used to buildNB_JOBS=1target of the build debug/productionTARGET=productionCONTRAIL_VGW_INTERFACE=vgw I am currently doing install using this localrc and have completed build step successfully (install in progress.) I did encounter issues related to SConscript which were corrected using edits given above in this thread. |
@adnaniqbal thanks.. i installed contrail but facing issues in openstack installation. Are you using single node or multi-node environment? |
i am doing a single node install. I have just completed contrail install,
will start openstack now.
…On 26 October 2017 at 14:57, amandeepsingh91 ***@***.***> wrote:
@adnaniqbal <https://github.com/adnaniqbal> thanks.. i installed contrail
but facing issues in openstack installation. Are you using single node or
multi-node environment?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#144 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/APKzYs5Bx6D7aOhUoLqQeT125NB3dFRXks5swFdugaJpZM4M-nPS>
.
|
@AmandeepSingh were you able to install contrail/devstack successfully? I
am failing at very end. Neutron not starting, issue#160.
…On 26 October 2017 at 14:57, amandeepsingh91 ***@***.***> wrote:
@adnaniqbal <https://github.com/adnaniqbal> thanks.. i installed contrail
but facing issues in openstack installation. Are you using single node or
multi-node environment?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#144 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/APKzYs5Bx6D7aOhUoLqQeT125NB3dFRXks5swFdugaJpZM4M-nPS>
.
|
@adnaniqbal no i am not able to install successfully, i also posted kinda same issue #156 |
@adnaniqbal now i am using devstack environment where i am able to bring up openstack and contrail but some service like nodemgr are failing. i am working on them. |
@AmandeepSingh thanks for the reply. Can you share the procedure and
localrc/.conf files for your latest install?
…On 31 October 2017 at 10:32, amandeepsingh91 ***@***.***> wrote:
@adnaniqbal <https://github.com/adnaniqbal> now i am using devstack
environment where i am able to bring up openstack and contrail but some
service like nodemgr are failing. i am working on them.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#144 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/APKzYrOdPvjxRen2TixPos8x_8tlGq0aks5sxrDggaJpZM4M-nPS>
.
|
@adnaniqbal are you able to install ? |
No success yet. Actually did not try in this week. Will try again in next
week using older DevStack version (Mitaka). What about you?
…On 9 November 2017 at 13:38, amandeepsingh91 ***@***.***> wrote:
@adnaniqbal <https://github.com/adnaniqbal> are you able to install ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#144 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/APKzYtflC8O8TA8z_SmYWVORnUSb7ywDks5s0rnsgaJpZM4M-nPS>
.
|
Hi All,
I am building Contrail 3.2 and getting the below error: Can anyone give a clue how to resolve this error.
2017-04-16 17:31:53 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 -lrt2017-04-16 17:31:54 /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-16 17:31:54 scons: building terminated because of errors.2017-04-16 17:31:54 //lib/x86_64-linux-gnu/libssl.so.1.0.0: error adding symbols: DSO missing from command line2017-04-16 17:31:54 collect2: error: ld returned 1 exit status2017-04-16 17:31:54 scons: *** [build/production/analytics/vizd] Error 1ubuntu@ubuntu:~/contrail-installer$ 2017-04-16 17:31:55 ++ ret_val=22017-04-16 17:31:55 exited with status :22017-04-16 17:31:55 ++ [[ 2 -ne 0 ]]2017-04-16 17:31:55 ++ exit 22017-04-16 17:31:55 ++ clean2017-04-16 17:31:55 ++ local r=22017-04-16 17:31:55 ++ echo 'exited with status :2'2017-04-16 17:31:55 ++ exit 2
Thanks and Regards,
Pavani Addanki
The text was updated successfully, but these errors were encountered: