Skip to content
New issue

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

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

Already on GitHub? # to your account

Precompile platform specific releases #533

Open
mensfeld opened this issue Dec 11, 2024 · 2 comments
Open

Precompile platform specific releases #533

mensfeld opened this issue Dec 11, 2024 · 2 comments
Assignees

Comments

@mensfeld
Copy link
Member

No description provided.

@mensfeld mensfeld self-assigned this Dec 11, 2024
@mensfeld
Copy link
Member Author

not going to be easy: ref crazywhalecc/static-php-cli#256

@mensfeld
Copy link
Member Author

with those:

recipe.configure_options = [
  "--host=#{recipe.host}",
  "--enable-static",
  "--enable-shared",
  "--enable-ssl",       # Keep SSL support
  "--enable-sasl",      # Keep SASL support
  "--disable-curl",     # Remove curl to avoid dependency issues
  "--enable-zstd",      # Keep compression
  "--enable-lz4-ext",  # Use built-in LZ4 instead of external
  "--enable-regex-ext" # Use built-in regex instead of external
]

we end up with:

[ext (main)]$ ldd librdkafka.so 
	linux-vdso.so.1 (0x00007ffd644f9000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fefb1c68000)
	libsasl2.so.2 => /lib/x86_64-linux-gnu/libsasl2.so.2 (0x00007fefb1c4d000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fefb1a24000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fefb24dd000)

which should be good enough I guess

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

No branches or pull requests

1 participant