Login  Register

Re: Inconsistency detected by ld.so: dl-lookup.c

Posted by Sven Gothel on Dec 17, 2019; 12:03pm
URL: https://forum.jogamp.org/Inconsistency-detected-by-ld-so-dl-lookup-c-tp4040188p4040189.html

On 12/17/19 12:10 PM, johhnry [via jogamp] wrote:
> Hi there,
>

Hi J..,

the WARNING has been removed in our latest tip of the master branch.

What remains might be:

> Inconsistency detected by ld.so: dl-lookup.c: 111: check_match: Assertion
> `version->filename == NULL || ! _dl_name_match_p (version->filename, map)'
> failed!

Looks like an assertion got hit within the native 'dlsym(..)'
implementation:
'void *dlsym(void *handle, const char *symbol);'

This might be related to using a pseudo symbol like RTLD_DEFAULT or RTLD_NEXT?
Interesting.

Which libc and Linux distribution are you using?

Cheers, Sven

> I have a Java project (https://github.com/johhnry/2I002_mini_projet) where I
> am using the Processing library (https://processing.org/) and jogl to display
> 3d shapes.
>
> It used to work back in april when I finished the project and now when I try
> to compile it (I am using eclipse), this is the output :
>
> /WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by com.jogamp.common.os.NativeLibrary$3
> (file:/home/josephhenry/Documents/eclipse_workspace/2I002_mini_projet/libraries/gluegen-rt.jar)
> to method java.lang.ClassLoader.findLibrary(java.lang.String)
> WARNING: Please consider reporting this to the maintainers of
> com.jogamp.common.os.NativeLibrary$3
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflective access operations
> WARNING: All illegal access operations will be denied in a future release
> Inconsistency detected by ld.so: dl-lookup.c: 111: check_match: Assertion
> `version->filename == NULL || ! _dl_name_match_p (version->filename, map)'
> failed!
> /
>
> These are the libraries that I added to the build path :
>
>
>
> I tried to download the latest libraries but it still doesn't work.
>
> Anyone have an idea?
>
> Thanks