Re: libgomp.so CentOS - shared object cannot be dlopen()ed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



residentmoron wrote:

> Here is the area of focus:
> libgomp.so.1: shared object cannot be dlopen()ed
> 
> I am pretty sure that libgomp.so.1 is being resolved and actually
> found, however, I think this message means that the shared object
> cannot be dynamically opened.  I have no idea how to move forward.  I
> didn't think setting LD_LIBRARY_PATH would make a difference, however,
> I tried setting it anyway.  I was right about that one.  No
> difference.
> 
> Do I need to recompile libgomp.so with some type of switches to make it
> dlopenable??

In 4.2.x libgomp was built with -Wl,-z,nodlopen to prevent it being
dlopened, I believe so that it could use a more efficient TLS model.  I
think this has been changed in 4.3.  See below:

<http://gcc.gnu.org/PR28482>
<http://gcc.gnu.org/ml/gcc-help/2007-04/threads.html#00300>

Brian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux