philippe44 / SpotConnect

Turn any UPnP or AirPlay player into a Spotify Connect device
MIT License
66 stars 3 forks source link

spotraop-static is dynamically linked #5

Closed mterron closed 1 year ago

mterron commented 1 year ago
~/SpotConect/spotraop/bin # file *-static
spotraop-freebsd-x86_64-static: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 12.3, FreeBSD-style, stripped
spotraop-linux-aarch64-static:  ELF 64-bit LSB executable, ARM aarch64, version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 4.4.255, stripped
spotraop-linux-arm-static:      ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 4.4.255, stripped
spotraop-linux-armv5-static:    ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.3, for GNU/Linux 4.4.255, stripped
spotraop-linux-armv6-static:    ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.3, for GNU/Linux 4.4.255, stripped
spotraop-linux-mips-static:     ELF 32-bit MSB executable, MIPS, MIPS32 version 1 (SYSV), dynamically linked, interpreter /lib/ld.so.1, for GNU/Linux 4.4.255, stripped
spotraop-linux-powerpc-static:  ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), dynamically linked, interpreter /lib/ld.so.1, for GNU/Linux 4.4.255, stripped
spotraop-linux-sparc64-static:  ELF 64-bit MSB executable, SPARC V9, Sun UltraSPARC1 Extensions Required, relaxed memory ordering, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux.so.2, for GNU/Linux 4.4.255, stripped
spotraop-linux-x86-static:      ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 4.4.255, stripped
spotraop-linux-x86_64-static:   ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 4.4.255, stripped

Maybe build the against musl libc in linux? BTW I'm trying to build it but being unfamiliar with your build system is making it quite a challenge. As far as I understand you have hardcoded the tuples for each os? Maybe you can add some simple build instructions to get people going :)

philippe44 commented 1 year ago

At the end of the README there is a small section explaining how to build with a link to a detailed walkthrough of my build system. You can either rebuild everything or just do a non-recursive clone and build only this application. It's cmake with some shell wrappers but if you look at these, you can deduct easily the cmd line to use for your platform. You can also change the associative array at the beginning of the shell to match you your compiler. And yes, because I had to rebuild all compilers, the tuples are specific

philippe44 commented 1 year ago

Regarding the static link, I removed it a while ago because dl_xxx where missing. In fact it's a link order issue that I'll fix