Hello Till. thanks for your time.
This is what I did.
I searched on apt (maybe there is another way to do it so I post whole process.)
server:# apt-cache search openssl devel
libaws-dev - Ada Web Server development files
libqssl-dev - qssl development files
libssl-dev - SSL development libraries, header files and documentation
libapache-mod-php4 - server-side, HTML-embedded scripting language (apache 1.3 module)
libapache2-mod-php4 - server-side, HTML-embedded scripting language (apache 2.0 module)
php4-cgi - server-side, HTML-embedded scripting language (CGI binary)
php4-cli - command-line interpreter for the php4 scripting language
I installed all first listed dev packages with no positive results. (libssl-dev was already installed)
Same Error =
gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -DTERMIO -O3 -Wall -DMD32_REG_T=int -DMD5_ASM -c -o cryptlib.o cryptlib.c
cc1: sorry, unimplemented: 64-bit mode not compiled in
make: *** [cryptlib.o] Error 1
Maybe I must add another address to apt source list? Another way to search?