Porteus needs statically compiled 32bit (i486/i586) syslinux, extlinux binaries (these one which resides in /boot/syslinux folder).
Reason:
- statically compiled 32bit binaries can be executed by both 32/64bit processors and they are independent from libs included in currently running OS
Recent status (with dynamically linked utilities):
- If you want to install 32bit Porteus version on USB stick from another linux distro then it also must be 32bit (or 64bit with multilib environment).
- if you want to install 64bit version then it must be done from another 64bit linux distro.
Problem:
- Makefile seems to ignore '-static' flag which is passed to gcc
Possible solution:
- compile utils manually
- grab them from another distro
How to check if utility is compiled statically:
run "ldd extlinux" on 32bit system and make sure it returns:
"not a dynamic executable"
in case if success please post download link in this thread.
Thanks
[SOLVED] Request for statically compiled syslinux, extlinux
- fanthom
- Moderator Team
- Posts: 5618
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
[SOLVED] Request for statically compiled syslinux, extlinux
Please add [Solved] to your thread title if the solution was found.
- Ahau
- King of Docs
- Posts: 1331
- Joined: 28 Dec 2010, 15:18
- Distribution: LXDE & Xfce 32/64-bit
- Location: USA
Re: Request for statically compiled 32bit syslinux, extlinux
fanthom,
Please check this one:
http://pkgs.org/archlinux/archlinux-cor ... ar.xz.html
ldd on /sbin/extlinux and /bin/syslinux show not dynamically linked.
Posted after 13 hours 50 minutes 5 seconds:
OK, so that one won't work because it's for i686 and not i486...
I found one for i386, but it's an rpm, and I'm having issues converting an rpm to xzm for some reason... rpm2cpio fails. So, I can't test if it is statically compiled or not: http://pkgs.org/centos-5-rhel-5/rpmforg ... 6.rpm.html
Please check this one:
http://pkgs.org/archlinux/archlinux-cor ... ar.xz.html
ldd on /sbin/extlinux and /bin/syslinux show not dynamically linked.
Posted after 13 hours 50 minutes 5 seconds:
OK, so that one won't work because it's for i686 and not i486...
I found one for i386, but it's an rpm, and I'm having issues converting an rpm to xzm for some reason... rpm2cpio fails. So, I can't test if it is statically compiled or not: http://pkgs.org/centos-5-rhel-5/rpmforg ... 6.rpm.html
Please take a look at our online documentation, here. Suggestions are welcome!
- fanthom
- Moderator Team
- Posts: 5618
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: Request for statically compiled 32bit syslinux, extlinux
@Ahau
rpm2cpio in 32bit is broken due to missing symlinks to libs which are present in firefox module.
edit /etc/ld.so.conf and add this line:
/usr/lib/firefox
now run 'ldconfig' and try again.
(brokenamn is aware of it and this issue will be corrected in rc2)
rpm2cpio in 32bit is broken due to missing symlinks to libs which are present in firefox module.
edit /etc/ld.so.conf and add this line:
/usr/lib/firefox
now run 'ldconfig' and try again.
(brokenamn is aware of it and this issue will be corrected in rc2)
Please add [Solved] to your thread title if the solution was found.
- Ahau
- King of Docs
- Posts: 1331
- Joined: 28 Dec 2010, 15:18
- Distribution: LXDE & Xfce 32/64-bit
- Location: USA
Re: Request for statically compiled 32bit syslinux, extlinux
thanks, fanthom! I converted it in 64 bit, then checked the ldd in 32. They are not statically compiled
In fact, neither were the binaries in the first package I listed (since I checked them in 64 bit instead of 32). Sorry for being of no help, lol.

Please take a look at our online documentation, here. Suggestions are welcome!
- fanthom
- Moderator Team
- Posts: 5618
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: Request for statically compiled 32bit syslinux, extlinux
Finally found a way to compile and link all loaders statically
No more troubles with installation under different arch and OS - everything should work now even under DEBIAN.
@Ahau
Please remove warnings related to this issue from the docs.
Giving SOLVED.
Cheers

No more troubles with installation under different arch and OS - everything should work now even under DEBIAN.
@Ahau
Please remove warnings related to this issue from the docs.
Giving SOLVED.
Cheers
Please add [Solved] to your thread title if the solution was found.