LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 08-21-2012, 06:09 AM   #1
asdf1234
LQ Newbie
 
Registered: Aug 2012
Posts: 2

Rep: Reputation: Disabled
Unhappy dependency error: libc.so.6


Hi,
i'm trying download tdsodbc package but exist a dependency error with file libc.so.6.

I've tried dowload glibc_2.14 but exist more dependency error again, although these packages are installed already. Do install glibc_2.11.3 now? Or is this package installed already? Command "zypper" (apt-get for Suse) doesn't find tdsodbc package.

I don't know that I have to do...
Any idea, please?

Thanks!!

Quote:
$$ rpm -Uvh libtdsodbc0-0.91-2.1.2.x86_64.rpm
advertencia:libtdsodbc0-0.91-2.1.2.x86_64.rpm: CabeceraV3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
error: Error de dependencias:
libc.so.6(GLIBC_2.14)(64bit) se necesita para libtdsodbc0-0.91-2.1.2.x86_64

$$ rpm -Uvh glibc-2.14.1-14.27.1.x86_64.rpm
advertencia:glibc-2.14.1-14.27.1.x86_64.rpm: CabeceraV3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
error: Error de dependencias:
glibc = 2.11.3 se necesita para (instalado) glibc-locale-2.11.3-17.39.1.x86_64
glibc = 2.11.3 se necesita para (instalado) glibc-devel-2.11.3-17.39.1.x86_64

$$ zypper search glibc
Actualizando servicio 'nu_novell_com'.
Obteniendo los datos del repositorio...
Leyendo los paquetes instalados...

E | Nombre | Resumen | Tipo
--+------------------------+------------------------------------------------------------------+------------
| dbgsp1-glibc | Recommended update for glibc | parche
| dbgsp1-glibc-blowfish | Security update for glibc | parche
| dbgsp2-glibc | Recommended update for glibc | parche
i | glibc | Bibliotecas compartidas estándar (de la biblioteca GNU C) | paquete
| glibc | Bibliotecas compartidas estándar (de la biblioteca GNU C) | paquete src
i | glibc-32bit | Bibliotecas compartidas estándar (de la biblioteca GNU C) | paquete
| glibc-debuginfo | Debug information for package glibc | paquete
| glibc-debuginfo-32bit | Debug information for package glibc | paquete
| glibc-debugsource | Debug sources for package glibc | paquete
i | glibc-devel | Archivos de cabecera y bibliotecas imprescindibles para desarr-> | paquete
| glibc-devel-32bit | Archivos de cabecera y bibliotecas imprescindibles para desarr-> | paquete
| glibc-html | Documentación HTML de la biblioteca GNU C. | paquete
i | glibc-i18ndata | Fuentes de las bases de datos para 'locale'. | paquete
| glibc-info | Archivos info para la biblioteca GNU C. | paquete
i | glibc-locale | Datos locale para programas traducidos. | paquete
i | glibc-locale-32bit | Datos locale para programas traducidos. | paquete
| glibc-profile | Versiones de perfilado y depuración de libc. | paquete
| glibc-profile-32bit | Versiones de perfilado y depuración de libc. | paquete
i | slessp1-glibc | Recommended update for glibc | parche
i | slessp1-glibc-blowfish | Security update for glibc | parche
i | slessp2-glibc | Recommended update for glibc | parche

$$ ls -l /lib/libc.so.6
lrwxrwxrwx 1 root root 14 jun 11 17:34 /lib/libc.so.6 -> libc-2.11.3.so
 
Old 08-21-2012, 11:07 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,369

Rep: Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335
have you got a 64 bit libc.so.6?

Quote:
bash-4.1$ ls -l /lib/libc.so.6
lrwxrwxrwx 1 root root 12 Dec 29 2011 /lib/libc.so.6 -> libc-2.13.so
bash-4.1$ ls -l /lib64/libc.so.6
lrwxrwxrwx 1 root root 12 Dec 29 2011 /lib64/libc.so.6 -> libc-2.13.so
 
