cygwin rebase解决Resource temporarily unavailable

cygwin出错,Resource temporarily unavailable。

cygwin里面生成dll列表:

#find / -path "/cygdrive" -prune -o -name "*dll" > /tmp/dlls.txt #需要再排除/proc /var等

find /bin -name "*dll" > /tmp/dlls.txt

find /usr -name "*dll" >> /tmp/dlls.txt

find /opt -name "*dll" >> /tmp/dlls.txt

find /lib -name "*dll" >> /tmp/dlls.txt

退出cygwin,找到cygwin目录下的ash.exe,双击运行。执行shell命令

/usr/bin/rebaseall -v -T /tmp/dlls.txt

执行完毕,重新进入cygwin

你可能感兴趣的:(cygwin rebase解决Resource temporarily unavailable)