After a pain , i'd installed kylix , but , there's one problem...
How the hell can i produce statically linked binaries? the Library
dependences would be a really scary to expect some average user can manage it
, so i'd like to produce a statically linked binary from the shared ones that
relay in the qt2 and rest of stuff binaries of kylix . Theres is an example...
----------------------------------------
[root@shoggoth local]# ldd bibliop
/lib/libNoVersion.so.1 => /lib/libNoVersion.so.1 (0x40017000)
libqtintf.so => /lib/libqtintf.so (0x4003a000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x401be000)
libpthread.so.0 => /lib/libpthread.so.0 (0x40298000)
libdl.so.2 => /lib/libdl.so.2 (0x402af000)
libc.so.6 => /lib/libc.so.6 (0x402b3000)
libqt.so.2 => /usr/local/qt/lib/libqt.so.2 (0x403e0000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4089d000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x408ad000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x408b7000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x408cf000)
libstdc++-libc6.1-2.so.3 => /usr/lib/libstdc++-libc6.1-2.so.3
(0x408f0000)
libm.so.6 => /lib/libm.so.6 (0x4093f000)
----------------------------------------
where bibliop is the binary thing...
i'd tried to use ld , but there is something odd
----------------------------------------
[root@shoggoth local]# ld bibliop -o salida
ld: warning: cannot find entry symbol _start; defaulting to 08051e50
[root@shoggoth local]# ldd salida
/usr/bin/ldd: line 1: 3031 Segmentation fault (core dumped)
LD_TRACE_LOADED_OBJECTS=1 LD_WARN= LD_BIND_NOW=
LD_LIBRARY_VERSION=$verify_out LD_VERBOSE= "$file"
[root@shoggoth local]# ./salida
./salida: error while loading shared libraries: nderline: cannot load shared
object file: No such file or directory
-------------------
Some suggestions ?
Morte