LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-20-2003, 10:54 AM   #1
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Rep: Reputation: 58
Is it installed or not?


Here are some commands issued on SuSe 8.1 with the final desire to remove libsndfile
(just installed with rpm -i some minutes before):

# rpm -e libsndfile-1.0.0-18.rpm
error: package libsndfile-1.0.0-18.i586.rpm is not installed
# rpm -i libsndfile-1.0.0-18.rpm
package libsndfile-1.0.0-18 is already installed

I got badly confused at this point. Do you have any idea as to whether that package is installed or not?

A related matter: I installed libsndfile previously as tape2mp3 needs it.
However, when compiling tape2mp3 from source, I got an error that there is no 'sfinfo.samples' member.
I suspect that tape2mp3 may have been prepared for an older libsndfile version.
Do you know something about this? Which version does it depend on?
 
Old 07-20-2003, 11:02 AM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
This command will query the RPM database for libsndfile packages.
rpm -qa | grep libsndfile

If the libsndfile package is not found, you may consider trying to force the installation.
However, I never had such a problem before, so this is only a suggestion.

Last edited by Mathieu; 07-20-2003 at 11:03 AM.
 
Old 07-20-2003, 11:04 AM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
I tend to suggest a rebuild of the database when something odd/conflicing like that occurs. It occasionally helps, and rarely hurts:
rpm --rebuilddb
rpm -qa | grep libsndfile



Cool
 
Old 07-20-2003, 12:45 PM   #4
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Original Poster
Rep: Reputation: 58
Thanks for the tips.
'rpm -qa' helped me to find out that I have to omit the trailing .i386.rpm when uninstalling the rpm.
 
Old 07-20-2003, 01:14 PM   #5
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Original Poster
Rep: Reputation: 58
As for the other issue, I checked the libsnd changelog and it seems that they simply renamed the name sfinfo.samples member (variable) to sfinfo.frame. So, actually, I
- either try to find a newer tape2mp3 developed for the recent version of libsndfile (there is none)
- or find and older libsndfile version (google searched, but the recent version is everywhere)
- or rename the variable in the tape2mp3 source files.
Never did c programming, but I will try the third option.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ndiswrapper installed driver installed, hardware present, but modprobe doesn't likeit Flukey Linux - Hardware 1 04-14-2007 11:22 AM
I have Redhat 3.0 factory installed on my Dell hardware. I have installed JDK 1.4.2 vcvinith Red Hat 2 04-18-2005 07:09 AM
Installed Fedora, which installed Grub - how to boot to Knoppix? squall14716 Linux - General 3 03-15-2004 03:11 PM
libjpeg already installed... i try to uninstall... not installed... thiscompismessing Laptop2250 Linux - Software 1 11-21-2003 08:20 PM
Win2k installed, Mandrake installed dual? callisto35 Linux - Newbie 2 08-27-2003 08:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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