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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T08:55:23+00:00 2026-06-11T08:55:23+00:00

I am trying to map the address of a function that is supposed to

  • 0

I am trying to map the address of a function that is supposed to exist inside a shared library (.so). I am sucessfully able to open the library and am trying to get the address of the function inside it as such:

fn_read = dlsym (handle, "functionName");

However I am getting an error, and upon inspection the error is that the symbol could not be found. I am pretty sure that I am making this call correctly. I am also 100% sure that the function that I am trying to map is included in the shared library itself. I’m not sure what to do here…could someone please point out some possible mistakes/points that I may be overlooking?

Thanks,
Fal

  • 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-11T08:55:24+00:00Added an answer on June 11, 2026 at 8:55 am

    Try using the unix/linux command nm -g <library>.so. It will list all of your C style symbols.

    Note that C++ participates in “name mangling”, so if you don’t have a “C style” symbol exported, odds are the name was mangled and isn’t directly reachable. nm -gC <library>.so will also show the mangled C++ names.

    If you are attempting to access a C++ symbol, and name mangling is causing the problem, following the guidelines in the C++ FAQ light on mixing C and C++ can be helpful.

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

Sidebar

Related Questions

Im trying to map urls to numbers in a range [0,50] for porting, that
I am trying to select a <div> using jquery's $('#divname') inside a infobox that
I'm trying to place multiple markers on a map that are provided from an
I am trying to display a marker for an address that the user enters
I'm trying to get a latitude and longitude by address with the following code:
I'm trying to use the geocoder to get co-ordinates for the following address: 1945
I'm trying to display an address as a marker on a google map element
I am trying to integrate the function into a map where you can enter
i'm trying to write a script that will get a user's geolocation - if
Trying to map the following schema using the Entity Framework. A Customer can 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.