Unix Programming - Re: dlopen: fatal: relocation error

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > June 2007 > Re: dlopen: fatal: relocation error





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: dlopen: fatal: relocation error
Frank Cusack

2007-06-28, 7:21 pm

On Thu, 28 Jun 2007 07:54:44 -0700 shahan.am@gmail.com wrote:
> libstdc++.so.6 (GLIBCXX_3.4) => (version not found)
> libstdc++.so.6 (CXXABI_1.3) => (version not found)

....
> libstdc++.so.6 (CXXABI_1.3) => (version not found)
> libstdc++.so.6 (GLIBCXX_3.4) => (version not found)
> libstdc++.so.6 (GLIBCXX_3.4) => (version not found)
> libstdc++.so.6 (CXXABI_1.3) => (version not found)


There's your problem. You need to set the runpath when you link.
-R for older versions of GNU ld and -runpath (I think) for newer
versions.

-frank
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com