Menu icon
RedCrackle
Menu icon
Services
01Design Transformation
About UsCase StudiesBlogContact Us

<

Blog post

Switching to an older version of library while using homebrew

Neerav Mehta

Founder & CEO

Homebrew is a popular package manager for OS X, one which I use extensively. Sometimes, while upgrading the libraries, it's possible that the new library fails to work and you need to switch to using the older version. This post will describe how to do that.

In my case, I upgraded the boost library from 1.59 to 1.60. The Point Cloud Library (PCL) which depends on boost started failing with this new version and hence I had to switch it back to 1.59. After some search, we found that "brew switch" will do the trick. Here is the command:

$ brew switch boost 1.59.0

That's it! Since I already had the old library on my machine, the above command replaced all the symlinks to use the 1.59.0 version and our PCL library started working again without any error.

Neerav Mehta

Neerav Mehta

Founder & CEO

Neerav Mehta is the Founder & CEO of Red Crackle. With sterling qualities, Neerav’s technological acumen is firing a generation of progressive companies on the digital path. With an undergraduate degree in Electrical Engineering from India's most prestigious institution IIT Bombay and having spent seven years developing and contributing to the launch of AMD's innovative line of computer products, Neerav founded Red Crackle where he is lauded for his dynamic and innovative genius.

View all posts

>

Read Next

10 Tips For Entrepreneurs In 2015

10 Tips For Entrepreneurs In 2015

Learn more

10 Ways To Increase Productivity At Work

10 Ways To Increase Productivity At Work

Learn more

30 best WordPress widgets for your site

30 best WordPress widgets for your site

Learn more

Let’s get you started!

Contact Us

>

RedCrackle

Explore

About Us

Services

Contact Us

Our address

5346 Gerine Blossom Dr,

San Jose, CA 95123

USA

Socials

Twitter
LinkedIn

© 2023 RedCrackle. All rights reserved.