Jump to content

[New 2024] Install Theos on Windows 10/11 (Subsystem for Linux)


76 posts in this topic

Recommended Posts

Posted (edited)

Hi. I tried to compile a open sourced project, but I got this error:

 

==> Signing LittleX…
make[1]: Entering directory '/home/LittleX-master2/settings'
signing bundle
bash: ldid: command not found
Makefile:16: recipe for target 'after-all' failed
make[1]: *** [after-all] Error 127
make[1]: Leaving directory '/home/LittleX-master2/settings'
/opt/theos/makefiles/master/aggregate.mk:12: recipe for target 'internal-all' failed
make: *** [internal-all] Error 2

I tried it with cygwin and now with ubuntu subsystem.

What can I do?

Sorry for my bad english...

Updated by ra1nb0wm4n
Posted

wget http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libstdc++6_5.4.0-6ubuntu1~16.04.4_amd64.deb -O libstdc++.deb


--2018-03-08 01:00:37-- http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libstdc++6_5.4.0-6ubuntu1~16.04.4_amd64.deb
Resolving security.ubuntu.com (security.ubuntu.com)... 91.189.88.161, 91.189.91.26, 91.189.88.149, ...
Connecting to security.ubuntu.com (security.ubuntu.com)|91.189.88.161|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-03-08 01:00:38 ERROR 404: Not Found.

 

