LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-25-2018, 04:01 PM   #1
northb
LQ Newbie
 
Registered: Jul 2018
Posts: 2

Rep: Reputation: Disabled
RH 6.8 giving GLIBC_2.14 NOT FOUND


I am on a Linux RH 6.8 system.
I have an up to date glibc.
When I compile/run a C program on this system I get the following:
..GLIBC_2.14 not found..
How can the compile/run elements be out of sync for version on the same system?
 
Old 07-25-2018, 04:40 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 21,824

Rep: Reputation: 5775Reputation: 5775Reputation: 5775Reputation: 5775Reputation: 5775Reputation: 5775Reputation: 5775Reputation: 5775Reputation: 5775Reputation: 5775Reputation: 5775
Quote:
Originally Posted by northb View Post
I am on a Linux RH 6.8 system.
I have an up to date glibc. When I compile/run a C program on this system I get the following:
..GLIBC_2.14 not found..
How can the compile/run elements be out of sync for version on the same system?
Based on what you posted, there's no way we can even guess. Who wrote it? What are its dependencies? Is your system up to date?? If so, you must have access to the Red Hat network, since you're paying for RHEL. Have you contacted RHEL support?
 
Old 07-26-2018, 07:06 AM   #3
northb
LQ Newbie
 
Registered: Jul 2018
Posts: 2

Original Poster
Rep: Reputation: Disabled
Testing

Thanks for getting me to think of this in simpler terms.
This involves a C program that we build/access as a shared library.
I created/ran a basic "Hello World" C test program and it worked fine.
The problem is seen when we access a C library (that we build) from a Java program via a JNA interface.
I'll take this over to a JNA forum.
Thanks,
 
Old 08-07-2018, 02:16 AM   #4
X-LFS-2010
Member
 
Registered: Apr 2016
Posts: 423

Rep: Reputation: Disabled
i doubt GLIBC_2.14 is the current version

the current libc6 you do have may or may not have all GLIBC_2.14 symbols mapped in it

(if not, then there are ways to install and use previous libc6)

for example, libcairo compiled for libc6-2.3 has this:

Version References:
required from libpng14.so.14:
0x052a4a70 0x00 05 PNG14_0
required from libc.so.6:
0x09691f73 0x00 13 GLIBC_2.1.3
0x0d696913 0x00 10 GLIBC_2.3
0x09691974 0x00 09 GLIBC_2.3.4
0x06969191 0x00 08 GLIBC_2.11
0x0d696910 0x00 07 GLIBC_2.0
0x0d696912 0x00 06 GLIBC_2.2
0x0d696911 0x00 04 GLIBC_2.1
required from libpthread.so.0:
0x0d696911 0x00 12 GLIBC_2.1
0x0d696910 0x00 03 GLIBC_2.0
required from libm.so.6:
0x0d696911 0x00 11 GLIBC_2.1
0x0d696910 0x00 02 GLIBC_2.0

the reason these GLIBC_XX symbols are supported by libc6 is because of "redhat technology". other linux distros use it.

there is an issue that it's "possible" that a mapped symbol for compatibility isn't actually compatible (due to changes). but those are known as bugs and hopefully fixed.

your version of libc6 is likely higher than 2.3, and likely supports everything back to 2.0 with some exceptions


next note it may not be redhat's system that causes the message: it could be old libraries or old binaries in your own software which would be helped to (find the symbols/not complain) if they were re-compiled using redhat system your running.
 
Old 08-07-2018, 02:19 AM   #5
X-LFS-2010
Member
 
Registered: Apr 2016
Posts: 423

Rep: Reputation: Disabled
the above list was seen using:

$ objdump -a -x -S -D "$1" | less

# $1 was libcairo.so.2 in this case
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GLIBC_2.14 not found during Houdini installation MarXindia Linux - Newbie 7 06-04-2014 05:36 PM
glibc_2.4 not found?? can't install software!!! gvp87 Linux - Software 0 08-05-2007 11:31 AM
[For Help] 'GLIBC_2.3' not found eNsEmpire Linux - Software 0 03-13-2007 09:39 PM
GlibC_2.3 not found message when .configure shazam75 Linux - Software 0 10-15-2004 03:33 AM
version 'GLIBC_2.3' not found BadGuy Linux - Software 2 02-24-2003 07:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration