Knowledgebase

yum shows "package alt-libgd requires libavif.so.14()(64bit)" errors

The error message you're seeing, package alt-libgd requires libavif.so.14()(64bit), indicates that the alt-libgd package has a dependency on a specific version of the libavif library.

To resolve this issue, you have a few options:

1. Install libavif Package:

  1. Search for the libavif package using your package manager. The package name might be slightly different depending on your Linux distribution.

    For example, in CentOS or RHEL, you can run:

    bash

 

  • sudo yum search libavif
  • Install the appropriate version of libavif:

    bash

 

  1. sudo yum install libavif

2. Upgrade alt-libgd:

If you already have an older version  alt-libgd installed, you might need to upgrade it to a version that is compatible with the required libavif library.

bash
sudo yum update alt-libgd

3. Check Repository Configuration:

Ensure that your package repositories are properly configured. Sometimes, missing or misconfigured repositories can cause dependency issues.

4. Compile libavif from Source:

If a compatible version of libavif is not available in your package manager, you may need to compile it from the source. This can be more complex and might require additional dependencies.

5. Contact the Package Maintainer:

If you're using a specific repository or third-party package, consider reaching out to the maintainers or support channels for guidance on resolving this dependency issue.

6. Temporary Workaround:

If none of the above solutions work, and you're not using the features provided by alt-libgd that require, you might consider removing alt-libgd them temporarily. However, be cautious, as this could potentially break other dependencies.

bash
sudo yum remove alt-libgd

Please be aware that removing packages can have unintended consequences, so proceed with caution and make sure to back up important data before making significant changes to your system. Always consult the official documentation and support channels for your specific Linux distribution if you encounter dependency issues.

 
  • 0 Users Found This Useful
Was this answer helpful?