LinuxQuestions.org
Visit Jeremy's Blog.
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 01-27-2011, 01:46 PM   #1
manojg
Member
 
Registered: May 2004
Posts: 78

Rep: Reputation: 15
rpm could not find libodbc.so


Hi,

I am installing a ups management program from rpm. During installation, I saw the
Code:
error: Failed dependencies:
        libodbc.so is needed by pal-12.04.0049-1.i386
        libodbcinst.so is needed by pal-12.04.0049-1.i386
So, I installed them
Code:
yum install unixODBC        
yum install unixODBC-devel
These two libraries are at /usr/lib. When I tries to installed again "rpm -i pal-12.04.0049-1.i386.rpm", I saw same error. Somehow, rpm could not find the libraries. It is strange, it could find other libraries at the same location. Here, the output of "ls -al /usr/lib/libodbc*"
Code:
-rw-r--r-- 1 root root 882860 2007-12-30 17:03 libodbc.a
-rw-r--r-- 1 root root  98742 2007-12-30 17:03 libodbccr.a
lrwxrwxrwx 1 root root     18 2011-01-07 10:47 libodbccr.so -> libodbccr.so.1.0.0
lrwxrwxrwx 1 root root     18 2011-01-07 10:47 libodbccr.so.1 -> libodbccr.so.1.0.0
-rwxr-xr-x 1 root root  34036 2007-12-30 17:03 libodbccr.so.1.0.0
-rw-r--r-- 1 root root   1850 2007-12-30 17:03 libodbcdrvcfg1S.a
lrwxrwxrwx 1 root root     24 2011-01-07 10:47 libodbcdrvcfg1S.so -> libodbcdrvcfg1S.so.1.0.0
lrwxrwxrwx 1 root root     24 2011-01-07 10:47 libodbcdrvcfg1S.so.1 -> libodbcdrvcfg1S.so.1.0.0
-rwxr-xr-x 1 root root   3508 2007-12-30 17:03 libodbcdrvcfg1S.so.1.0.0
-rw-r--r-- 1 root root   1374 2007-12-30 17:03 libodbcdrvcfg2S.a
lrwxrwxrwx 1 root root     24 2011-01-07 10:47 libodbcdrvcfg2S.so -> libodbcdrvcfg2S.so.1.0.0
lrwxrwxrwx 1 root root     24 2011-01-07 10:47 libodbcdrvcfg2S.so.1 -> libodbcdrvcfg2S.so.1.0.0
-rwxr-xr-x 1 root root   3176 2007-12-30 17:03 libodbcdrvcfg2S.so.1.0.0
-rw-r--r-- 1 root root 236120 2007-12-30 17:03 libodbcinst.a
-rw-r--r-- 1 root root 879602 2007-12-30 17:03 libodbcinstQ.a
lrwxrwxrwx 1 root root     20 2011-01-07 10:47 libodbcinst.so -> libodbcinst.so.1.0.0
lrwxrwxrwx 1 root root     20 2011-01-07 10:47 libodbcinst.so.1 -> libodbcinst.so.1.0.0
-rwxr-xr-x 1 root root  83572 2007-12-30 17:03 libodbcinst.so.1.0.0
-rw-r--r-- 1 root root   2166 2007-12-30 17:03 libodbcminiS.a
lrwxrwxrwx 1 root root     21 2011-01-07 10:47 libodbcminiS.so -> libodbcminiS.so.1.0.0
lrwxrwxrwx 1 root root     21 2011-01-07 10:47 libodbcminiS.so.1 -> libodbcminiS.so.1.0.0
-rwxr-xr-x 1 root root   3628 2007-12-30 17:03 libodbcminiS.so.1.0.0
-rw-r--r-- 1 root root   4970 2007-12-30 17:03 libodbcmyS.a
lrwxrwxrwx 1 root root     19 2011-01-07 10:47 libodbcmyS.so -> libodbcmyS.so.1.0.0
lrwxrwxrwx 1 root root     19 2011-01-07 10:47 libodbcmyS.so.1 -> libodbcmyS.so.1.0.0
-rwxr-xr-x 1 root root   6256 2007-12-30 17:03 libodbcmyS.so.1.0.0
-rw-r--r-- 1 root root   1526 2007-12-30 17:03 libodbcnnS.a
lrwxrwxrwx 1 root root     19 2011-01-07 10:47 libodbcnnS.so -> libodbcnnS.so.1.0.0
lrwxrwxrwx 1 root root     19 2011-01-07 10:47 libodbcnnS.so.1 -> libodbcnnS.so.1.0.0
-rwxr-xr-x 1 root root   3268 2007-12-30 17:03 libodbcnnS.so.1.0.0
-rw-r--r-- 1 root root 483554 2007-12-30 17:03 libodbcpsql.a
-rw-r--r-- 1 root root   4830 2007-12-30 17:03 libodbcpsqlS.a
lrwxrwxrwx 1 root root     20 2011-01-07 10:47 libodbcpsql.so -> libodbcpsql.so.2.0.0
lrwxrwxrwx 1 root root     20 2011-01-07 10:47 libodbcpsql.so.1 -> libodbcpsql.so.1.0.0
-rwxr-xr-x 1 root root 252332 2007-12-30 17:03 libodbcpsql.so.1.0.0
lrwxrwxrwx 1 root root     20 2011-01-07 10:47 libodbcpsql.so.2 -> libodbcpsql.so.2.0.0
-rwxr-xr-x 1 root root 268364 2007-12-30 17:03 libodbcpsql.so.2.0.0
lrwxrwxrwx 1 root root     21 2011-01-07 10:47 libodbcpsqlS.so -> libodbcpsqlS.so.1.0.0
lrwxrwxrwx 1 root root     21 2011-01-07 10:47 libodbcpsqlS.so.1 -> libodbcpsqlS.so.1.0.0
-rwxr-xr-x 1 root root   5772 2007-12-30 17:03 libodbcpsqlS.so.1.0.0
lrwxrwxrwx 1 root root     16 2011-01-07 10:47 libodbc.so -> libodbc.so.1.0.0
lrwxrwxrwx 1 root root     16 2011-01-07 10:47 libodbc.so.1 -> libodbc.so.1.0.0
-rwxr-xr-x 1 root root 471040 2007-12-30 17:03 libodbc.so.1.0.0
-rw-r--r-- 1 root root 518674 2007-12-30 17:03 libodbctxt.a
-rw-r--r-- 1 root root   3646 2007-12-30 17:03 libodbctxtS.a
lrwxrwxrwx 1 root root     19 2011-01-07 10:47 libodbctxt.so -> libodbctxt.so.1.0.0
lrwxrwxrwx 1 root root     19 2011-01-07 10:47 libodbctxt.so.1 -> libodbctxt.so.1.0.0
-rwxr-xr-x 1 root root 200172 2007-12-30 17:03 libodbctxt.so.1.0.0
lrwxrwxrwx 1 root root     20 2011-01-07 10:47 libodbctxtS.so -> libodbctxtS.so.1.0.0
lrwxrwxrwx 1 root root     20 2011-01-07 10:47 libodbctxtS.so.1 -> libodbctxtS.so.1.0.0
-rwxr-xr-x 1 root root   4916 2007-12-30 17:03 libodbctxtS.so.1.0.0
Here is the query from rpm file "rpm -qpR pal-12.04.0049-1.i386.rpm"
Code:
/bin/bash  
/bin/sh  
/bin/sh  
/bin/sh  
/sbin/chkconfig  
/sbin/chkconfig  
/sbin/service  
/sbin/service  
fileutils  
fileutils  
libX11.so.6  
libXext.so.6  
libXi.so.6  
libXtst.so.6  
libasound.so.2  
libasound.so.2(ALSA_0.9)  
libawt.so  
libc.so.6  
libc.so.6(GLIBC_2.0)  
libc.so.6(GLIBC_2.1)  
libc.so.6(GLIBC_2.1.2)  
libc.so.6(GLIBC_2.1.3)  
libc.so.6(GLIBC_2.2)  
libc.so.6(GLIBC_2.2.4)  
libc.so.6(GLIBC_2.3)  
libdl.so.2  
libdl.so.2(GLIBC_2.0)  
libdl.so.2(GLIBC_2.1)  
libgcc_s.so.1  
libgcc_s.so.1(GCC_3.0)  
libgcc_s.so.1(GLIBC_2.0)  
libjava.so  
libjava.so(SUNWprivate_1.1)  
libjli.so  
libjli.so(SUNWprivate_1.1)  
libjvm.so  
libjvm.so(SUNWprivate_1.1)  
libm.so.6  
libm.so.6(GLIBC_2.0)  
libmawt.so  
libmawt.so(SUNWprivate_1.1)  
libnet.so  
libnet.so(SUNWprivate_1.1)  
libnsl.so.1  
libodbc.so  
libodbcinst.so  
libpthread.so.0  
libpthread.so.0(GLIBC_2.0)  
libpthread.so.0(GLIBC_2.1)  
libpthread.so.0(GLIBC_2.2)  
libpthread.so.0(GLIBC_2.2.3)  
libpthread.so.0(GLIBC_2.3.2)  
libstdc++.so.6  
libstdc++.so.6(CXXABI_1.3)  
libstdc++.so.6(GLIBCXX_3.4)  
libstdc++.so.6(GLIBCXX_3.4.5)  
libverify.so  
libverify.so(SUNWprivate_1.1)  
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rtld(GNU_HASH)
I am using Fedora 8. Any idea will be appreciated.

Thanks.
 
Old 01-27-2011, 02:01 PM   #2
startover
Member
 
Registered: May 2010
Posts: 37

Rep: Reputation: 2
are you installing i386 arch of unixODBC?
 
Old 01-27-2011, 02:05 PM   #3
manojg
Member
 
Registered: May 2004
Posts: 78

Original Poster
Rep: Reputation: 15
yes. I installed .i386
 
Old 01-27-2011, 02:11 PM   #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
When you are sure, the dependencies are present, you can do

# rpm -Uvh --nodeps pal-12.04.0049-1.i386*


Errors in "package pre install scripts" are not an unusual thing.
Happens with say one of 200 packages.

..
 
Old 01-27-2011, 02:57 PM   #5
manojg
Member
 
Registered: May 2004
Posts: 78

Original Poster
Rep: Reputation: 15
with "rpm -Uvh --nodeps pal-app-12.04.0049-1.i386-fedora.rpm", it says:
Code:
Preparing...                ########################################### [100%]
        package pal-12.04.0049-1.i386 is already installed
 
  


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
Cant find my RPM files toolesk Linux - Software 7 10-02-2007 11:25 AM
Cannot find an RPM anywhere DirkDiggler Linux - Software 5 05-28-2007 11:30 AM
rpm cannot find li paulr1984 Linux - Software 2 10-24-2005 07:44 PM
how to install libodbc++ and unixODBC on RedHat7.3 and RedHat9? marmarchi Linux - Software 1 10-24-2004 07:43 AM
Can't find this RPM anywhere :-( SteveGodfrey Linux - Newbie 10 06-17-2004 08:26 AM

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

All times are GMT -5. The time now is 02:54 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
Open Source Consulting | Domain Registration