public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Hari <harigov@iqara.net>
To: gcc-help@gcc.gnu.org
Subject: Renaming symbols in a shared library
Date: Mon, 18 Aug 2008 19:00:00 -0000	[thread overview]
Message-ID: <g89985$1s9$1@ger.gmane.org> (raw)

Hello All,

I have two versions of a same library that I want to load in the same 
address space. However, because the dependency is not direct, I cannot 
make use of dlopen to load the library. I require your inputs regarding 
other possible approaches to achieve this. Please note that the library 
is a third party library and I don't have its code to rebuild it.

I think we can rename the symbols of a shared library, given just the 
shared library. Is that possible? If it is, can some one point to me a 
resource where I can learn to rename symbols of one version of a library?

Is there any better approach? I am trying to find an approach that is 
portable to other systems. However, please do share any system specific 
approaches too, so that I can understand what are all the possible options.

Thanks for your valuable time.

Best Regards,
Hari

                 reply	other threads:[~2008-08-18 17:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='g89985$1s9$1@ger.gmane.org' \
    --to=harigov@iqara.net \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).