LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-24-2004, 12:24 AM   #1
dwcramer
LQ Newbie
 
Registered: Sep 2003
Location: Kansas
Distribution: Fedora Core 5
Posts: 2

Rep: Reputation: 0
how to solve failed dependency when dependency exists


Hello all,

Can someone tell me how to resolve this problem? I'm trying to install the RPM file
<pips-spr300_310-cups-2.6.2-1.i386.rpm> so I can install my printer, an Epson Stylus
Photo R300. I found both the RPM and the .tar file on Epson's site. The .tar file is <pips-spr300_310-2.6.2> and I have searched everywhere and tried everything I thought
might help, but the following is returned whenever I try to install the RPM:

[root@localhost dcramer]# cd /home/dcramer/rpms_files
[root@localhost rpms_files]# rpm -iv pips-spr300_310-cups-2.6.2-1.i386.rpm
error: Failed dependencies:
libcrypto.so.0.9.6 is needed by pips-spr300_310-cups-2.6.2-1
libssl.so.0.9.6 is needed by pips-spr300_310-cups-2.6.2-1
[root@localhost rpms_files]#

even though both files exist in /usr/lib. I also tried copying both files to the /usr/local/lib
directory with no change. The only thing I haven't tried is trying to create a link to the RPM
but I don't know how to proceed.

On the other hand, if I try to install from the .tar file, I get the following:

[root@localhost gz_files]# cd /home/dcramer/gz_files/pips-spr300_310-2.6.2
[root@localhost pips-spr300_310-2.6.2]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
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 a BSD-compatible install... /usr/bin/install -c
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for cups-config... yes
checking for dlopen in -ldl... yes
checking for pthread_create in -lpthread... yes
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 0.99.7... yes
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for strerror in -lcposix... no
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for off_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for pid_t... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... (cached) yes
checking for working vfork... (cached) yes
checking whether gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for working malloc... yes
checking for working memcmp... yes
checking return type of signal handlers... void
checking for alarm... yes
checking for gettimeofday... yes
checking for memset... yes
checking for mkfifo... yes
checking for select... yes
checking for socket... yes
checking for strcspn... yes
checking for strstr... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ranlib... (cached) ranlib
checking for inline... inline
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... ./config.rpath: ./config.rpath: No such file or directory
done
checking for iconv... yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking for limits.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getc_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... bison
checking version of bison... 1.875, ok
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating dtrfilter/Makefile
config.status: creating ekpd/Makefile
config.status: creating ekpd/rc/Makefile
config.status: creating ekpnavi/Makefile
config.status: creating ekpstm/Makefile
config.status: creating freset/Makefile
config.status: creating intl/Makefile
config.status: creating layout_script/Makefile
config.status: creating lib/Makefile
config.status: creating pixmaps/Makefile
config.status: creating po/Makefile.in
config.status: creating ppd/Makefile
config.status: creating setup/Makefile
config.status: creating redhat/Makefile
config.status: creating doc/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
config.status: executing default-2 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
configure: configuring in libltdl
configure: running /bin/sh './configure' --prefix=/usr --enable-ltdl-convenience --cache-file=/dev/null --srcdir=.
loading cache /dev/null
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for working const... yes
checking for inline... inline
checking for Cygwin environment... no
checking for mingw32 environment... no
checking how to run the C preprocessor... gcc -E
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking whether gcc supports assert without backlinking...
checking which extension is used for shared libraries... .so
checking which variable specifies run-time library path... LD_LIBRARY_PATH
checking for the default library search path... /lib /usr/lib
checking for objdir... .libs
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen in -ldl... yes
checking for dlerror... yes
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking for argz.h... yes
checking for error_t... yes
checking for argz_append... yes
checking for argz_create_sep... yes
checking for argz_insert... yes
checking for argz_next... yes
checking for argz_stringify... yes
checking for errno.h... yes
checking for malloc.h... yes
checking for memory.h... yes
checking for stdlib.h... yes
checking for stdio.h... yes
checking for ctype.h... yes
checking for unistd.h... yes
checking for dl.h... no
checking for sys/dl.h... no
checking for dld.h... no
checking for string.h... yes
checking for strchr... yes
checking for strrchr... yes
checking for memcpy... yes
checking for memmove... yes
checking for strcmp... yes
updating cache /dev/null
creating ./config.status
creating Makefile
creating config.h
config.h is unchanged
[root@localhost pips-spr300_310-2.6.2]# make
make all-recursive
make[1]: Entering directory `/home/dcramer/gz_files/pips-spr300_310-2.6.2'
Making all in libltdl
make[2]: Entering directory `/home/dcramer/gz_files/pips-spr300_310-2.6.2/libltdl'
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c
rm -f .libs/ltdl.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -fPIC -DPIC -o .libs/ltdl.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -o ltdl.o >/dev/null 2>&1
mv -f .libs/ltdl.lo ltdl.lo
/bin/sh ./libtool --mode=link gcc -g -O2 -o libltdlc.la ltdl.lo -ldl
rm -fr .libs/libltdlc.la .libs/libltdlc.* .libs/libltdlc.*
ar cru .libs/libltdlc.al ltdl.lo
ranlib .libs/libltdlc.al
creating libltdlc.la
(cd .libs && rm -f libltdlc.la && ln -s ../libltdlc.la libltdlc.la)
make[2]: Leaving directory `/home/dcramer/gz_files/pips-spr300_310-2.6.2/libltdl'
Making all in src
make[2]: Entering directory `/home/dcramer/gz_files/pips-spr300_310-2.6.2/src'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DGS_PATH=\"gs\" -DLOCALEDIR=\"/usr/share/locale\" -DPRINTER_MODEL="\"Stylus Photo R300_310\"" -DSPR300_310 -DLIBPATH=\"/usr/lib/libspr300_310.so\" -DRSC_PATH=\"/etc/pipsrc\" -DSPOOL_NAME=\"spr300_310\" -DLOCALE_PATH=\"/usr/share/locale\" -DNAVI_PATH=\"/usr/bin/ekpnavi\" -DDATA_PATH=\"/usr/local/EPKowa/SPR300_310\" -DRULED_PATH=\"/usr/local/EPKowa/SPR300_310/BID.PRN\" -DPATCH_PATH=\"/usr/local/EPKowa/SPR300_310/PATCH.PRN\" -DBAND_PATH=\"/usr/local/EPKowa/SPR300_310/BAND.PRN\" -DCUT_PATH=\"/usr/local/EPKowa/SPR300_310/CUT.PRN\" -D_LPR_DIRECT -fsigned-char -DCUPS_FILTER_PATH=\"/usr/lib/cups/filter\" -g -O2 -Wall -c str.c
../libtool: line 1: s%^.*/%%: No such file or directory
../libtool: line 1: -e: command not found
../libtool: line 1: -e: command not found
../libtool: line 1: -e: command not found
../libtool: line 1: -e: command not found
../libtool: line 1: -e: command not found
../libtool: line 1: -e: command not found
../libtool: line 1: -e: command not found
../libtool: line 1: -e: command not found
../libtool: line 1: -e: command not found
../libtool: line 1: -e: command not found
../libtool: line 1: -e: command not found
../libtool: line 1: -e: command not found
../libtool: line 1: -e: command not found
../libtool: line 1: -e: command not found
../libtool: line 1: -e: command not found
../libtool: line 1: -e: command not found
../libtool: line 1: -e: command not found
../libtool: line 1: -e: command not found
../libtool: line 1: -e: command not found
../libtool: line 1: -e: command not found
../libtool: line 1: -e: command not found
../libtool: line 1: -e: command not found
../libtool: line 1: -e: command not found
../libtool: line 1: -e: command not found
../libtool: line 1: -e: command not found
../libtool: line 1: -e: command not found
../libtool: line 1: -e: command not found
../libtool: line 1: -e: command not found
../libtool: line 1: -e: command not found
../libtool: line 1: -e: command not found
../libtool: line 1: -e: command not found
../libtool: line 1: -e: command not found
../libtool: line 1: -e: command not found
: compile: cannot determine name of library object from `'
make[2]: *** [str.lo] Error 1
make[2]: Leaving directory `/home/dcramer/gz_files/pips-spr300_310-2.6.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dcramer/gz_files/pips-spr300_310-2.6.2'
make: *** [all-recursive-am] Error 2
[root@localhost pips-spr300_310-2.6.2]#

