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

ld: warning: ignoring duplicate libraries: '-lproc' #192

Closed
istalker2 opened this issue Sep 22, 2023 · 0 comments
Closed

ld: warning: ignoring duplicate libraries: '-lproc' #192

istalker2 opened this issue Sep 22, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@istalker2
Copy link

ld: warning: ignoring duplicate libraries: '-lproc' warning is issued every time I compile a project (macOS ARM64 with XCode 15 installed) that has go-sysinfo as an indirect dependency. XCode 15 added a lot of new warnings and the reason for this one, as I believe is that #cgo LDFLAGS:-lproc specified 2 times in the package in process_cgo_darwin.go and syscall_cgo_darwin.go

@andrewkroh andrewkroh added the bug Something isn't working label Sep 22, 2023
xmichelo added a commit to xmichelo/go-sysinfo that referenced this issue Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants