Find the answer to your Linux question:
Results 1 to 4 of 4
Hi all, I am very new to Linux and I face the following DEPENDENCY problem: Code: [dhiman@localhost matPack]$ rpm -ihv *.rpm error: Failed dependencies: libgd.so.2 is needed by glibc-utils-2.8-3.i386 libpng12.so.0 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2007
    Location
    KOLKATA
    Posts
    40

    Question Dependency problem ..Please send me the link


    Hi all,
    I am very new to Linux and I face the following DEPENDENCY problem:
    Code:
    [dhiman@localhost matPack]$ rpm -ihv *.rpm
    
    error: Failed dependencies:
    
    	libgd.so.2 is needed by glibc-utils-2.8-3.i386
    
    	libpng12.so.0 is needed by glibc-utils-2.8-3.i386
    
    	libz.so.1 is needed by glibc-utils-2.8-3.i386
    
    	libxcb-xlib.so.0 is needed by libX11-1.1.4-1.fc9.i386
    
    	libxcb.so.1 is needed by libX11-1.1.4-1.fc9.i386
    
    	libXp.so.6()(64bit) is needed by libXp-devel-1.0.0-11.fc9.x86_64
    please send me the link where I can get those libraries....

    here I am getting


    libgda-3.1.2-3.fc9.i386.rpm
    libgda-devel-3.1.2-3.fc9.i386..>
    libgda-freetds-3.1.2-3.fc9.i3..>
    libgda-freetds-devel-3.1.2-3...>
    libgda-ldap-3.1.2-3.fc9.i386.rpm
    libgda-ldap-devel-3.1.2-3.fc9..>
    libgda-mdb-3.1.2-3.fc9.i386.rpm
    libgda-mdb-devel-3.1.2-3.fc9...>
    libgda-mysql-3.1.2-3.fc9.i386..>
    libgda-mysql-devel-3.1.2-3.fc..>
    libgda-odbc-3.1.2-3.fc9.i386.rpm
    libgda-odbc-devel-3.1.2-3.fc9..>
    libgda-postgres-3.1.2-3.fc9.i..>
    libgda-postgres-devel-3.1.2-3..>
    libgda-sqlite-3.1.2-3.fc9.i38..>
    libgda-sqlite-devel-3.1.2-3.f..>
    libgda-xbase-3.1.2-3.fc9.i386..>
    libgda-xbase-devel-3.1.2-3.fc..>
    libgdamm-3.0.0-1.fc9.i386.rpm
    libgdamm-d[/I]

    But I actually need libgd.so.2. To get libgd.so.2. which files need to be downloaded?
    I am getting puzzled...please help

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,848
    You would probably find this much easier to accomplish using the package manager. If the package you cant find isn't in the repository, you can still install any dependencies if they're there. The general syntax is:

    Code:
    yum install <packagename>
    Linux user #126863 - see http://linuxcounter.net/

  3. #3
    Just Joined!
    Join Date
    Dec 2007
    Location
    KOLKATA
    Posts
    40

    not worked

    thanks Roxoff..But as the Fc9 machine is not connected to internet yum won't work.Is there any other way out?

  4. #4
    Just Joined!
    Join Date
    Sep 2008
    Location
    Madison, MS
    Posts
    8
    rpm has an argument that allows for automatic resolution of dependencies...
    first get the redhat rpm package for it it should be on the cd you installed from....

    # rpm -ivh rpmdb-redhat*

    then to install software with dependency resolution....

    # rpm -ivh --aid mysql*

    or

    # rpm -ivh --aid rpm-file-name-version.rpm

    this will not work for third party software unless the dependencies are also in the same directory (locally or on a server in a repository) in this case use....

    # rpm --aid -ivh http://installserver.mycorp.com/rpms/mysql*

    or locally...

    # rpm --aid -ivh /home/myname/myrepo/mysql*

    hope that helps

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •