Library not found
Closed this issue · 1 comments
ebprupesh commented
Please help,
when using this command "swift build -Xlinker -L/usr/local/lib -Xcc -I/usr/local/include -Xcc -I/usr/local/include/mysql" from terminal the project builds successfully.
But when building via xcode it gives me error
ld: library not found for -lssl
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Sorry found the solution :)
Deleted user commented
If someone else has this problem, I had to add "/usr/local/ssl/lib" to the library seach paths in the project build settings.