Problems with RPM

Problems with RPM

Post by Feli » Sun, 08 Jul 2001 00:35:53



Dear all,
I always face a problem in installing with RPM.
Dependency errors often occurs saying that some .so files are missing.. How
can I solve the problems? When can I find the .so files I miss? and How to
install them?
Thx in advance.
 
 
 

Problems with RPM

Post by Gaga » Sun, 08 Jul 2001 10:45:52



> Dear all,
> I always face a problem in installing with RPM.
> Dependency errors often occurs saying that some .so files are missing.. How
> can I solve the problems? When can I find the .so files I miss? and How to
> install them?
> Thx in advance.

When you install an RPM package it checks if the dependent files are
there by checking its database.  You can find out which dependent
packages you need to install by going to www.rpmfind.net and typing in
the name of the library.  You should then be able to find which RPM
package(s) need to be installed.

Hope that helps.

 
 
 

1. problem building .rpm's

Hello, all.

I'm running RedHat 4.1 (kernel 2.0.27, fwiw), and I'd really like to
be able to build my own RPMs for the various software packages that I
install to make system management easier.  I've got rpm v2.3.5
installed.

I tried this with an updated version of xlockmore (w/ shadow
passwords), and *almost* got it.

Here's my spec file:

Description: X screensaver/locker
Name: xlockmore
Version: 4.00
Release: 1
Source: ftp.x.org:/contrib/applications/xlockmore-4.00.tar.gz
Patch: xlockmore-4.00.imakefile.patch
Copyright: distributable
Group: X11/Utilities

%prep
%setup
%patch

%build
xmkmf -a
make

%install
make install
make install.man
chmod 4755 /usr/X11R6/bin/xlock

%files
%config /usr/X11R6/lib/X11/app-defaults/XLock
/usr/X11R6/bin/xlock
/usr/X11R6/man/man1/xlock.1x

---- end spec file ---

Now, I know that Description has changed and it should really read
summary.  Perhaps this is the problem?

My /etc/rpmrc file doesn't exist -- could this be the problem?

Anyway, I did a 'rpm -ba -v xlockmore-4.00-1.spec', and it
un-tarballed, built, etc. everything fine.

I then installed the resulting xlockmore-4.00-1.i386.rpm.  The program
exists on my system (and works, too), but the package doesn't show up
when I do an 'rpm -qa'.  In addition, if I try 'rpm -qilv xlockmore',
I get the following results:

[minbar (ttyp0):~]> rpm -qivl xlockmore
Name        : xlockmore                   Distribution: (none)
Version     : 4.00                              Vendor: (none)
Release     : 1                             Build Date: Mon Feb 17 23:22:09 1997
Install date: Mon Feb 17 23:32:35 1997      Build Host: minbar.sid.rice.edu
Group       : X11/Utilities                 Source RPM: xlockmore-4.00-1.src.rpm
Size        : 790303
Summary     : (none)
Description :
X screensaver/locker
Segmentation fault

(Note that if I use -qil or just -qi, I get the expected results.)  In
addition, if I do a query of this package from within glint, it
segfaults as well.

In addition: I've installed the source rpm, but I have no idea what
effect this had: it doesn't show up in any of the installed-package
lists, I can't find the source on my system anywhere (except in
/usr/src/redhat/SOURCES, where I myself put it).

Can anyone give any suggestions as to what I'm doing wrong here?

Thanks in advance for any help,

Richard

2. KMail on MD 10.0 - Two Problems

3. Redhat 5.0 Upgrade Problem: No RPM database exists!

4. WIN A FREE PROMOTION TICKET

5. problem with RPM:

6. Getting Fusion CD-16/Sony cdu-31a to work

7. Problem with RPM and GLIC2.3.1

8. Three Button PS2 Mouse??

9. Problem with rpm

10. Problem with RPM and loading of source

11. What Are the Problems with RPM?

12. Problems with RPM

13. Problems installing RPMs