LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Sendmail problem with OpenSSL -ldl (unsupported dynamic loading) (https://www.linuxquestions.org/questions/linux-newbie-8/sendmail-problem-with-openssl-ldl-unsupported-dynamic-loading-729043/)

Berris.Oliver 05-28-2009 03:41 AM

Sendmail problem with OpenSSL -ldl (unsupported dynamic loading)
 
I'm currently compiling Sendmail to run the said file in the ARM Board with Linux as its OS. Shown below is the command line syntax used and its result upon execution.

Code:

./configure --host=arm-linux --with-openssl=/usr/local/openssl/
Code:

checking for arm-linux-ranlib... arm-linux-ranlib
checking whether make sets $(MAKE)... yes
checking for arm-linux-gcc... arm-linux-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-linux-gcc accepts -g... yes
checking for arm-linux-gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... arm-linux-gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for memory.h... (cached) yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for unistd.h... (cached) yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking limits usability... no
checking limits presence... no
checking for limits... no
checking for stdint.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for stdlib.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking for flock... yes
checking for socket... yes
checking for htonl... yes
checking for gethostname... yes
checking for gethostbyaddr... yes
checking for yp_get_default_domain... no
checking for __yp_get_default_domain... no
checking for yp_get_default_domain in -lnsl... yes
checking for res_search... no
checking for __res_search... no
checking for res_search in -lresolv... yes
checking for res_search in -lbind... no
checking for __res_search in -lbind... no
checking for res_search in -lsocket... no
checking for __res_search in -lsocket... no
checking for inet_aton... yes
checking for dn_skipname... no
checking for __dn_skipname... no
checking for dn_skipname in -lresolv... no
checking for __dn_skipname in -lresolv... yes
checking for dn_skipname in -lbind... no
checking for __dn_skipname in -lbind... no
checking for mkstemp... yes
checking for OpenSSL... yes
checking whether linking with OpenSSL requires -ldl... unknown
configure: error: OpenSSL has unsupported dynamic loading

How can this be resolved? Do I have to make some changes to the Makefile and/or configure file? Or do I need to add some arm-related openssl libraries and/or include? Or there's another solution for this?

NOTE: Works well without the --host=arm-linux. Will compile with --host=arm-linux but will end up not compatible with ARM. After make, you can check it by using file mailsend.


All times are GMT -5. The time now is 12:27 AM.