i got this error i think the link is not working :( @Klepto 

Posted
On 2/20/2018 at 4:49 PM, ra1nb0wm4n said:

Hi. I tried to compile a open sourced project, but I got this error:

 

==> Signing LittleX…
make[1]: Entering directory '/home/LittleX-master2/settings'
signing bundle
bash: ldid: command not found
Makefile:16: recipe for target 'after-all' failed
make[1]: *** [after-all] Error 127
make[1]: Leaving directory '/home/LittleX-master2/settings'
/opt/theos/makefiles/master/aggregate.mk:12: recipe for target 'internal-all' failed
make: *** [internal-all] Error 2

I tried it with cygwin and now with ubuntu subsystem.

What can I do?

Sorry for my bad english...

Seems like you’re missing ldid. Look that up on GitHub, there’s one for Windows/Theos. Although I never got that error myself.

1 hour ago, klashksa said:

wget http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libstdc++6_5.4.0-6ubuntu1~16.04.4_amd64.deb -O libstdc++.deb


--2018-03-08 01:00:37-- http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libstdc++6_5.4.0-6ubuntu1~16.04.4_amd64.deb
Resolving security.ubuntu.com (security.ubuntu.com)... 91.189.88.161, 91.189.91.26, 91.189.88.149, ...
Connecting to security.ubuntu.com (security.ubuntu.com)|91.189.88.161|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-03-08 01:00:38 ERROR 404: Not Found.

 

i got this error i think the link is not working :( @Klepto 

Search the filename on Google and you can find an alternative download link.

They may have removed this version because a new version was released perhaps.

https://packages.ubuntu.com/xenial-updates/amd64/libstdc++6/download

Posted

thank u @DiDA  i fixed by this link http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-5/libstdc++6_5.4.0-6ubuntu1~16.04.9_amd64.deb

 

before change a Link :

cd /tmp
wget http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libstdc++6_5.4.0-6ubuntu1~16.04.4_amd64.deb -O libstdc++.deb
dpkg-deb -x libstdc++.deb libstdc++
cp libstdc++/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21 /usr/lib/x86_64-linux-gnu/
cd /usr/lib/x86_64-linux-gnu/
ln -sf libstdc++.so.6.0.21 libstdc++.so.6

after change a Link :

cd /tmp
wget http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-5/libstdc++6_5.4.0-6ubuntu1~16.04.9_amd64.deb -O libstdc++.deb
dpkg-deb -x libstdc++.deb libstdc++
cp libstdc++/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21 /usr/lib/x86_64-linux-gnu/
cd /usr/lib/x86_64-linux-gnu/
ln -sf libstdc++.so.6.0.21 libstdc++.so.6

after make package  :

root@LAPTOP-MFK83S9U:~/rrr# make package
bash: /opt/theos/toolchain/linux/swift/bin/swift: No such file or directory
> Making all for tweak rrr
bash: /opt/theos/toolchain/linux/swift/bin/swift: No such file or directory
bash: /opt/theos/toolchain/linux/swift/bin/swift: No such file or directory
bash: /opt/theos/toolchain/linux/swift/bin/swift: No such file or directory
bash: /opt/theos/toolchain/linux/swift/bin/swift: No such file or directory
==> Preprocessing Tweak.xm
==> Compiling Tweak.xm (armv7)…
==> Preprocessing Tweak.xm
==> Compiling Tweak.xm (arm64)…
==> Linking tweak rrr (armv7)…
==> Linking tweak rrr (arm64)…
==> Merging tweak rrr
==> Signing rrr
> Making stage for tweak rrr
bash: /opt/theos/toolchain/linux/swift/bin/swift: No such file or directory
dm.pl: building package `com.klashksa.rrr:iphoneos-arm' in `./packages/com.klashksa.rrr_0.0.1-1+debug_iphoneos-arm.deb'

 

After that the hack not worked also the Dylib file size is small not as usual 

 

my dilyb file :

https://ghostbin.com/paste/tjg74

 

.

 

lok

 

 

i fd

Posted
On 2/20/2018 at 4:49 PM, ra1nb0wm4n said:

Hi. I tried to compile a open sourced project, but I got this error:

 

==> Signing LittleX…
make[1]: Entering directory '/home/LittleX-master2/settings'
signing bundle
bash: ldid: command not found
Makefile:16: recipe for target 'after-all' failed
make[1]: *** [after-all] Error 127
make[1]: Leaving directory '/home/LittleX-master2/settings'
/opt/theos/makefiles/master/aggregate.mk:12: recipe for target 'internal-all' failed
make: *** [internal-all] Error 2

I tried it with cygwin and now with ubuntu subsystem.

What can I do?

Sorry for my bad english...

http://iphonedevwiki.net/index.php/Ldid

Posted

I'm getting this error when I run make package:

Hal0405@Nicholas-Laptop:/projects/test$ make package
bash: /opt/theos/toolchain/linux/swift/bin/swift: No such file or directory
mkdir: cannot create directory ‘/projects/test/.theos’: Permission denied
/opt/theos/makefiles/master/rules.mk:93: recipe for target '/projects/test/.theos/build_session' failed
make: *** [/projects/test/.theos/build_session] Error 1

Help would be very appreciated!

Posted

getting this error now when running make package:

Laptop:~/test3$ make package
bash: /opt/theos/toolchain/linux/swift/bin/swift: No such file or directory
> Making all for tweak test3…
bash: /opt/theos/toolchain/linux/swift/bin/swift: No such file or directory
bash: /opt/theos/toolchain/linux/swift/bin/swift: No such file or directory
bash: /opt/theos/toolchain/linux/swift/bin/swift: No such file or directory
bash: /opt/theos/toolchain/linux/swift/bin/swift: No such file or directory
==> Preprocessing Tweak.xm…
==> Compiling Tweak.xm (arm64)…
bash: /opt/theos/toolchain/linux/iphone/bin/armv7-apple-darwin11-clang++: No such file or directory
/opt/theos/makefiles/instance/rules.mk:295: recipe for target '/home/Hal0405/test3/.theos/obj/debug/arm64/Tweak.xm.a6c63878.o' failed
make[3]: *** [/home/Hal0405/test3/.theos/obj/debug/arm64/Tweak.xm.a6c63878.o] Error 127
==> Preprocessing Tweak.xm…
==> Compiling Tweak.xm (armv7)…
bash: /opt/theos/toolchain/linux/iphone/bin/armv7-apple-darwin11-clang++: No such file or directory
/opt/theos/makefiles/instance/rules.mk:295: recipe for target '/home/Hal0405/test3/.theos/obj/debug/armv7/Tweak.xm.618bd16f.o' failed
make[3]: *** [/home/Hal0405/test3/.theos/obj/debug/armv7/Tweak.xm.618bd16f.o] Error 127
/opt/theos/makefiles/instance/library.mk:32: recipe for target '/home/Hal0405/test3/.theos/obj/debug/arm64/test3.dylib' failed
make[2]: *** [/home/Hal0405/test3/.theos/obj/debug/arm64/test3.dylib] Error 2
make[2]: *** Waiting for unfinished jobs....
/opt/theos/makefiles/instance/library.mk:32: recipe for target '/home/Hal0405/test3/.theos/obj/debug/armv7/test3.dylib' failed
make[2]: *** [/home/Hal0405/test3/.theos/obj/debug/armv7/test3.dylib] Error 2
/opt/theos/makefiles/instance/library.mk:24: recipe for target 'internal-library-all_' failed
make[1]: *** [internal-library-all_] Error 2
/opt/theos/makefiles/master/rules.mk:106: recipe for target 'test3.all.tweak.variables' failed
make: *** [test3.all.tweak.variables] Error 2

Posted (edited)
==> Preprocessing Tweak.xm…
==> Compiling Tweak.xm (arm64)…
==> Linking tweak KaninsSBTweaks (arm64)…
ld: file not found: /usr/lib/system/liblaunch.dylib for architecture arm64
arm64-apple-darwin14-clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)
/opt/theos/makefiles/instance/library.mk:32: recipe for target '/home/Kanin/kaninssbtweaks/.theos/obj/debug/arm64/KaninsSBTweaks.dylib' failed
make[3]: *** [/home/Kanin/kaninssbtweaks/.theos/obj/debug/arm64/KaninsSBTweaks.dylib] Error 1
/opt/theos/makefiles/instance/library.mk:32: recipe for target '/home/Kanin/kaninssbtweaks/.theos/obj/debug/arm64/KaninsSBTweaks.dylib' failed
make[2]: *** [/home/Kanin/kaninssbtweaks/.theos/obj/debug/arm64/KaninsSBTweaks.dylib] Error 2
/opt/theos/makefiles/instance/library.mk:24: recipe for target 'internal-library-all_' failed
make[1]: *** [internal-library-all_] Error 2
/opt/theos/makefiles/master/rules.mk:106: recipe for target 'KaninsSBTweaks.all.tweak.variables' failed
make: *** [KaninsSBTweaks.all.tweak.variables] Error 2

pls halp @DiDA

 

EDIT: Got it working with this: https://app.box.com/s/1abpis0ztjd3kwoohoft0rpvtjncw9d3 SDK

Thank you so much @heinekenpsx!

Updated by Affe2626

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines