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

Compilation error: shared_libs/unix_x86_64/Lib/libPDFNetC.so: .dynsym local symbol at index 3 (>= sh_info of 3) #30

Open
loganmzz opened this issue Dec 31, 2024 · 0 comments

Comments

@loganmzz
Copy link

loganmzz commented Dec 31, 2024

Issue

I build my demo project on Linux (WSL or Kubernetes) I have this error:

# go build
/usr/bin/ld: /home/loganmzz/.asdf/installs/golang/1.22.5/packages/pkg/mod/github.com/pdftron/pdftron-go/[email protected]/shared_libs/unix_x86_64/Lib/libPDFNetC.so: .dynsym local symbol at index 3 (>= sh_info of 3)
/usr/bin/ld: /home/loganmzz/.asdf/installs/golang/1.22.5/packages/pkg/mod/github.com/pdftron/pdftron-go/[email protected]/shared_libs/unix_x86_64/Lib/libPDFNetC.so: .dynsym local symbol at index 4 (>= sh_info of 3)
/usr/bin/ld: /home/loganmzz/.asdf/installs/golang/1.22.5/packages/pkg/mod/github.com/pdftron/pdftron-go/[email protected]/shared_libs/unix_x86_64/Lib/libPDFNetC.so: .dynsym local symbol at index 5 (>= sh_info of 3)
/usr/bin/ld: /home/loganmzz/.asdf/installs/golang/1.22.5/packages/pkg/mod/github.com/pdftron/pdftron-go/[email protected]/shared_libs/unix_x86_64/Lib/libPDFNetC.so: .dynsym local symbol at index 3 (>= sh_info of 3)
/usr/bin/ld: /home/loganmzz/.asdf/installs/golang/1.22.5/packages/pkg/mod/github.com/pdftron/pdftron-go/[email protected]/shared_libs/unix_x86_64/Lib/libPDFNetC.so: .dynsym local symbol at index 4 (>= sh_info of 3)
/usr/bin/ld: /home/loganmzz/.asdf/installs/golang/1.22.5/packages/pkg/mod/github.com/pdftron/pdftron-go/[email protected]/shared_libs/unix_x86_64/Lib/libPDFNetC.so: .dynsym local symbol at index 5 (>= sh_info of 3)

Context

  • main.go
package main

import (
	. "github.com/pdftron/pdftron-go/v2"
)

func main() {
	PDFNetInitialize("YOUR_APRYSE_LICENSE_KEY")
}
  • go mod graph
github.com/loganmzz/pdftron-demo github.com/pdftron/pdftron-go/[email protected]
github.com/loganmzz/pdftron-demo [email protected]
[email protected] [email protected]
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

1 participant