- 
    
Bug
 - 
    Resolution: Fixed
 - 
    
P2: Important
 - 
    6.6.0, 6.8.0, dev
 - 
    None
 - 
    Ubuntu 24.04
 
- 
        
 - 
        f57d15654 (dev), 7d9d1220f (dev), 604bb3bf2 (dev), 3b53aad0b (6.7), 04a4b94e6 (6.7), 565cd685a (6.7), 5c4e32b04 (tqtc/lts-6.5), c07865c6c (tqtc/lts-6.5), 8789961cd (tqtc/lts-6.5)
 
I try to build dev branch and 6.6.0 branch on Ubuntu 23.10. I get error
-- Configuring submodule 'qtserialport' -- Found the following ICU libraries: -- i18n (required): /usr/lib/x86_64-linux-gnu/libicui18n.so -- uc (required): /usr/lib/x86_64-linux-gnu/libicuuc.so -- data (required): /usr/lib/x86_64-linux-gnu/libicudata.so CMake Error at /usr/lib/x86_64-linux-gnu/cmake/zstd/zstdTargets.cmake:42 (message): Some (but not all) targets in this export set were already defined. Targets Defined: zstd::libzstd_shared Targets not yet defined: zstd::libzstd_static
I try do
sudo apt install libzstd-dev
and remove Qt, configure again with the same error.
After I read the same thread. In file toolchain_host.cmake I add
set(FEATURE_zstd OFF)
And now I can configure and build...
Why I can't build with FEATURE_zstd ON?
All my steps in attachment.
- relates to
 - 
                    
QTBUG-104255 Cannot configure static build
-         
 - Closed
 
 -         
 - 
                    
QTBUG-110978 ZSTD: should the preference of the static version be kept?
-         
 - Reported
 
 -         
 - 
                    
QTBUG-139199 qttools configure error if llvm-provided packages are used
-         
 - Closed
 
 -