Re: dynamic ELF -> static executable?
- From: Denes Molnar <molnar@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 26 Dec 2005 23:41:19 -0500
Hi,
This is almost precisely what I tried and then failed, except that I used LD_LIBRARY_PATH. I guess it should be equivalent to the command-line option (though with computers every bit may count :). I had to because the glibc-2.2 loader gives some relocation error, but unfortunately with the glibc-2.3 one the executable terminates prematurely. The most likely problem is that Xvnc starts a window manager (twm) and also launches an xterm on the new X server it creates.and even Fedora's ld-linux.so, but that did not work.
That actually might work, if you invoke Xvnc via the "magic"
/path/to/fc4/ld-linux.so.2 --library-path /path/to/fc4/libraries Xvnc
In the end I went back to compiling XFree+Xvnc from source and it worked without ANY problem. Just untar and make. The VNC developers must have their reason for telling people to expect compilation problems - probably I was just plain lucky. Anyway, problem solved at last.
Thank you all for your help, I especially learned a lot from the two refs by Paul,
Denes .
- References:
- dynamic ELF -> static executable?
- From: molnard
- Re: dynamic ELF -> static executable?
- From: Paul Pluzhnikov
- Re: dynamic ELF -> static executable?
- From: Denes Molnar
- Re: dynamic ELF -> static executable?
- From: Paul Pluzhnikov
- dynamic ELF -> static executable?
- Prev by Date: Re: Why does Firefox use 47 MB of RAM?
- Next by Date: Re: Static AND Dynamic linking at the same time
- Previous by thread: Re: dynamic ELF -> static executable?
- Next by thread: Re: dynamic ELF -> static executable?
- Index(es):