Hi, It seems that you don't have
find_package(ArrowFlightSql REQUIRED) in your CMakeLists.txt. Could you confirm it? Thanks, -- kou In <CAJLfL15v+CrF9+PSKWxFWjSQvmqwcma3CqT7a=ratwjaxax...@mail.gmail.com> "arrow_flight_sql_static" on Fri, 13 May 2022 10:59:17 +0800, Zmoey Zhang <[email protected]> wrote: > 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
