frankenphp sapi dynamic loading #816
Closed
pizzaadoough
started this conversation in
General
Replies: 1 comment
-
gnu-frankenphp is outdated and should not be used. FrankenPHP itself has a script to build and we also integrated a --build-frankenphp option to static-php-cli. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When building the FrankenPHP SAPI using the
gnu-frankenphp
repo scripts, you might run into an issue where dynamic loading doesn’t work. After digging in, it turns out the linker flags--allow-multiple-definition
and--export-dynamic
are missing. Once you add those, dynamic loading should work just fine again.Complete line :
CGO_LDFLAGS="${CGO_LDFLAGS} -Wl,--allow-multiple-definition -Wl,--export-dynamic"
Thanks
Beta Was this translation helpful? Give feedback.
All reactions