Help - Search - Members - Calendar
Full Version: Failed Dependencies
Linuxhelp > Support > Technical Support
robjacox
Been at Linux for two months now, with great success (I'm amazed at what I've accomplished). But here is my first question that has required outside help.

I am unable to install RPM's that did not come with my Slackware distro (ver 9.1). Everything comes up with "failed dependencies" errors such as the following for Gentoo:


<st '//mnt/cdrom/Desktop/gentoo/gentoo-0.11.37-1.fr.i386.rpm';echo RESULT=$?
error: failed dependencies:
fam is needed by gentoo-0.11.37-1.fr
gtk+ >= 1.2.3 is needed by gentoo-0.11.37-1.fr
libX11.so.6 is needed by gentoo-0.11.37-1.fr
libXext.so.6 is needed by gentoo-0.11.37-1.fr
libXi.so.6 is needed by gentoo-0.11.37-1.fr
libc.so.6 is needed by gentoo-0.11.37-1.fr
libc.so.6(GLIBC_2.0) is needed by gentoo-0.11.37-1.fr
libc.so.6(GLIBC_2.1) is needed by gentoo-0.11.37-1.fr
libc.so.6(GLIBC_2.2) is needed by gentoo-0.11.37-1.fr
libc.so.6(GLIBC_2.2.4) is needed by gentoo-0.11.37-1.fr
libc.so.6(GLIBC_2.3) is needed by gentoo-0.11.37-1.fr
libdl.so.2 is needed by gentoo-0.11.37-1.fr
libfam.so.0 is needed by gentoo-0.11.37-1.fr
libgdk-1.2.so.0 is needed by gentoo-0.11.37-1.fr
libglib-1.2.so.0 is needed by gentoo-0.11.37-1.fr
libgmodule-1.2.so.0 is needed by gentoo-0.11.37-1.fr
libgtk-1.2.so.0 is needed by gentoo-0.11.37-1.fr
libm.so.6 is needed by gentoo-0.11.37-1.fr
RESULT=1


I have searched for the above files and have found all but two items (what appears to a package "fam" and a file "libfam.so.0". My results of locating these files:

fam is needed by gentoo-0.11.37-1.fr
NOT FOUND

gtk+ >= 1.2.3 is needed by gentoo-0.11.37-1.fr
Package GTK+-1.2.10-i386-3 is installed

libX11.so.6 is needed by gentoo-0.11.37-1.fr
/usr/X11R6/lib/libX11.so.6 is a SYMLINK to libX11.so.6.2 (located in same direcetory)

libXext.so.6 is needed by gentoo-0.11.37-1.fr
/usr/X11R6/lib/libXext.so.6 is a SYMLINK to libXext.so.6.4 (located in same directory)

libXi.so.6 is needed by gentoo-0.11.37-1.fr
/usr/X11R6/lib/libXi.so.6 is a SYMLINK to libXi.so.6.0 (located in same directory)

libc.so.6 is needed by gentoo-0.11.37-1.fr
libc.so.6(GLIBC_2.0) is needed by gentoo-0.11.37-1.fr
libc.so.6(GLIBC_2.1) is needed by gentoo-0.11.37-1.fr
libc.so.6(GLIBC_2.2) is needed by gentoo-0.11.37-1.fr
libc.so.6(GLIBC_2.2.4) is needed by gentoo-0.11.37-1.fr
libc.so.6(GLIBC_2.3) is needed by gentoo-0.11.37-1.fr
/lib/libc.so.6 is a SYMLINK to libc.2.3.2.so (located in same directory)

libdl.so.2 is needed by gentoo-0.11.37-1.fr
/lib/libdl.so.2 is a SYMLINK to libc.2.3.2.so (located in same directory)

libfam.so.0 is needed by gentoo-0.11.37-1.fr
NOT FOUND

libgdk-1.2.so.0 is needed by gentoo-0.11.37-1.fr
/usr/lib/libgdk-1.2.so.0 is a SYMLINK to libgdk-1.2.so.0.9.1 (located in same directory)

libglib-1.2.so.0 is needed by gentoo-0.11.37-1.fr
/usr/lib/libglib-1.2.so.0 is a SYMLINK to libglib-1.2.so.0.0.10 (located in same directory)

libgmodule-1.2.so.0 is needed by gentoo-0.11.37-1.fr
/usr/lib/libgmodule-1.2.so.0 is a SYMLINK to libgmodule-1.2.so.0,0,10 (located in same directory)

libgtk-1.2.so.0 is needed by gentoo-0.11.37-1.fr
/usr/lib/libgtk-1.2.so.0 is a SYMLINK to libgtk-1.2.so.0.9.1 (located in same directory)

libm.so.6 is needed by gentoo-0.11.37-1.fr
/lib/libm.so.6 is a SYMLINK to libm.2.3.2.so (located in same directory)


My system path:
PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/lib:/usr/games:/opt/kde/bin:/usr/lib/qt-3.2.1/bin:.

The above files are located in:
/lib (included in the PATH)
/usr/lib (not included)
/usr/x11r6/lib (not included in PATH)

've searched through numerous postings on similar topics, but all the answers seemed to be more technical than the questions.

I've also had similar problems installing from source, thought this should be an easier place to start.

I am using Slackware 9.1, with a fairly complete installation.

Rob Jacox
hughesjr
slackware doesn't use RPM as it's default package manager ... and I would not install rpm's on slackware. RPM is RedHat Package Manager ...

RPM creates a database of dependancy information that makes all the programs work together with each other (supposedly laugh.gif ) ... when you install a RPM system (RedHat, SUSE, Mandrake, others) all the system packages that are installed and their versions are tracked in the RPM Database.

It can work on slackware ... but you will NEVER meet your dependancies because all the system packages were not installed via RPM ... slackware installed them differently, so accorddig to the RPM database, they are not installed!

In an emergency (like in the case of ATI drivers only being supplied in a generic RPM), you can use the program rpm2tgz to create a tgz file and then install that the way you install all tgz files in slackware ... however, dependancies may not work and the program may have other OS specific things compiled in if it is provided as a RedHat or SUSE or Mandrake or Fedora RPM.

It is better to find that program packaged for slackware ... or to use the program SWareT to find programs for slackware.

If you can't find the program you want in a slackware package, then compile it from the source...
robjacox
I was using the KDE Package Manager, which is of course running over the top of Slackware. That explains why I've been so unsuccessful installing packages!

Moving on....

I did try installing the .tgz for Gentoo, when running ./configure, this is the end result:

[root] /gentoo-0.11.37: ./configure
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

[root] /gentoo-0.11.37:


What does that last line mean?

Rob Jacox
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.