Is JogAmp statically linked to glibc?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Is JogAmp statically linked to glibc?

gouessej
Administrator
Hi

I have a problem with JInput (which is not a part of JogAmp):
http://www.java-gaming.org/index.php/topic,23511.0.html

"/lib64/libc.so.6: version `GLIBC_2.7' not found"

This problem does not happen with JogAmp. Is it statically linked to glibc? Otherwise, how does it use glibc?
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Is JogAmp statically linked to glibc?

Sven Gothel
Administrator
On Tuesday, August 02, 2011 12:50:02 PM gouessej [via jogamp] wrote:
>
> Hi
>
> I have a problem with JInput (which is not a part of JogAmp):
> http://www.java-gaming.org/index.php/topic,23511.0.html
> http://www.java-gaming.org/index.php/topic,23511.0.html 
>
> "/lib64/libc.so.6: version `GLIBC_2.7' not found"

objdump -x ../build-x86_64/obj/libgluegen-rt.so | grep -b2 GLIBC
(ubuntu 10.10 and 11.04)
+++

2199-Version References:
2219-  required from libc.so.6:
2246:    0x09691a75 0x00 02 GLIBC_2.2.5

+++

objdump -x ../build-linux-armv7/obj/libgluegen-rt.so | grep -b2 GLIBC
(ubuntu 11.04 linux-armv7)
+++

1658-Version References:
1678-  required from libc.so.6:
1705:    0x0d696914 0x00 02 GLIBC_2.4
1738-
1739-Sections:

+++

this tells the library (DSO) which libc.so.6 version is required,
it's not hard linked ..

this detail is produced while compiling the DSO,
and hence a compilation generated detail.

in our case this simply depends on the machine setup we use to
produce the DSO's .. hence it could be possible that one day we ask for
a higher libc.so.6 .. so we should keep an eye on such compatibilities.

>
> This problem does not happen with JogAmp. Is it statically linked to glibc?
> Otherwise, how does it use glibc?

dynamic of course.

~sven
Reply | Threaded
Open this post in threaded view
|

Re: Is JogAmp statically linked to glibc?

gouessej
Administrator
Thanks for the quick reply.

Will you be able to go on using a quite "low" version of glibc to avoid exclude some distros? Does it require a particular effort?
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Is JogAmp statically linked to glibc?

Sven Gothel
Administrator
On Tuesday, August 02, 2011 04:02:21 PM gouessej [via jogamp] wrote:
>
> Will you be able to go on using a quite "low" version of glibc to avoid
> exclude some distros? Does it require a particular effort?
>

dunno .. since we would need a list for distros / libc versions, etc.
to define what is low ..

IMHO 2.2.5 like in ubuntu intel, is a quite low requirement already,
the armv7 requirement might be a glitch - however, ubuntu natty arm
is quite the 1st well usable here anyways.

sure .. willing to cooperate if we have more data
and participants.

cheers, sven
Reply | Threaded
Open this post in threaded view
|

Re: Is JogAmp statically linked to glibc?

gouessej
Administrator
I can compile JOGL on an old Debian or Mandriva Linux 2006 if necessary.

I'm not an expert in C, I only wrote a simulator of processes with this language some years ago. I assume it is possible to install several versions of glibc on the same machine and use the lowest available, by using symbolic links for example, am I wrong?
Julien Gouesse | Personal blog | Website