Old 08-22-2012, 02:15 AM   #3
asdf1234
LQ Newbie
 
Registered: Aug 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Yes, I have got a 64 bit libc.so.6:

Quote:
$$ ls -l /lib64/libc*
-rwxr-xr-x 1 root root 1754140 may 24 17:03 /lib64/libc-2.11.3.so
lrwxrwxrwx 1 root root 14 jun 11 16:11 /lib64/libcap.so.2 -> libcap.so.2.11
-rwxr-xr-x 1 root root 19016 nov 5 2011 /lib64/libcap.so.2.11
-rwxr-xr-x 1 root root 197092 may 24 17:03 /lib64/libcidn-2.11.3.so
lrwxrwxrwx 1 root root 17 jun 11 17:34 /lib64/libcidn.so.1 -> libcidn-2.11.3.so
lrwxrwxrwx 1 root root 17 jun 11 16:11 /lib64/libcom_err.so.2 -> libcom_err.so.2.1
-rwxr-xr-x 1 root root 14720 feb 3 2012 /lib64/libcom_err.so.2.1
-rwxr-xr-x 1 root root 57699 may 24 17:03 /lib64/libcrypt-2.11.3.so
lrwxrwxrwx 1 root root 22 jun 11 16:15 /lib64/libcryptsetup.so.0 -> libcryptsetup.so.0.0.0
-rwxr-xr-x 1 root root 56440 feb 3 2012 /lib64/libcryptsetup.so.0.0.0
lrwxrwxrwx 1 root root 18 jun 11 17:34 /lib64/libcrypt.so.1 -> libcrypt-2.11.3.so
lrwxrwxrwx 1 root root 14 jun 11 17:34 /lib64/libc.so.6 -> libc-2.11.3.so
Is this good? How should I proceed?
 
Old 08-22-2012, 03:05 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Well, one thing is sure, you cannot use a Suse 12 package in SLED11.

And : glibc is your OS (together with the kernel).
→ → glibc cannot be changed. ( from 2.11 to 2.14 ).

Suggest :
Build the rpm packages for your OS by using the source code
SRC.RPM, e.g. the Suse 12 freetds-0.91-2.1.2.src.rpm .
( libtdsodbc0 etc. etc.)

Or ask your Suse support. ( Looks like you have a license.)

.
 
Old 08-22-2012, 03:21 AM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,369

Rep: Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335
Try these lines (the second if the first doesn't work)

LD_PRELOAD=/lib64/libc.so.6 rpm -Uvh libtdsodbc0-0.91-2.1.2.x86_64.rpm
LD_LIBRARY_PATH=/lib64 rpm -Uvh libtdsodbc0-0.91-2.1.2.x86_64.rpm

If they don't do it, let's take stock. You have rpm, but you're not using yum.

Whose rpm is it (e.g. fedora 13)
What's your distro?
Why not use yum?

There are options for rpm that effectively allow you to give the middle finger to it's safety side if you know what you're doing, but I'm not sure you do.
 
Old 08-22-2012, 03:29 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Suse : No 'yum'. But 'zypper'. Quote from post # 1 :
Quote:
Command "zypper" (apt-get for Suse) doesn't find tdsodbc package.
And : there seem to be no *tds* packages for SLES 11.
 
Old 08-23-2012, 03:30 AM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,369

Rep: Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335
Then if he really wants to play with it, with some clever options from the rpm man page he can install it in ~/ .
 
  


Reply

Tags
libtdsodbc



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
Dependency: libc.so.6(GLIBC_2.7) karthickk02 Linux - Newbie 2 10-08-2010 03:01 AM
Google Earth & libc 2.4 dependency Vin˘ Debian 6 05-14-2007 08:24 PM
compiling software without libc dependency augustocv Linux - Software 4 12-10-2006 06:52 PM
mkinitrd - Failed Dependency (libc.so.6) d1g1ta7 Linux - Software 3 08-15-2005 08:30 PM
libc.so.6 dependency questions giovannym Linux - Newbie 5 07-10-2004 02:12 AM

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

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