LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-19-2015, 10:25 AM   #1
kathbeau
Member
 
Registered: Nov 2014
Posts: 31

Rep: Reputation: Disabled
dlopen error: libc.so.6: version 'GLIBC2.14' not found


I requested a copy of a custom .so from a colleague, to spare myself the hassle of writing a makefile and building it myself. (I have the source code, but the library was created by a Windows programmer, so building for Linux is a DIY project.)

I am running:
Linux mix 3.16-0.bpo.2-amd64 #1 SMP Debian 3.16.3-2~bpo70+1 (2014-09-21) x86_64 GNU/Linux

My colleague says the library was built on Ubuntu Server 12.04 LTS.

Trying to load it in my environment yields this error:

/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /usr/lib/libcstage0205.so)"

Have I forgotten to mention that I'm a Linux newbie? So I'm kind of fumbling here.

QUESTION #1:
When I look at the properties for my copy of /lib/x86_64-linux-gnu/libc.so.6, it says it points to libc-2.13.so. Does that have anything to do with the 'GLIBC_2.14' not found?

QUESTION #2:
I'm going to try writing the makefile (whimper) and build the library myself, but it leaves me wondering: How could I distribute a custom .so (binary) without releasing source code?

Thanks for your assistance in my continuing education.

Kathleen
 
Old 03-19-2015, 11:41 AM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Quote:
When I look at the properties for my copy of /lib/x86_64-linux-gnu/libc.so.6, it says it points to libc-2.13.so
So you have only glibc-2.13 library. The one your friend gave needs glibc-2.14 atleast, that's why the error.

You should always use same distro/version for such things. Else there may be binary incompatibilities leading to errors.
 
Old 03-19-2015, 11:53 AM   #3
kathbeau
Member
 
Registered: Nov 2014
Posts: 31

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by veerain View Post
So you have only glibc-2.13 library. The one your friend gave needs glibc-2.14 atleast, that's why the error.

You should always use same distro/version for such things. Else there may be binary incompatibilities leading to errors.
Thank you for confirming my hunch.

This still leaves me with the question of how I can distribute an application that relies upon a custom .so. Will I always have to provide MAKE files and source code and tell the customers to build the library themselves?

Kathleen
 
Old 03-19-2015, 12:14 PM   #4
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Quote:
This still leaves me with the question of how I can distribute an application that relies upon a custom .so. Will I always have to provide MAKE files and source code and tell the customers to build the library themselves?
Most of guys distributing binaries usually package them and release for specific distros/versions. But LSB (Linux Standards Base) solves this problem somewhat. Read about it.
 
Old 03-19-2015, 12:34 PM   #5
kathbeau
Member
 
Registered: Nov 2014
Posts: 31

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by veerain View Post
Most of guys distributing binaries usually package them and release for specific distros/versions. But LSB (Linux Standards Base) solves this problem somewhat. Read about it.
Thank you so much! I'll start reading, and will see if I can make this work for us.

Kathleen
 
  


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
/lib/libc.so.6: version `GLIBC_2.7' not found skumarg Red Hat 1 08-28-2013 04:07 AM
/lib/libc.so.6: version GLIBC_2.7 not found mark_l Linux - Software 4 03-04-2013 12:02 AM
/lib/tls/libc.so.6: version `GLIBC_2.4' not found error when invoking Java y UmaSantharam Linux - Software 6 02-13-2012 06:13 PM
/lib/libc.so.6: version 'GLIBC_2.4' not found blviper Linux - Software 2 05-22-2010 10:29 AM
ntop: /lib/libc.so.6: version `GLIBC_2.4' not found jayakrishnan Linux - Software 4 02-07-2006 04:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:37 AM.

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
Open Source Consulting | Domain Registration