You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Very excited to try this out but unfortunately getting a compile error. Below are some details - a snippet from the fatal error is at the end, though I can provide more if useful - thank you!
Hans
g++ (GCC) 11.4.1 20230605 (Red Hat 11.4.1-2)
gcc (GCC) 11.4.1 20230605 (Red Hat 11.4.1-2)
/usr/lib/golang/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
/usr/bin/ld: cannot find -lm: No such file or directory
/usr/bin/ld: cannot find -lm: No such file or directory
/usr/bin/ld: cannot find -lm: No such file or directory
/usr/bin/ld: cannot find -lm: No such file or directory
/usr/bin/ld: cannot find -lgcc_s: No such file or directory
/usr/bin/ld: cannot find -lgcc_s: No such file or directory
/usr/bin/ld: cannot find -lm: No such file or directory
/usr/bin/ld: cannot find -lm: No such file or directory
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello folks,
Very excited to try this out but unfortunately getting a compile error. Below are some details - a snippet from the fatal error is at the end, though I can provide more if useful - thank you!
Hans
g++ (GCC) 11.4.1 20230605 (Red Hat 11.4.1-2)
gcc (GCC) 11.4.1 20230605 (Red Hat 11.4.1-2)
rpm -qa | grep stdc++
libstdc++-11.4.1-2.amzn2023.0.2.x86_64
libstdc++-devel-11.4.1-2.amzn2023.0.2.x86_64
libstdc++-static-11.4.1-2.amzn2023.0.2.x86_64
libstdc++-docs-11.4.1-2.amzn2023.0.2.x86_64
rpm -qa | grep stdc
libstdc++-11.4.1-2.amzn2023.0.2.x86_64
libstdc++-devel-11.4.1-2.amzn2023.0.2.x86_64
libstdc++-static-11.4.1-2.amzn2023.0.2.x86_64
libstdc++-docs-11.4.1-2.amzn2023.0.2.x86_64
rpm -qa | grep glibc
glibc-all-langpacks-2.34-52.amzn2023.0.11.x86_64
glibc-common-2.34-52.amzn2023.0.11.x86_64
glibc-gconv-extra-2.34-52.amzn2023.0.11.x86_64
glibc-2.34-52.amzn2023.0.11.x86_64
glibc-headers-x86-2.34-52.amzn2023.0.11.noarch
glibc-devel-2.34-52.amzn2023.0.11.x86_64
glibc-locale-source-2.34-52.amzn2023.0.11.x86_64
Linux 6.1.97-104.177.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jul 16 15:18:45 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
... php-cli/buildroot/lib/libxml2.a /mnt/build/latest/frankenphp/dist/static-php-cli/buildroot/lib/libz.a /mnt/build/latest/frankenphp/dist/static-php-cli/buildroot/lib/libicui18n.a /mnt/build/latest/frankenphp/dist/static-php-cli/buildroot/lib/libicuio.a /mnt/build/latest/frankenphp/dist/static-php-cli/buildroot/lib/libicuuc.a /mnt/build/latest/frankenphp/dist/static-php-cli/buildroot/lib/libicudata.a /mnt/build/latest/frankenphp/dist/static-php-cli/buildroot/lib/libiconv.a /mnt/build/latest/frankenphp/dist/static-php-cli/buildroot/lib/libcharset.a -lrt -lldap -lgmp -lssl -lcrypto -lz -llber -lgmp -llber -lstdc++ -lgomp -liconv -lgmp /mnt/build/latest/frankenphp/dist/static-php-cli/buildroot/lib/libbz2.a -lrt -lrt -lm -ldl -lpthread -lm -lpthread -lxml2 -liconv -lm -licui18n -licuuc -licudata -lpthread -lm -lz -lssl -lcrypto -lsqlite3 -lz -lcurl -lgcc -lgcc_s -lgcc -lgcc_s -lssl -lcrypto -lz -lbrotlidec -lbrotlicommon -lzstd -lnghttp2 -lxml2 -licui18n -licuio -licuuc -licudata -liconv -lcharset -lssl -lcrypto -lz -lssh2 -lssl -lcrypto -lz -lssl -lcrypto -lz -lbrotlidec -lzstd -lnghttp2 -lssh2 -lssl -lcrypto -lxml2 -liconv -lm -licui18n -licuuc -licudata -lpthread -lm -lz -lssl -lcrypto -lz -lpng16 -lavif -lwebp -lsharpyuv -ljpeg -lfreetype -lz -lpng16 -lMagickWand-7.Q16HDRI -ltiff -lm -lfreetype -lpng16 -lz -ljpeg -lpng16 -lz -lwebpmux -lwebpdemux -lwebp -lsharpyuv -lwebp -lsharpyuv -lxml2 -liconv -lm -licui18n -licuuc -licudata -lpthread -lm -lz -lzip -lbz2 -lssl -lcrypto -lz -lm -lpthread -lgomp -lm -lMagickCore-7.Q16HDRI -ltiff -lm -lfreetype -lpng16 -lz -ljpeg -lpng16 -lz -lwebpmux -lwebpdemux -lwebp -lsharpyuv -lwebp -lsharpyuv -lxml2 -liconv -lm -licui18n -licuuc -licudata -lpthread -lm -lz -lzip -lbz2 -lssl -lcrypto -lz -lm -lpthread -lgomp -lm -licuio -licui18n -licuuc -licudata -lpthread -lm -lonig -lrt -lsqlite3 -lxml2 -liconv -lm -licui18n -licuuc -licudata -lpthread -lm -lz -lxml2 -liconv -lm -licui18n -licuuc -licudata -lpthread -lm -lz -lsodium -lxml2 -liconv -lm -licui18n -licuuc -licudata -lpthread -lm -lz -lxml2 -liconv -lm -licui18n -licuuc -licudata -lpthread -lm -lz -lxml2 -liconv -lm -licui18n -licuuc -licudata -lpthread -lm -lz -lzip -lzstd -lz -lssl -lcrypto -lstdc++'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build2460170602=/tmp/go-build -gno-record-gcc-switches'
github.com/dunglas/frankenphp/caddy/frankenphp
/usr/lib/golang/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
/usr/bin/ld: cannot find -lm: No such file or directory
/usr/bin/ld: cannot find -lm: No such file or directory
/usr/bin/ld: cannot find -lm: No such file or directory
/usr/bin/ld: cannot find -lm: No such file or directory
/usr/bin/ld: cannot find -lgcc_s: No such file or directory
/usr/bin/ld: cannot find -lgcc_s: No such file or directory
/usr/bin/ld: cannot find -lm: No such file or directory
/usr/bin/ld: cannot find -lm: No such file or directory
Beta Was this translation helpful? Give feedback.
All reactions