make a loki installer for spring

Talk about everything.
Post Reply
lululaglue

make a loki installer for spring

Post by lululaglue » Sun Jun 03, 2007 22:01

Hello, I wanted to create a static binary of spring, I compiled the sources in a standard way and I used statifier (statifier.sourceforge.net).

If I make a ldd spring:

Code: Select all

lululaglue:~/spring$ ldd spring 
        not a dynamic executable
I have created a loki package, everything works well at home, but all those which tests the package have a seg fault when launching game.

There is something of private individual for compiling static binary ?

Thanks a lot

ps: sorry for my english, i'm french :)

kratz00
liflg member
Posts: 1664
Joined: Fri Oct 22, 2004 16:23

Post by kratz00 » Thu Jun 07, 2007 16:31

Building a complete statically linked binary is a bad idea
Have a look at commerical games for example.

valery

Post by valery » Mon Jun 11, 2007 10:55

statifier is a good thing (yes, mine), but it has some limitations. :(
Particulary, statifier dislike VDSO randomization.

If you could send output of
cat /proc/self/maps
running twice
on each of your "build" box and "target" box

I'll be able to say you if statied exe has a chance.

Also you could try Ermine - http://www.magicErmine.com
It's (usually) work when statifier not.

Valery

lululaglue

Post by lululaglue » Sat Jun 30, 2007 3:19

thank you that functions, I finish the installer and I indicate the link :)

valery

Post by valery » Sat Jun 30, 2007 7:28

Can i have a look ? Where your games is ?

Valery.

Post Reply