Hi there,

I'm recently trying to write a flight sql server following the sqlite
example. However, it throws error "ld: library not found for
-larrow_flight_sql_static" during compiling. My arrow's installed via vcpkg
and I'm sure libarrow_flight_sql.a is in both installed/x64-osx/debug/lib
and installed/x64-osx/lib. And I have following code in the CMakeLists.txt

...
target_link_libraries(${TARGET_NAME}
        PUBLIC
            arrow_flight_sql_static gRPC::grpc++ protobuf::libprotobuf
            arrow_static ...

I've checked arrow official doc but seems flight-sql-related content not
there yet. Do you have any idea how to fix this? Many thanks in advance.


Best Regards,
Zimo Zhang

Reply via email to