Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Build for sqlite3 on ubuntu 24.04 fail with link libicu18n #7222

Closed
sunshine69 opened this issue Oct 4, 2024 · 1 comment
Closed

Build for sqlite3 on ubuntu 24.04 fail with link libicu18n #7222

sunshine69 opened this issue Oct 4, 2024 · 1 comment
Assignees
Labels

Comments

@sunshine69
Copy link

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

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

@github-actions github-actions bot added the type:missing reproduction steps missing reproduction steps label Oct 4, 2024
Copy link

github-actions bot commented Oct 4, 2024

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.ioSearch Before Asking

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants