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

  • SEARCH
  • Home
  • 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 8217197
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T12:22:57+00:00 2026-06-07T12:22:57+00:00

I have problem with boost library, when i try compilling simple program g++ show

  • 0

I have problem with boost library, when i try compilling simple program g++ show me “No such file or directory”. I installed boost in /home/user/boost (there i have two folders “include” and “lib”). I found bash script which no solved my problem :

export LD_LIBRARY_PATH=/home/user/boost:${LD_LIBRARY_PATH}

Can anyone help me ?

  • 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-06-07T12:23:00+00:00Added an answer on June 7, 2026 at 12:23 pm

    This depends on your user-installed boost directory structure. If your include files are now in /home/user/boost/include/boost, then add a:

     g++ -I/home/user/boost/include/boost ...
    

    to your compilation options. See here. LD_LIBRARY_PATH won’t help, this is only important for executing programs that look for shared libraries in the file system. It is like a “PATH” for dynamic link libraries. If you got your code compiled, then add the directory location of your boost libraries in the link step by:

     g++ -L/home/user/boost/lib
    

    or whatever the location is.

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

Sidebar

Related Questions

i have some problem with my boost library. i m using freebsd and installed
I am using boost graph library for solving a network graph problem. I have
i have little problem with boost::asio library. My app receive and process data asynchronously,
When I try to build some application with linking boost's library libboost_serialization.so, I have
I am using the boost regex library in my code. I have a simple
I have a problem getting boost::multi_index_container work with random-access and with orderd_unique at the
I'm new in using boost and have a problem. I need shared_mutex function in
I have problem with show or hide form in Window Form Application. I start
I'm new to the Boost.MPL library, and have some beginners-problems Look at this sample:
Greetings all. I am writing some code using the Boost Units library and have

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.