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 6573523
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T15:08:40+00:00 2026-05-25T15:08:40+00:00

I am a C++ beginner. I have a c++ project that i built using

  • 0

I am a C++ beginner. I have a c++ project that i built using the existing make files. I have a library that I linked from /usr/local/lib. Build is successful but when I run it, its complaining about the library that I linked form /usr/local/lib. If I copy that library to /lib64 and run my program, everything is fine. Please let me know what I should do to avoid this error. Thank you.

error while loading shared libraries: libactivemq-cpp.so.14: cannot
open shared object file: No such file or directory

  • 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-25T15:08:41+00:00Added an answer on May 25, 2026 at 3:08 pm

    As Oli explained, you can set LD_LIBRARY_PATH, but you can also install the library permanently, even if it doesn’t live in one of the standard directories. Start with

    man ldconfig
    

    it’s quite important you know how that thing works.

    • by default (ie unless you do something) only libraries in the trusted directories (/lib and /usr/lib) will be picked up. I have no running 64 bits system available but i’m guessing on those the directories will be suffixed with 64
    • if you want ldconfig to pick up libraries in other dirs, add theses directories to /etc/ld.so.conf
    • after that, run ldconfig -v and check if they actually got picked up

    And you’ll be all set 🙂

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

Sidebar

Related Questions

I have an existing C++ source code that is built using autotools and i
I'm a beginner in android, I'm practicing a Project that have a 2 labels
I am using xcode (3.2.3) for an iPhone project that I have checked out
Absolute beginner question: I have a template file index.html that looks like this: ...
Beginner level question Scenario: Have simple string cocantation tool, that I might expand later
I am a beginner with C++. I have a new project at work where
I currently have a small (I'm a complete beginner) project in VTK where I've
I have a beginner iPhone project going. I have a TableView, which is just
I have a small database which is legacy from an almost defunct project. This
in one of my questions ,somebody said that I have to make sure that

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.