Re: dynamic ELF -> static executable?



Hi,

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
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.

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
.