Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mod_oauth2 3.3.1 does not install on fedora 37 #49

Open
salpcnsi opened this issue Jul 10, 2023 · 5 comments
Open

mod_oauth2 3.3.1 does not install on fedora 37 #49

salpcnsi opened this issue Jul 10, 2023 · 5 comments

Comments

@salpcnsi
Copy link

Tried to install mod_oauth2 3.3.1 using following command:
[root@localhost ~]# yum localinstall mod_oauth2-3.3.1-1.el9.x86_64.rpm
Last metadata expiration check: 2:35:50 ago on Mon 10 Jul 2023 02:21:27 PM EDT.
Error:
Problem: conflicting requests

  • nothing provides libjansson.so.4(libjansson.so.4)(64bit) needed by mod_oauth2-3.3.1-1.el9.x86_64 from @commandline
    (try to add '--skip-broken' to skip uninstallable packages)

I do have libjansson.so.4 at /usr/lib64/libjansson.so.4 ( part of the jansson package).

why is this dependency failing?

Thanks.

@zandbelt
Copy link
Member

where did you get libjansson from?

@salpcnsi
Copy link
Author

salpcnsi commented Jul 10, 2023

From fedora:
dnf install jansson
rpm -qa | grep jansson
jansson-2.13.1-5.fc37.x86_64

salpekarg1@localhost ~]$ ls -l /usr/lib64/libjan*
lrwxrwxrwx. 1 root root 20 Jul 21 2022 /usr/lib64/libjansson.so.4 -> libjansson.so.4.13.0
-rwxr-xr-x. 1 root root 62168 Jul 21 2022 /usr/lib64/libjansson.so.4.13.0

@zandbelt
Copy link
Member

it seems to be due to the differences between Fedora and RHEL; RockyLinux/CentOS and AlmaLinux should be more compatible with RHEL; alternatively you could try and ignore the failing dependency

@salpcnsi
Copy link
Author

salpcnsi commented Jul 10, 2023 via email

@salpcnsi
Copy link
Author

salpcnsi commented Jul 10, 2023

Here is how I got this to work on Fedora 37:

For fedora 37:

dnf install curl hiredis jansson
dnf install cjose liboauth2 liboauth2-apache memcached libmemcached

wget https://github.com/OpenIDC/mod_oauth2/releases/download/v3.3.1/mod_oauth2-3.3.1-1.el9.x86_64.rpm

rpm --nodeps -ihv mod_oauth2-3.3.1-1.el9.x86_64.rpm

Notice --nodeps flag to ignore dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants