waliwali / ibm-db

Automatically exported from code.google.com/p/ibm-db
0 stars 0 forks source link

GLIBC_2.14 required for ibm_db-2.0.4.1-py2.6-linux-x86_64 on Suse Enterprise 11 SP1 #136

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
2.0.4.1 installs without error but fails at import on Suse Enterprise 11 SP1. 
At least I would expect the installation to fail on dependencies.
It would be great if you support Suse Enterprise 11.

lx-342:~ # easy_install --upgrade ibm_db
/usr/lib64/python2.6/site-packages/setuptools/package_index.py:7: 
DeprecationWarning: the md5 module is deprecated; use hashlib instead
  from md5 import md5
Searching for ibm-db
Reading http://pypi.python.org/simple/ibm_db/
Reading http://code.google.com/p/ibm-db/downloads/list
Best match: ibm-db 2.0.4.1
Downloading 
http://ibm-db.googlecode.com/files/ibm_db-2.0.4.1-py2.6-linux-x86_64.egg
Processing ibm_db-2.0.4.1-py2.6-linux-x86_64.egg
creating 
/usr/local/lib64/python2.6/site-packages/ibm_db-2.0.4.1-py2.6-linux-x86_64.egg
Extracting ibm_db-2.0.4.1-py2.6-linux-x86_64.egg to 
/usr/local/lib64/python2.6/site-packages
Removing ibm-db 2.0.2 from easy-install.pth file
Adding ibm-db 2.0.4.1 to easy-install.pth file

Installed 
/usr/local/lib64/python2.6/site-packages/ibm_db-2.0.4.1-py2.6-linux-x86_64.egg
Processing dependencies for ibm-db
Finished processing dependencies for ibm-db

import ibm_db_dbi
  File "/usr/local/lib64/python2.6/site-packages/ibm_db-2.0.4.1-py2.6-linux-x86_64.egg/ibm_db_dbi.py", line 34, in <module>
    import ibm_db
ImportError: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by 
/usr/local/lib64/python2.6/site-packages/ibm_db-2.0.4.1-py2.6-linux-x86_64.egg/i
bm_db.so)

lx-342:~# lsb_release -a
LSB Version:    
core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:
core-4.0-x86_64:desktop-4.0-amd64:desktop-4.0-noarch:graphics-2.0-amd64:graphics
-2.0-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4
.0-noarch

Distributor ID: SUSE LINUX
Description:    SUSE Linux Enterprise Server 11 (x86_64)
Release:        11
Codename:       n/a

lx-342:~# /lib/libc.so.6 
GNU C Library stable release version 2.11.1 (20100118), by Roland McGrath et al.

Original issue reported on code.google.com by south.mi...@gmail.com on 25 Sep 2013 at 6:00

GoogleCodeExporter commented 9 years ago
We do support SUSE Enterprise 11, the issue you are getting is due to GLIBC 
library version mismatch. We have build ibm_db binary with GLIBC_2.14 that's 
and your system have lower version of GLIBC that's why at linking time you face 
this issue.

Please download source code from https://pypi.python.org/pypi/ibm_db and 
install it from source.

Original comment by rahul.pr...@in.ibm.com on 26 Sep 2013 at 6:33

GoogleCodeExporter commented 9 years ago
According to this page, SLES 11 SP2 (latest) provides glibc 2.11.1
https://www.suse.com/releasenotes/x86_64/SUSE-SLES/11-SP2/#id1166576
Perhaps the most common scenario is to find python2.6 along with glibc 2.11 ;-)

Just for my information, What kind of support do you consider for SUSE 
Enterprise 11?

Is there a chance the installation script aborts if critical conditions are not 
met?

Is there a changelog somewhere to see what changes are present in current 
version?

Regards
Luis

Original comment by south.mi...@gmail.com on 26 Sep 2013 at 1:04

GoogleCodeExporter commented 9 years ago
The ibm_db driver works well with SUSE Enterprise 11, in case any issue you can 
report that we will resolve that issue.

I have removed ibm_db's Linux-64 bit egg file from 
https://pypi.python.org/pypi/ibm_db  now you can use easy_install, it will now 
download source code and build the binary at your machine only so that you will 
not get any library mismatch issue at run time.

For every new release we maintain change log you can find change log at 
http://code.google.com/p/ibm-db/source/browse/IBM_DB/ibm_db/CHANGES or inside 
source code available at 
https://pypi.python.org/packages/source/i/ibm_db/ibm_db-2.0.4.1.tar.gz 

Original comment by rahul.pr...@in.ibm.com on 26 Sep 2013 at 3:00

GoogleCodeExporter commented 9 years ago

Original comment by rahul.pr...@in.ibm.com on 18 Nov 2013 at 5:53