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

missing dependency utf8proc_NFKC_Casefold Rocky 8 #296

Closed
tastle73 opened this issue Nov 15, 2024 · 12 comments · Fixed by #300
Closed

missing dependency utf8proc_NFKC_Casefold Rocky 8 #296

tastle73 opened this issue Nov 15, 2024 · 12 comments · Fixed by #300

Comments

@tastle73
Copy link

Description
systemctl started himmelblaud. It failed silently. Found this in syslog: symbol lookup error: /usr/sbin/himmelblaud: undefined symbol: utf8proc_NFKC_Casefold

Steps to Reproduce

  1. systemctl start himmelblaud

Logs and Output

Nov 15 15:42:00 rj systemd[1]: Started Himmelblau Authentication Daemon.
Nov 15 15:42:00 rj himmelblaud[1480534]: /usr/sbin/himmelblaud: symbol lookup error: /usr/sbin/himmelblaud: undefined symbol: utf8proc_NFKC_Casefold
Nov 15 15:42:00 rj systemd[1]: himmelblaud.service: Main process exited, code=exited, status=127/n/a
Nov 15 15:42:00 rj systemd[1]: himmelblaud.service: Failed with result 'exit-code'.

Environment

  • Linux Distro: Rocky 8
  • Package source (distro package/github release/self built): distro RPM
  • Himmelblau Version: 0.7.2
@dmulder
Copy link
Collaborator

dmulder commented Nov 15, 2024

Sorry, I meant to leave a note about this. Rocky/RHEL 8 does not provide utf8proc, AFAIK. You have to build and install it yourself for now. Packaging utf8proc is one of the things on my todo list.

@dmulder
Copy link
Collaborator

dmulder commented Nov 15, 2024

Also, FYI, you have to disable Hello auth on Rocky 8, since it doesn't support openssl 3.

@dmulder
Copy link
Collaborator

dmulder commented Nov 15, 2024

Here are instructions for installing utf8proc:

wget https://github.com/JuliaStrings/utf8proc/archive/refs/tags/v2.6.1.tar.gz -O utf8proc-2.6.1.tar.gz
mkdir -p utf8proc-rocky8
tar -xvf utf8proc-2.6.1.tar.gz -C utf8proc-rocky8 --strip-components=1
cd utf8proc-rocky8
make && sudo make install

@tastle73
Copy link
Author

There is actually a(n) utf8proc RPM. It doesn't seem to have the right symbols in it though?

@dmulder
Copy link
Collaborator

dmulder commented Nov 15, 2024

There is actually a(n) utf8proc RPM. It doesn't seem to have the right symbols in it though?

Hrm, what version is it?

@tastle73
Copy link
Author

tastle73 commented Nov 15, 2024 via email

@dmulder
Copy link
Collaborator

dmulder commented Nov 15, 2024

2.6.1-3.module+el8.7.0+1065+42200b2e

Well that's strange. That's the same version I'm building with. I recall now that the issue I had was that el8 doesn't package the utf8proc devel package, so I'm unable to build against it (no header files, etc). So I fetch the tar and build it myself for that reason.

I'll have to test this myself and see if I can track down the cause.

@tastle73
Copy link
Author

tastle73 commented Nov 18, 2024 via email

@dmulder
Copy link
Collaborator

dmulder commented Nov 18, 2024

What repo do you find the devel package in? I wasn't able to find it.

@dmulder
Copy link
Collaborator

dmulder commented Nov 25, 2024

I think there is a bug in yum. I can see the packages here:
http://downloads.rockylinux.org/pub/rocky/8.10/PowerTools/x86_64/os/Packages/u/

The utf8proc packages in this repo have a different naming scheme than the other packages. Perhaps this is causing a problem?

If I add this repo and update, yum doesn't see them. I can enable devel packages, and then I see an old version of utf8proc-devel, but I can't install it because utf8proc is newer.

@dmulder
Copy link
Collaborator

dmulder commented Nov 25, 2024

Ah, there are some garbage characters in the package filename. No wonder yum can't find them. I've reported this to a guy I know at Rocky Linux.
Meanwhile I'll implement some workaround.

dmulder added a commit that referenced this issue Nov 25, 2024
@dmulder dmulder mentioned this issue Nov 25, 2024
5 tasks
dmulder added a commit that referenced this issue Nov 25, 2024
@dmulder
Copy link
Collaborator

dmulder commented Nov 25, 2024

AH, it's filtered out by a module. Sorry, I'm very unfamiliar with EL distros.
#303
#304

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

Successfully merging a pull request may close this issue.

2 participants