LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-31-2016, 05:59 AM   #1
pg29
LQ Newbie
 
Registered: May 2016
Posts: 4

Rep: Reputation: Disabled
ImportError: /lib/libc.so.6: version `GLIBC_2.14' not found (required by /usr/lib/libpq.so.5)


I have to run a tornado webapp on a server using psycopg2 with postgresql as backend. I am working on Red Hat Enterprise Linux Server release 6.5. I set up a virtual environment for the entire process. Now, on this server, i don't have root access, i can't use pip, wget, yum and i can't copy text from the server(so i can't post the exact error log). I have been manually downloading tar files for the libraries and installing them. When i try to run the webapp, i get the following error:

ImportError: /lib/libc.so.6: version `GLIBC_2.14' not found (required by /venv/usr/lib/libpq.so.5)

The version for libc.so.6 is 2.12. The error is displayed in psycopg2/init.py.

I looked around, and tried installing GLIBC-2.14 on the virtual environment but the server ran out of space during "make".

I apologize as this is not much to go on, but the server has a lot of restrictions and I am pretty new to Linux. Any help will be appreciated.
 
Old 05-31-2016, 07:41 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
/venv/usr/lib/libpq.so.5 : The file libpq.so.5 is from an old version of postgresql, like postgresql-libs-8.2.9-(1.fc7). I.e. a year 2009 version. But the requirement `GLIBC_2.14' indicates that your postgresql was compiled with a later OS. (A year 2011? OS). CentOS 6 is Fedora 12 based: Year 2010.

? Why not use the CentOS system version = postgresql-8.4.20 (Provides libpq.so.6).
 
Old 05-31-2016, 11:20 PM   #3
pg29
LQ Newbie
 
Registered: May 2016
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank you, i switched the PostgreSQL version, it worked. Apparently PostgreSQL 9.3 is compatible as well. One question though(i am not sure if it is relevant here, forgive me if it isn't), if i host the tornado web app on a local machine, i can directly use localhost or 0.0.0.0 and the port address to access the front end. But if i am using a Linux server on a VM hosted somewhere else using Putty, what equivalent do i use?Or do i have to register a domain? Any help would be appreciated.

Last edited by pg29; 06-01-2016 at 12:27 AM.
 
Old 06-01-2016, 04:12 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #3.

Suggest : Start a new thread >>> How to use the "tornado web app".

Not many chances you get answers for "tornado web app" when the thread title is:
"" .. /lib/libc.so.6: version `GLIBC_2.14' not found .. ""
 
Old 06-01-2016, 04:26 AM   #5
pg29
LQ Newbie
 
Registered: May 2016
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hi,
Thank for the response. I kind of guessed that this is the wrong place to ask. Anyway, i figured out the way to use it via tunneling of port or port forwarding.
 
  


Reply



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
/root/fi.sh /lib/libc.so.6: version 'GLIBC_2.7' not found (required by /root/fi.sh) vher386 Linux - Software 4 11-29-2011 06:01 AM
/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 - Server

All times are GMT -5. The time now is 10:39 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