macos rpm-python macos _rpm.so fails: symbol not found in flat namespace '_lua_strlen' #2693
Unanswered
jayvdb
asked this question in
Everyday usage
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to modify https://github.com/Homebrew/homebrew-core/blob/master/Formula/rpm.rb to build the Python RPM bindings, and it builds correctly, but then
import rpm
results inInitially I was building with just adding
depends_on "python@3.10"
and--enable-python
, but then I tried also enabling plugins, but that doesnt seem to have any effect.I've also tried removing the patch https://raw.githubusercontent.com/Homebrew/formula-patches/03cf8088210822aa2c1ab544ed58ea04c897d9c4/libtool/configure-big_sur.diff, mentioned at https://github.com/Homebrew/homebrew-core/blob/master/Formula/rpm.rb#L37-L38 .
My guess is that lua is being linked with "two-level namepaces", and rpm isnt, hence the incompatibility. But I am still a babe in these woods and hopefully someone can point me in the right direction.
Beta Was this translation helpful? Give feedback.
All reactions