rpm problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hakeem777
    New Member
    • Apr 2010
    • 13

    rpm problem

    I have run the following rpm command:

    rpm -ivh php-gd-5.2.6-2.i386.rpm

    I got these errors:

    error: Failed dependencies:

    libc.so.6 (GLIBC_2.4) is needed by php-gd-5.2.6-2.i386.rpm
    libpng12.so.0 (PNG12_0) is needed by php-gd-5.2.6-2.i386.rpm
    php-common = 5.2.6-2 is needed by php-gd-5.2.6-2.i386.rpm
    rtld (GNU_HAS) is needed by php-gd-5.2.6-2.i386.rpm

    BUT I am sure that libc.so.6 and libpng12.so.0 are located in the same directory where I ran the rpm command. How come rpm cannot recognize the dependencies files even though they are in the same location? Please help to solve the problem. Thanks a lot.


    Regards,
  • chathura86
    New Member
    • May 2007
    • 227

    #2
    i think those files should be installed in the lib /usr/lib folder

    you can use
    yum install php-gd-5.2.6-2.i386.rpm to install the rpm with yum
    if that also failed search for rpms which contains those missing so files and install them

    you can also try
    yum install php-gd also to install it with repo

    Regards

    Comment

    Working...