LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-09-2009, 03:46 AM   #1
pdwivedi
Member
 
Registered: Oct 2007
Posts: 31

Rep: Reputation: 15
rpm installation problem


hi,
i am trying to install a package using following command

Quote:
rpm -Uvh libobexftp-0.22-1.el5.rf.i386.rpm
but it gives following error!

Code:
error: Failed dependencies:
        libopenobex.so.1 is needed by libobexftp-0.22-1.el5.rf.i386
however when i searched for the file libopenobex.so.1 it is in the /usr/local/lib directory.
why it is not finding the library libopenobex.so.1?
Please help .

thanks
pdwivedi
 
Old 07-09-2009, 04:00 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
If it is in /usr/local/lib maybe he does not see it. You can verify if libopenobex.so.1 is included in the library cache using ldconfig -p as root. Anyway, why don't use yum to install the package, so that it can take care of the dependencies automagically?
 
Old 07-09-2009, 04:08 AM   #3
pdwivedi
Member
 
Registered: Oct 2007
Posts: 31

Original Poster
Rep: Reputation: 15
i ran the command
Code:
[root@projectmachine obexftp]# ldconfig -p |grep libopenobex.so.1
which gave that libopenobex.so.1 is not in the list.please tell me how to add this.

i am not using yum because i don't have internet connection on linux pc.

thanks
 
Old 07-09-2009, 04:30 AM   #4
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Take a look at man ldconfig. Anyway, how did you installed libopenobex.so.1? If you have compiled it from source, maybe it's better to install a pre-compiled version from a binary package to assure compatibility.
 
Old 07-09-2009, 04:48 AM   #5
pdwivedi
Member
 
Registered: Oct 2007
Posts: 31

Original Poster
Rep: Reputation: 15
i compiled it from the source.
now i did
Code:
ldconfig -l /usr/local/lib/libopenobex.so.1
it gave
Code:
ldconfig: Ignored file /usr/local/lib/libopenobex.so.1 since it is not a regular file.
the reason i compiled it from source was that another package which uses same libopenobex.so.1 file was not available in rpm form.hence i had install these packages from source.

thanks & regards
 
Old 07-09-2009, 04:53 AM   #6
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Maybe libopenobex.so.1 is a link? What is the output from file /usr/local/lib/libopenobex.so.1?
 
Old 07-09-2009, 05:05 AM   #7
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Quote:
Originally Posted by pdwivedi View Post
the reason i compiled it from source was that another package which uses same libopenobex.so.1 file was not available in rpm form.hence i had install these packages from source.
You can try to install either openobex for RHEL4 or openobex for CentOS 5.3. Use the --test option of rpm to test the installation without actually installing anything passing both the openobex and the libobexftp packages as arguments.
 
Old 07-09-2009, 05:55 AM   #8
pdwivedi
Member
 
Registered: Oct 2007
Posts: 31

Original Poster
Rep: Reputation: 15
please tell me how to add library in ldconfig.

thanks
 
Old 07-09-2009, 06:03 AM   #9
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Quote:
Originally Posted by pdwivedi View Post
please tell me how to add library in ldconfig.

thanks
What is the output from
Code:
file /usr/local/lib/libopenobex.so.1
and
Code:
ls -l /usr/local/lib
?
 
Old 07-09-2009, 06:13 AM   #10
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
The problem is that rpm doesn't check for dependencies in
the file-system or any PATH, but in its RPM database. I
think that however libobex made it into /usr/local - it
wasn't via rpm (and hence rpm doesn't know about it).


Cheers,
Tink
 
Old 07-09-2009, 06:24 AM   #11
pdwivedi
Member
 
Registered: Oct 2007
Posts: 31

Original Poster
Rep: Reputation: 15
thank u sir,
but i am trying to configure bluetooth on my rhel5 for last 5 days. i don't know what i am doing wrong.if u please guide me into this i will be vry thakful.this is what i did..

1.i installed bluez-libs-3.36, bluez-utils-3.36 from source code since i did not find rpm.
2.configured hcid.conf & rfcomm.conf
3.installed obexftp & obexpushd.

then tried to transfer the files but nothing seems to work..

thanks in advance
 
Old 07-09-2009, 06:32 AM   #12
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
You're doing a mix-and-match (and that doesn't work). Either
find an RPM for all those packages, or install the ones that
depend on source modules from source as well.
 
Old 07-09-2009, 06:37 AM   #13
pdwivedi
Member
 
Registered: Oct 2007
Posts: 31

Original Poster
Rep: Reputation: 15
and where do i find all the necessary packages? because some of the packages like bluez does not come in rpm.
 
Old 07-09-2009, 08:06 AM   #14
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529
See the links in post #7 by Colucix?
 
Old 07-09-2009, 08:46 AM   #15
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Or just look for them in the Red Hat Network service. It looks like they released an update of bluez-utils and blue-libs for RHEL5, so that it means they did the bluetooth packages!
 
  


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
rpm installation have a problem shibu_sp Linux - Newbie 2 03-03-2009 12:57 AM
RPM installation problem yspatro Linux - Software 1 09-12-2007 12:24 PM
rpm installation problem lumba Linux - Software 1 12-10-2006 06:03 PM
rpm installation problem paschim General 1 09-07-2004 09:34 AM
rpm installation problem nulloverflow Linux - General 1 02-26-2004 08:55 PM


All times are GMT -5. The time now is 11:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration