novi/mysql-swift

Library not found

Closed this issue · 1 comments

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 :)

If someone else has this problem, I had to add "/usr/local/ssl/lib" to the library seach paths in the project build settings.