Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7688229
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T19:52:19+00:00 2026-05-31T19:52:19+00:00

I just installed the boost 1.49 version on ubuntu and the process went smooth.

  • 0

I just installed the boost 1.49 version on ubuntu and the process went smooth. however, now when I am running any of my files(hence I am not posting the c++ file because it is happening with every file that use libboost_date_time), I get the following error:

./test.shared.array.exe: error while loading shared libraries: libboost_date_time.so.1.49.0: cannot open shared object file: No such file or directory

I checked to see where boost.build installed the library and I see the libboost_date_time.so.1.49.0 in /usr/local/

why then would I be getting such error. how can i fix the issue.

these are the contents of the /usr/local/boost_1_49_0

/usr/local/boost_1_49_0$ ls
b2      boost-build.jam  bootstrap.bat  index.htm   libs                rst.css
bin.v2  boostcpp.jam     bootstrap.log  index.html  LICENSE_1_0.txt     status
bjam    boost.css        bootstrap.sh   INSTALL     more                tools
boost   boost.png        doc            Jamroot     project-config.jam

and this is what I have in

/usr/local/lib$ ls
libboost_chrono.a              libboost_prg_exec_monitor.so.1.49.0
libboost_chrono.so             libboost_program_options.a
libboost_chrono.so.1.49.0      libboost_program_options.so
libboost_date_time.a           libboost_program_options.so.1.49.0
libboost_date_time.so          libboost_random.a
libboost_date_time.so.1.49.0   libboost_random.so
libboost_exception.a           libboost_random.so.1.49.0
libboost_filesystem.a          libboost_regex.a
libboost_filesystem.so         libboost_regex.so
libboost_filesystem.so.1.49.0  libboost_regex.so.1.49.0
libboost_graph.a               libboost_serialization.a
libboost_graph.so              libboost_serialization.so
libboost_graph.so.1.49.0       libboost_serialization.so.1.49.0
libboost_iostreams.a           libboost_signals.a
libboost_iostreams.so          libboost_signals.so
libboost_iostreams.so.1.49.0   libboost_signals.so.1.49.0
libboost_locale.a              libboost_system.a
libboost_locale.so             libboost_system.so
libboost_locale.so.1.49.0      libboost_system.so.1.49.0
libboost_math_c99.a            libboost_test_exec_monitor.a
libboost_math_c99f.a           libboost_thread.a
libboost_math_c99f.so          libboost_thread.so
libboost_math_c99f.so.1.49.0   libboost_thread.so.1.49.0
libboost_math_c99l.a           libboost_timer.a
libboost_math_c99l.so          libboost_timer.so
libboost_math_c99l.so.1.49.0   libboost_timer.so.1.49.0
libboost_math_c99.so           libboost_unit_test_framework.a
libboost_math_c99.so.1.49.0    libboost_unit_test_framework.so
libboost_math_tr1.a            libboost_unit_test_framework.so.1.49.0
libboost_math_tr1f.a           libboost_wave.a
libboost_math_tr1f.so          libboost_wave.so
libboost_math_tr1f.so.1.49.0   libboost_wave.so.1.49.0
libboost_math_tr1l.a           libboost_wserialization.a
libboost_math_tr1l.so          libboost_wserialization.so
libboost_math_tr1l.so.1.49.0   libboost_wserialization.so.1.49.0
libboost_math_tr1.so           ocaml
libboost_math_tr1.so.1.49.0    perl
libboost_prg_exec_monitor.a    python2.7
libboost_prg_exec_monitor.so   R
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T19:52:21+00:00Added an answer on May 31, 2026 at 7:52 pm

    Your system probably isn’t looking for the .so’s in this path.

    Check /etc/ld.so.conf to see which directories are searched for so’s.
    /usr/local is an odd location for those to be installed in. I’d expect /usr/lib or /usr/local/lib.

    [EDIT to reflect new information]

    Since you have installed boost in /usr/local/lib (I’m assuming all the .so’s are under there) and this path is already in /etc/ld.so.conf.d you can try running ldconfig:

    sudo ldconfig

    Make sure you are compiling with the right libraries, e.g.:

    gcc test.shared.array.cpp -lboost_date_time

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have libboost installed via Ubuntu. The boost version is 1.42. I've followed the
I just installed a fresh new version of Ubuntu 10.04 and wanted to get
I just downloaded and ran the boost installer for version 1.42 (from boostpro.com), and
I have just installed boost for the first time on my Intel Mac, and
I just installed Ubuntu 8.04 and Eclipse. I made a very simple Hello World
I just installed boost 1.42.0 from macports using sudo port install boost . Everything
I just installed Boost on my machine. I'm working with the Visual Studio 2010
I just installed mysql in terminal through homebrew. Now when I try to connect
I just installed the boost library on Linux and written a sample application :
I just built and installed boost on cygwin and was trying to compile a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.