This repository was archived by the owner on Oct 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
This repository was archived by the owner on Oct 17, 2021. It is now read-only.
Could not find or use auto-linked library #28
Copy link
Copy link
Open
Description
Got this error when trying to run the target with the GraphViz package
GraphViz installed with Homebrew, works perfectly as cli in terminal
The issue is with M1 Macs only.
ld: warning: Could not find or use auto-linked library 'gvc'
ld: warning: Could not find or use auto-linked library 'cgraph'
Undefined symbols for architecture arm64:
"_agerrors", referenced from:
GraphViz.attempt<A>(throwing: () -> A) throws -> A in GraphViz.o
"_aglasterr", referenced from:
static GraphViz.Error.(lastErrorMessage in _24C6592C881063ABBFDC7A6D4D4AA881).getter : Swift.String? in GraphViz.o
"_agmemread", referenced from:
closure #1 () -> Swift.UnsafeMutablePointer<__C.Agraph_s>? in closure #1 (Swift.UnsafePointer<Swift.Int8>) throws -> Swift.UnsafeMutablePointer<__C.Agraph_s>? in closure #1 () throws -> Foundation.Data in closure #1 () -> () in GraphViz.Renderer.render(dot: Swift.String, to: GraphViz.Format, on: __C.OS_dispatch_queue, completion: (Swift.Result<Foundation.Data, Swift.Error>) -> ()) -> () in GraphViz.o
"_gvContext", referenced from:
closure #1 () throws -> Foundation.Data in closure #1 () -> () in GraphViz.Renderer.render(dot: Swift.String, to: GraphViz.Format, on: __C.OS_dispatch_queue, completion: (Swift.Result<Foundation.Data, Swift.Error>) -> ()) -> () in GraphViz.o
"_gvFreeContext", referenced from:
$defer #1 () -> () in closure #1 () throws -> Foundation.Data in closure #1 () -> () in GraphViz.Renderer.render(dot: Swift.String, to: GraphViz.Format, on: __C.OS_dispatch_queue, completion: (Swift.Result<Foundation.Data, Swift.Error>) -> ()) -> () in GraphViz.o
"_gvFreeLayout", referenced from:
$defer #2 () -> () in closure #1 () throws -> Foundation.Data in closure #1 () -> () in GraphViz.Renderer.render(dot: Swift.String, to: GraphViz.Format, on: __C.OS_dispatch_queue, completion: (Swift.Result<Foundation.Data, Swift.Error>) -> ()) -> () in GraphViz.o
"_gvFreeRenderData", referenced from:
$defer #3 () -> () in closure #1 () throws -> Foundation.Data in closure #1 () -> () in GraphViz.Renderer.render(dot: Swift.String, to: GraphViz.Format, on: __C.OS_dispatch_queue, completion: (Swift.Result<Foundation.Data, Swift.Error>) -> ()) -> () in GraphViz.o
"_gvLayout", referenced from:
closure #1 () -> Swift.Int32 in closure #3 (Swift.UnsafePointer<Swift.Int8>) throws -> () in closure #1 () throws -> Foundation.Data in closure #1 () -> () in GraphViz.Renderer.render(dot: Swift.String, to: GraphViz.Format, on: __C.OS_dispatch_queue, completion: (Swift.Result<Foundation.Data, Swift.Error>) -> ()) -> () in GraphViz.o
"_gvRenderData", referenced from:
closure #1 () -> Swift.Int32 in closure #4 (Swift.UnsafePointer<Swift.Int8>) throws -> () in closure #1 () throws -> Foundation.Data in closure #1 () -> () in GraphViz.Renderer.render(dot: Swift.String, to: GraphViz.Format, on: __C.OS_dispatch_queue, completion: (Swift.Result<Foundation.Data, Swift.Error>) -> ()) -> () in GraphViz.o
"_gvToolTred", referenced from:
closure #2 () -> Swift.Int32 in closure #1 () throws -> Foundation.Data in closure #1 () -> () in GraphViz.Renderer.render(dot: Swift.String, to: GraphViz.Format, on: __C.OS_dispatch_queue, completion: (Swift.Result<Foundation.Data, Swift.Error>) -> ()) -> () in GraphViz.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
tulushev, sn0kerbuzz and fjvaldera
Metadata
Metadata
Assignees
Labels
No labels