GORM Playground Link
I can not run the ./test.sh form goplayground thus no playground available
Error is gorm.io/gen/examples/dal: cannot find module providing package gorm.io/gen/examples/dal
As I can not pass it I do not know how to change test file for my fail case. But I will provide a complete git hub repo for test
Step to reproduced
On ubuntu 24.04 system do - Checkout https://github.com/sunshine69/test-gorm-build-fail-sqlite3-icu - cd to root dir - Run ./build.sh
Get error
./build.sh
# command-line-arguments
/mnt/live/memory/images/002-ubuntu-devtool-x86_64.xzm/opt/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
/usr/bin/gcc -m64 -s -o $WORK/b001/exe/a.out -Wl,--export-dynamic-symbol=_cgo_panic -Wl,--export-dynamic-symbol=_cgo_topofstack -Wl,--export-dynamic-symbol=authorizerTrampoline -Wl,--export-dynamic-symbol=callbackTrampoline -Wl,--export-dynamic-symbol=commitHookTrampoline -Wl,--export-dynamic-symbol=compareTrampoline -Wl,--export-dynamic-symbol=crosscall2 -Wl,--export-dynamic-symbol=doneTrampoline -Wl,--export-dynamic-symbol=preUpdateHookTrampoline -Wl,--export-dynamic-symbol=rollbackHookTrampoline -Wl,--export-dynamic-symbol=stepTrampoline -Wl,--export-dynamic-symbol=updateHookTrampoline -Wl,--compress-debug-sections=zlib /tmp/go-link-299938566/go.o /tmp/go-link-299938566/000000.o /tmp/go-link-299938566/000001.o /tmp/go-link-299938566/000002.o /tmp/go-link-299938566/000003.o /tmp/go-link-299938566/000004.o /tmp/go-link-299938566/000005.o /tmp/go-link-299938566/000006.o /tmp/go-link-299938566/000007.o /tmp/go-link-299938566/000008.o /tmp/go-link-299938566/000009.o /tmp/go-link-299938566/000010.o /tmp/go-link-299938566/000011.o /tmp/go-link-299938566/000012.o /tmp/go-link-299938566/000013.o /tmp/go-link-299938566/000014.o /tmp/go-link-299938566/000015.o /tmp/go-link-299938566/000016.o /tmp/go-link-299938566/000017.o /tmp/go-link-299938566/000018.o /tmp/go-link-299938566/000019.o /tmp/go-link-299938566/000020.o /tmp/go-link-299938566/000021.o /tmp/go-link-299938566/000022.o /tmp/go-link-299938566/000023.o /tmp/go-link-299938566/000024.o /tmp/go-link-299938566/000025.o /tmp/go-link-299938566/000026.o /tmp/go-link-299938566/000027.o /tmp/go-link-299938566/000028.o /tmp/go-link-299938566/000029.o /tmp/go-link-299938566/000030.o -O2 -g -lm -licuuc -licui18n -ldl -O2 -g -licui18n.57 -licuuc.57 -O2 -g -lpthread -no-pie
/usr/bin/ld: cannot find -licui18n.57: No such file or directory
/usr/bin/ld: cannot find -licuuc.57: No such file or directory
collect2: error: ld returned 1 exit status
It is not the fault of the mattn sqlite3. Prove that, run the script build-only-sqlite3.sh should return success.
The gorm code is copied and paste from the example https://github.com/mattn/go-sqlite3/blob/master/_example/simple/simple.go
Comment From: github-actions[bot]
The issue has been automatically marked as stale as it missing playground pull request link, which is important to help others understand your issue effectively and make sure the issue hasn't been fixed on latest master, checkout https://github.com/go-gorm/playground for details. it will be closed in 30 days if no further activity occurs. if you are asking question, please use the Question template, most likely your question already answered https://github.com/go-gorm/gorm/issues or described in the document https://gorm.io ✨ Search Before Asking ✨