Upon attempting to deploy my django app, I kept on running on this error:
Cannot find libsystemd or libsystemd-journal:
Package libsystemd was not found in the pkg-config search path.
Perhaps you should add the directory containing `libsystemd.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘libsystemd’ found
I checked my pkgconfig folder and initially did not see the ‘libsystemd.pc’ file it was looking for. Upon reading more about the file, apparently it was replaced by ‘systemd.pc’ after new releases. I tried making a copy of that file and renaming it to ‘libsystemd.pc’ to see if that will solve the issue but it doesn’t. Hoping to get targeted feedbacks here as I really have not seen the exact problem anywhere else.