Skip to content

Commit

Permalink
Newer vesion of librdkafka library requires collector to be linked
Browse files Browse the repository at this point in the history
with libdl.
Closes-Bug: #1710290

Change-Id: Ib833d15f6d4ae7e167a1d5aac006fe885d8c8664
(cherry picked from commit c08cb50)
(cherry picked from commit 432ed5b)
  • Loading branch information
arvindvis committed Sep 27, 2017
1 parent b7b5e84 commit a2686e0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/analytics/SConscript
Expand Up @@ -59,11 +59,13 @@ AnalyticsEnv.Prepend(LIBS=['cpuinfo',
'ssl',
'crypto',
'boost_filesystem',
'boost_program_options'])
'boost_program_options',
'libdl',
'sasl2'])

(PLATFORM, VERSION, EXTRA) = platform.linux_distribution()
if PLATFORM.lower() != 'ubuntu':
AnalyticsEnv.Prepend(LIBS=['sasl2'])
AnalyticsEnv.Prepend(LIBS=['lz4'])

if AnalyticsEnv.UseCassandraCql():
database_libs = ['cassandra_cql', 'cassandra']
Expand Down

0 comments on commit a2686e0

Please sign in to comment.