Skip to content

Commit

Permalink
Fix order of azure static library linking (#4171)
Browse files Browse the repository at this point in the history
This solves the missing symbol error by linking the azure-storage-common
library before the azure-storage-blobs library.

Error solved:
```
libtiledb.so.2.16: undefined symbol: _ZN5Azure7Storage9_internal23UrlEncodeQueryParameterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
```
  • Loading branch information
Shelnutt2 authored Jul 14, 2023
1 parent 4af3705 commit 153fe28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tiledb/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -545,8 +545,8 @@ if (TILEDB_AZURE)
endif()
target_link_libraries(TILEDB_CORE_OBJECTS_ILIB
INTERFACE
Azure::azure-storage-blobs
Azure::azure-storage-common
Azure::azure-storage-blobs
Azure::azure-core
LibXml2::LibXml2
LibLZMA::LibLZMA
Expand All @@ -562,8 +562,8 @@ if (TILEDB_AZURE)
endif()
target_link_libraries(TILEDB_CORE_OBJECTS_ILIB
INTERFACE
Azure::azure-storage-common
Azure::azure-storage-blobs
Azure::azure-storage-common
Azure::azure-core
LibXml2::LibXml2)
if(WIN32)
Expand Down

0 comments on commit 153fe28

Please sign in to comment.