I'm running Fedora Core 2, kernel version 2.6.5-1.358, and gcc 3.4, on an Athlon 900
with 512 MB. If you need more information, let me know. Thanks in advance.


Don Cramer
 
Old 08-24-2004, 01:25 AM   #2
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
Nasty .

Try forcing a non-dependency check:

rpm -Uvh pips-spr300_310-cups-2.6.2-1.i386.rpm --nodeps

Although many would not recommend that, I've got nearly everything I needed installed that way.. including emulators in Sun JDS, and never had any problems...

Good luck!
 
Old 08-24-2004, 09:03 PM   #3
dwcramer
LQ Newbie
 
Registered: Sep 2003
Location: Kansas
Distribution: Fedora Core 5
Posts: 2

Original Poster
Rep: Reputation: 0
how to solve failed dependency when dependency exists

Hi Megaman,

Thanks for your fast reply. I tried the --nodeps switch a couple of days ago and it didn't seem to make a difference. Konsole took several minutes to bring up the command prompt again, the RPM was shown as broken, and synaptic would not allow me to attempt to reinstall. Plus, I still do not have a listing for the R300 in the
driver list. Is there a way to force synaptic to see an individual RPM that has been D/L'd to a (probably) non-standard path? Thanks again.



Don Cramer
 
  


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
failed dependency libXm.so.3 Curtux Mandriva 19 05-04-2011 06:23 AM
Dependency error in apt-get. How to solve? kushalkoolwal Debian 2 11-28-2005 12:36 PM
mkinitrd - Failed Dependency (libc.so.6) d1g1ta7 Linux - Software 3 08-15-2005 08:30 PM
failed dependency vijaysh Debian 1 12-26-2004 03:18 AM
glib >=2.0 failed dependency kwanc Linux - Software 9 02-09-2003 03:38 AM


All times are GMT -5. The time now is 07:33 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration