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

libtensorflow.so: .dynsym local symbol at index 3 (>= sh_info of 3) #74

Closed
Archie1978 opened this issue Oct 16, 2022 · 2 comments
Closed

Comments

@Archie1978
Copy link

Hello,
I read from the forumtensorflow that it was necessary to use your lib for writtine tensorflow with GOlang.
I was intalled the lib C tensorflow but I had this probleme. Apparently, I have to use the gold linker to compile.

Do you have a solution, for user -fuse-ld=gold with gcc ?

@Archie1978
Copy link
Author

I had added

// #cgo LDFLAGS: -fuse-ld=gold

in my main.go.
You have to clean the cache into "rm -rf ~/.cache/go-build/*"

@galeone
Copy link
Owner

galeone commented Oct 16, 2022

This is not an error, is just a warning you could ignore.

Your solution, anyway, is OK, because the gold linker just does not produce this warning when linking with a library with an invalid symbol table (maybe there's something wrong in how the libtensorflow.so has been created by Google)

@galeone galeone closed this as completed Oct 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants