Skip to content

Conversation

@sreedishps
Copy link

Changes for making the build for ubuntu 14.04

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this changed needed?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

scribe expects multi threaded libboost and is currently deprecated. So need to create symlinks as explained in this post
http://askubuntu.com/questions/486006/cannot-find-boost-thread-mt-library

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to do some quick search and could find boost multi-threaded libraries for ubuntu 14:

http://packages.ubuntu.com/trusty/libboost-thread1.54-dev
http://packages.ubuntu.com/trusty/libboost-thread1.55-dev
http://stackoverflow.com/questions/26716202/linux-ubuntu-14-04-boost-libs-and-thread-compilations

Scribe is essentially a multi-threaded application. We need to be extremely careful not to impact this aspect.
Also this linking is done for archive files, whereas scribed essentially links with shared libraries.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://groups.google.com/forum/#!topic/boost-list/5nbpE0J_E1c - dicussion on the same.
http://permalink.gmane.org/gmane.comp.lib.boost.user/62273
libboost-thread-mt and libboost-thread were essentially same and the "-mt" part was a decorator. And now there is no more "-mt" version available in the latest versions of libboost. http://www.boost.org/users/history/version_1_40_0.html
From the build package session.

"The default naming of libraries in Unix-like environment now matches system conventions, and does not include various decorations"

@satish-mittal
Copy link

+1

satish-mittal added a commit that referenced this pull request Mar 27, 2015
@satish-mittal satish-mittal merged commit e3a39c3 into InMobi:ubuntu-14.04 Mar 27, 2015
@satish-mittal
Copy link

@sreedishps
Pending items:

  1. Make sure the same changes are working with scribe collector package as well, or whether we need to fix anything else for collector on ubuntu 14.
  2. Finally, edit the changelog for both packages and bump up the major version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants