SynologyOpenSource / pkgscripts-ng

Synology DSM6.0 package toolkit framework
162 stars 56 forks source link

Evansport platform builds x64 elf executables, which don't run on synology_evansport_415play (i686) #27

Open hradec opened 3 years ago

hradec commented 3 years ago

So, I've installed evansport platform build environment for version 6.2, using:

pkgscripts-ng/EnvDeploy -v 6.2 -p evansport

and it all got installed without issues! I generated a simple package, using:

pkgscripts-ng/PkgCreate.py -v 6.2 -p evansport nbd-3.20

and installed it suscessfully! But when I try to run the executable in my ds415play, I got cannot execute binary file: Exec format error. Running file on the built executable, I got:

ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=483932b9935d2aafcd839c8325547820a197a9cd, with debug_info, not stripped

sooo... Is there something else I have to do to properly generate i686 executable elfs instead of x64?