#cloudflared for powerpc64 (ps3 linux (red ribbon))
50 messages · Page 1 of 1 (latest)
your usecase is significantly easier on android btw, because you can install termux and run everything in there without needing root
i've decided to take my time and effort to build from source, and since ios doesn't use systemd or anything like that, it makes this twice as hard
and not having a mac also makes it difficult
significantly, yes
compiling for ios without a mac is a nightmare
i do have a mac and still found building cloudflared for ios to be way too much effort than i was willing to spend
well i mean, i got it to build and compile for iphoneos-arm (rootful jailbreak) i just don't know if it works
redacted-iPhone:~ mobile% cloudflared
dyld[14934]: Library not loaded: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
Referenced from: <no uuid> /usr/bin/cloudflared
Reason: tried: '/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation' (no such file), '/private/preboot/Cryptexes/OS/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation' (no such file), '/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation' (no such file, not in dyld cache)
zsh: abort cloudflared
redacted-iPhone:~ mobile%
nope, i clearly didn't do something right since its still looking for macos binarys
yeah, exactly
is that all you got to then realized its not worth the effort?
i did play around with it a bit and tried some tools online but it was always that or other unhelpful errors
might just try to get macos running in a vm (try not to get mad at virtualbox challenge: impossible)
@shut quiver you might want to try docker-osx. Dont know if it fits your usecase but for me it always was easier to setup than VirtualBox
docker osx?
seems like a mac thing just from the name
Nah you can use docker to run mac os on linux and windows 😄
well im going with an even stupider route: ps3linux :D
pros:
linux
cons:
stuck on debian 8.11 (jessie)
have to build a bunch of stuff for powerpc arch/debian 8
cloudflared for powerpc64 (ps3 linux (red ribbon))
Progress
- Python 3.6: built and compiled
- Cloudflared: still needing to do so
seems weird to reuse the thread for a completely different approach
you dont need a ppc machine to build cloudflared for ppc though, its supported by Go and so can be cross-compiled
GOOS=linux GOARCH=ppc64el make cloudflared``` from any machine
oh good, so no issues with debain 8.11?
add GO111MODULE=on CGO_ENABLED=0 as well
you'll get a static binary that will work anywhere
adapting these from https://github.com/Erisa/cloudflared-docker/blob/main/Dockerfile

so that funny "thing"
(venv) (live)alriceps3@alriceps3linux:~$ ./cf Illegal instruction
you compiled for ppc8 when cpu is ppc7
i changed the args since the other person got it wrong
so no. i compiled for ppc7
what args?
I with you luck in your venture, honestly i think qemu-user might be the easiest way
or ya know... use a modern platform
1, im using a ps3 for the funny
2, i would rather uh...yeah.. then use qemu-user
fair enough 🤣 lmk how you go
i bet you'll run to to some fun endianness issues somewhere
ill just..use qemu later....
gl
(live)alriceps3@alriceps3linux:~$ qemu-x86_64 ./cfamd setup_rt_frame: not implemented
well nvm..got it working, but cloudflared dashboard says its still not connected
there is probably some endianness getting screwed somewhere