Skip to main content



      Home
Home » Archived » Lua Development Tools » issue with LDT requirement of glibc 2.7 vs glib 2.5 present on RHEL 5.x
issue with LDT requirement of glibc 2.7 vs glib 2.5 present on RHEL 5.x [message #1695980] Wed, 20 May 2015 14:36 Go to next message
Eclipse UserFriend
Im running on RHEL 5.x system with glib 2.5:

-rwxr-xr-x 1 root root 1.7M Apr 20 2012 /lib64/libc-2.5.so
lrwxrwxrwx 1 root root 11 May 13 13:34 /lib64/libc.so.6 -> libc-2.5.so

I'm running Eclipse Luna SR1 (4.4.1). I installed the LDT plugin from the repository but when I try to create a new Lua project, nothing happens. The Eclipse log shows that liblua5.1.so is linked to glib 2.7, which isn't present on my system.

I tried compiling lua on my own system (generating a liblua.a) and replacing the liblia5.1.so with the liblua.a file in several locations (even building a version of LDT locally, etc) but I'm clearly not getting the whole picture here -- I think this has to do something with a jnlua plugin dependency of LDT that is actually linked against glibc 2.7.

I hope someone can help here...

Here's the log from Eclipse:

!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NoClassDefFoundError: com/naef/jnlua/LuaState
at org.eclipse.ldt.core.internal.buildpath.LuaExecutionEnvironmentManager.getLuaExecutionEnvironmentFromManifest(LuaExecutionEnvironmentManager.java:223)
...
Caused by: java.lang.UnsatisfiedLinkError: /home/username/bin/dvt_eclipse/eclipse/configuration/org.eclipse.osgi/441/0/.cp/lib/liblua5.1.so: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by /home/username/bin/dvt_eclipse/eclipse/configuration/org.eclipse.osgi/441/0/.cp/lib/liblua5.1.so)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
... etc...

Thanks,
Dan
Re: issue with LDT requirement of glibc 2.7 vs glib 2.5 present on RHEL 5.x [message #1696081 is a reply to message #1695980] Thu, 21 May 2015 10:34 Go to previous messageGo to next message
Eclipse UserFriend
Hi Dan,

I am afraid you are right about glibc.

We use jnlua to able to run some Lua and jnlua loads natives libraries, they are glibc dependant.
Glibc 2.5 has been released in September 2006.
Glibc 2.7 has been released in October 2007.
Both are pretty mature...

Which version of RHEL 5 are you using?
There is a RHEL 5 update from September 16 2014[1].
Are you up to date?

Kevin

[1] https://access.redhat.com/articles/3078#RHEL5

[Updated on: Thu, 21 May 2015 10:35] by Moderator

Re: issue with LDT requirement of glibc 2.7 vs glib 2.5 present on RHEL 5.x [message #1697293 is a reply to message #1696081] Tue, 02 June 2015 19:57 Go to previous messageGo to next message
Eclipse UserFriend
Looks like we're running a variant of CentOS 5.7. Unfortunately I don't have any control over this as it's part of a very large environment. So... what are my options to get LDT running given my glibc issue?

Would it be possible to install a local version of glibc 2.7 (as in, off of my home directory in a private area), or is that fraught with peril and/or going to result in a landslide of other dependencies?

Is it possible to build jnlua against 2glibc 2.5?

I am highly motivated to get this working...
Re: issue with LDT requirement of glibc 2.7 vs glib 2.5 present on RHEL 5.x [message #1697811 is a reply to message #1697293] Mon, 08 June 2015 11:04 Go to previous message
Eclipse UserFriend
Hi Dan,

Which version of Lua did you compiled?
Among results, do you see a liblua.so?

Kévin
Previous Topic:LDT 1.3 RC2
Next Topic:Create a simple Execution Environment
Goto Forum:
  


Current Time: Thu Mar 20 11:17:20 EDT 2025

Powered by FUDForum. Page generated in 0.06016 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top