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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T10:40:41+00:00 2026-06-15T10:40:41+00:00

I am having an issue compiling my program here are my gcc options used

  • 0

I am having an issue compiling my program here are my gcc options used

g++ -shared -fPIC -fvisibility -L/usr/lib/x86_64-linux-gnu/  -lboost_serialization-mt -lboost_thread-mt -lboost_date_time-mt -lboost_iostreams-mt -lboost_program_options-mt -lboost_filesystem-mt -lboost_system-mt 

output

relocation R_X86_64_32S against `vtable for boost::detail::sp_counted_base' can not be used when making a shared object; recompile with -fPIC

could not read symbols: Bad value

Does anyone know why this is happening ? thanks

  • 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-15T10:40:42+00:00Added an answer on June 15, 2026 at 10:40 am

    Install the boost library using apt-get install libboost

    If you have any issues installing libboost, refer this link in order to get them clarified.
    After doing this, you can recompile boost with -fPIC flag in order to resolve the issue. I think the warning itself is helpful to identify your issue.

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

Sidebar

Related Questions

I'm having an issue compiling the beginnings of a basic password protected file program,
I am having an issue compiling this piece of code error /usr/include/boost/bind/bind_mf_cc.hpp:91:5: error: initializing
For some reason I have having an issue compiling a shared object that uses
I'm having a small issue when I'm compiling a template with Handlebars.js . I
Having an issue here that I have tried everything I can think of but
Howdy, I'm having a bit of an issue runnning a NAnt script that used
Greetings everyone. Having an issue compiling my script containing the following function. Three errors
I am having issues with usage of log10f(). I am compiling the program on
I am brand new to Java. I am having an issue compiling a basic
Having an issue where compiling some code that makes use of HttpContextBase is throwing

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.