这是indexloc提供的服务,不要输入任何密码
Skip to content

[Bug]: CANNOT LINK EXECUTABLE "wget": library "libandroid-posix-semaphore.so" not found #27185

@bpsib

Description

@bpsib

Problem description

The wget command isn't working. I get CANNOT LINK EXECUTABLE "wget": library "libandroid-posix-semaphore.so" not found: needed by /data/data/com.termux/files/usr/lib/libuuid.so in namespace (default) when I try running it

What steps will reproduce the bug?

  1. Install Termux
  2. Run pkg install wget
  3. Run wget

What is the expected behavior?

The wget command should run without error

System information

Termux Variables:                                                         
TERMUX_APK_RELEASE=F_DROID                                                
TERMUX_APP_PACKAGE_MANAGER=apt                                            
TERMUX_APP_PID=27950                                                      
TERMUX_APP__DATA_DIR=/data/user/0/com.termux                              
TERMUX_APP__LEGACY_DATA_DIR=/data/data/com.termux                         
TERMUX_APP__SE_FILE_CONTEXT=u:object_r:app_data_file:s0:c38,c257,c512,c768
TERMUX_APP__SE_INFO=default:targetSdkVersion=28:complete                  
TERMUX_IS_DEBUGGABLE_BUILD=0                                              
TERMUX_MAIN_PACKAGE_FORMAT=debian                                         
TERMUX_VERSION=0.118.3                                                    
TERMUX__HOME=/data/data/com.termux/files/home                             
TERMUX__PREFIX=/data/data/com.termux/files/usr                            
TERMUX__ROOTFS_DIR=/data/data/com.termux/files                            
TERMUX__SE_PROCESS_CONTEXT=u:r:untrusted_app_27:s0:c38,c257,c512,c768     
TERMUX__USER_ID=0                                                         
Packages CPU architecture:                                                
aarch64                                                                   
Subscribed repositories:                                                  
# sources.list                                                            
deb https://packages-cf.termux.dev/apt/termux-main stable main            
Updatable packages:                                                       
apt/stable 2.8.1-2 aarch64 [upgradable from: 2.8.1-1]                     
bash/stable 5.3.3-1 aarch64 [upgradable from: 5.2.37-2]                   
bzip2/stable 1.0.8-8 aarch64 [upgradable from: 1.0.8-6]                   
ca-certificates/stable 1:2025.11.04 all [upgradable from: 1:2025.02.25]   
command-not-found/stable 3.2-3 aarch64 [upgradable from: 2.4.0-68]        
coreutils/stable 9.8-1 aarch64 [upgradable from: 9.6-1]                   
curl/stable 8.17.0 aarch64 [upgradable from: 8.12.1]                      
dash/stable 0.5.12-1 aarch64 [upgradable from: 0.5.12]                    
debianutils/stable 5.23.2-1 aarch64 [upgradable from: 5.21]               
dialog/stable 1.3-20240307-1 aarch64 [upgradable from: 1.3-20240307-0]    
diffutils/stable 3.12-2 aarch64 [upgradable from: 3.11]                   
dos2unix/stable 7.5.2-1 aarch64 [upgradable from: 7.5.2]                  
dpkg/stable 1.22.6-5 aarch64 [upgradable from: 1.22.6-1]                  
ed/stable 1.22.2-1 aarch64 [upgradable from: 1.21.1]                      
findutils/stable 4.10.0-1 aarch64 [upgradable from: 4.10.0]               
gawk/stable 5.3.1-2 aarch64 [upgradable from: 5.3.0]                      
gpgv/stable 2.5.11 aarch64 [upgradable from: 2.4.5-3]                     
grep/stable 3.12-2 aarch64 [upgradable from: 3.11]                        
gzip/stable 1.14-1 aarch64 [upgradable from: 1.13]                        
inetutils/stable 2.6-1 aarch64 [upgradable from: 2.6]                     
less/stable 685 aarch64 [upgradable from: 668]                            
libandroid-glob/stable 0.6-3 aarch64 [upgradable from: 0.6-2]             
libandroid-selinux/stable 14.0.0.11-1 aarch64 [upgradable from: 14.0.0.11]
libandroid-support/stable 29-1 aarch64 [upgradable from: 29]              
libassuan/stable 3.0.2-1 aarch64 [upgradable from: 3.0.1-2]               
libbz2/stable 1.0.8-8 aarch64 [upgradable from: 1.0.8-6]                  
libc++/stable 28c-1 aarch64 [upgradable from: 27c]                        
libcap-ng/stable 2:0.8.5-1 aarch64 [upgradable from: 2:0.8.5]             
libcurl/stable 8.17.0 aarch64 [upgradable from: 8.12.1]                   
libevent/stable 2.1.12-3 aarch64 [upgradable from: 2.1.12-2]              
libgcrypt/stable 1.11.2-1 aarch64 [upgradable from: 1.11.0]               
libgmp/stable 6.3.0-2 aarch64 [upgradable from: 6.3.0-1]                  
libgnutls/stable 3.8.10 aarch64 [upgradable from: 3.8.9]                  
libgpg-error/stable 1.55-1 aarch64 [upgradable from: 1.50]                
libiconv/stable 1.18-1 aarch64 [upgradable from: 1.18]                    
libidn2/stable 2.3.8-1 aarch64 [upgradable from: 2.3.7]                   
liblz4/stable 1.10.0-1 aarch64 [upgradable from: 1.10.0]                  
liblzma/stable 5.8.1-1 aarch64 [upgradable from: 5.8.0]                   
libmd/stable 1.1.0-1 aarch64 [upgradable from: 1.1.0]                     
libmpfr/stable 4.2.1-1 aarch64 [upgradable from: 4.2.1]                   
libnettle/stable 3.10.2-1 aarch64 [upgradable from: 3.10.1]               
libnghttp2/stable 1.68.0 aarch64 [upgradable from: 1.65.0]                
libnghttp3/stable 1.12.0 aarch64 [upgradable from: 1.8.0]                 
libnpth/stable 1.6-3 aarch64 [upgradable from: 1.6-2]                     
libsmartcols/stable 2.41.2 aarch64 [upgradable from: 2.40.2-3]            
libssh2/stable 1.11.1-1 aarch64 [upgradable from: 1.11.1]                 
libtirpc/stable 1.3.7-1 aarch64 [upgradable from: 1.3.6]                  
libunbound/stable 1.24.1-1 aarch64 [upgradable from: 1.22.0]              
libunistring/stable 1.3-1 aarch64 [upgradable from: 1.3]                  
lsof/stable 4.99.5-2 aarch64 [upgradable from: 4.99.4]                    
nano/stable 8.6-1 aarch64 [upgradable from: 8.3]                          
ncurses/stable 6.5.20240831-3 aarch64 [upgradable from: 6.5.20240831-2]          
net-tools/stable 2.10.0-1 aarch64 [upgradable from: 2.10.0]                      
patch/stable 2.8-1 aarch64 [upgradable from: 2.7.6-4]                            
pcre2/stable 10.47 aarch64 [upgradable from: 10.45]                              
procps/stable 3.3.17-6 aarch64 [upgradable from: 3.3.17-5]                       
psmisc/stable 23.7-1 aarch64 [upgradable from: 23.7]                             
readline/stable 8.3.1-1 aarch64 [upgradable from: 8.2.13]                        
sed/stable 4.9-2 aarch64 [upgradable from: 4.9-1]                                
tar/stable 1.35-1 aarch64 [upgradable from: 1.35]                                
termux-am-socket/stable 1.5.0-1 aarch64 [upgradable from: 1.5.0]                 
termux-am/stable 0.8.0-2 all [upgradable from: 0.8.0-1]                          
termux-core/stable 0.4.0-1 aarch64 [upgradable from: 0.3.0]                      
termux-exec/stable 1:2.4.0-1 aarch64 [upgradable from: 1:2.3.0]                  
termux-keyring/stable 3.13 all [upgradable from: 3.12-1]                         
termux-tools/stable 1.46.0+really1.45.0-1 aarch64 [upgradable from: 1.45.0]      
unzip/stable 6.0-10 aarch64 [upgradable from: 6.0-9]                             
util-linux/stable 2.41.2 aarch64 [upgradable from: 2.40.2-3]                     
xxhash/stable 0.8.3-1 aarch64 [upgradable from: 0.8.3]                           
xz-utils/stable 5.8.1-1 aarch64 [upgradable from: 5.8.0]                         
zlib/stable 1.3.1-1 aarch64 [upgradable from: 1.3.1]                             
zstd/stable 1.5.7-1 aarch64 [upgradable from: 1.5.7]                             
termux-tools version:                                                            
1.45.0                                                                           
Android version:                                                                 
14                                                                               
Kernel build information:                                                        
Linux localhost 5.4.249-qgki-28389435-abX210XXS1BXD1 #1 SMP PREEMPT Wed Apr 3 11:
37:10 +07 2024 aarch64 Android                                                   
Device manufacturer:                                                             
samsung                                                                          
Device model:                                                                    
SM-X210                                                                          
Supported ABIs:                                                                  
SUPPORTED_ABIS: arm64-v8a,armeabi-v7a,armeabi                                    
SUPPORTED_32_BIT_ABIS: armeabi-v7a,armeabi                                       
SUPPORTED_64_BIT_ABIS: arm64-v8a                                                 
LD Variables:                                                                    
LD_LIBRARY_PATH=                                                                 
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec-ld-preload.so
Installed termux plugins:                                                  
com.termux.api versionCode:1002

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug reportSomething is not working properly

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions