Closed Balavva-Mirji closed 10 months ago
Native library is able to build locally:
file libbrotli.so libbrotli.so: ELF 64-bit LSB shared object, 64-bit PowerPC or cisco 7500, version 1 (SYSV), dynamically linked, BuildID[sha1]=8492ac089bfeacce07e548ac68bd3a82f8238447, not stripped
Most likely this is due to wrong architecture name. Try to print the os.arch
value and see.
Do a PR so I can see the build logs.
Most likely this is due to wrong architecture name. Try to print the
os.arch
value and see.
it's ppc64le
@hyperxpro Thanks for pointing it out. It' working fine now. Will come up with PR.
Perfect! Sorry, I forgot to follow up since I was on vacation. Looking forward to your PR. :)
@hyperxpro I need a assistance from you before raising the PR. Like do we need to provide any ppc64le machine? Could you please confirm on this..
https://github.com/hyperxpro/Brotli4j/pull/102
Check this. You need to provide CI build, native module directory and add new architecture type in main module to auto load.
@hyperxpro thanks for the reply. I have gone through above PR. Made the changes on my forked repo. Reference: https://github.com/Balavva-Mirji/Brotli4j/commit/bbcc352ba5b6ea556693766118086f27f072d76f And it works perfectly on ppc64le local machine. Just curious on which machine s390x native builds are running? Because in the above PR, I don't see any VM providing which is specific to s390x.
You need to add it to CI like this:
@hyperxpro can we connect on this? if you have sometime
Sure, hit me on Discord: hyperx_pro
I am sorry, didn't get you
Mhmm, are you looking to DM for help? If yes then Discord.
Yes, I got that. Not getting that Discord thing
Looks like you're not familiar with Discord 😅
Nvm, Just do a PR with whatever you have and I will take care of CI builds.
Hello, we are trying to provide ppc64le support for this repo. We are getting below error while testing it on ppc64le.
To Reproduce Steps to reproduce the behavior:
Note: After building brotli native library on ppc64le, we have set LD_LIBRARY_PATH.
Expected behavior It should not thrown the above error which I mentioned as we built brotli native on ppc64le.
Logs
Platform (please complete the following information):
Additional context We have replicated this PR changes on ppc64le local machine.
Kindly let me know if I am missing anything here or if you need any other information on this, I am exploring further on this. Any suggestions/comments are highly appreciated. Thanks in advance!