LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-28-2009, 04:52 AM   #1
Berris.Oliver
LQ Newbie
 
Registered: Feb 2009
Posts: 16

Rep: Reputation: 0
Question 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.
 
Old 05-29-2009, 01:50 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,985

Rep: Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672
Quote:
Originally Posted by Berris.Oliver View Post
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.

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.
First, don't post the same question twice in different forums.

Second, it's almost impossible to diagnose this...you say you have Linux running on an ARM board, but you don't say anything about what version/distro of Linux, or give any details about the ARM board. If this is a custom device, with a custom build of Linux, it's probably going to be up to you to figure this out....
 
Old 06-01-2009, 05:25 AM   #3
Berris.Oliver
LQ Newbie
 
Registered: Feb 2009
Posts: 16

Original Poster
Rep: Reputation: 0
Regarding posting the question twice in different forums, my apologies... I did that because I though the question is a bit advanced in the other forum, so I transfer it to this part but forgot to delete the previous thread.

Anyway, I did resolve the problem by doing some changes to the configuration and Makefile of OpenSSL. Afterwards, everything went well and works fine. Thanks to those who read this thread and tried to help out by trying to resolve this too. Cheers!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail problem with OpenSSL -ldl (unsupported dynamic loading) Berris.Oliver Linux - Newbie 0 05-28-2009 04:41 AM
C++ and dynamic library loading Osiris990 Programming 5 11-08-2007 12:07 PM
AGPGART loading error AGP unsupported oblador Linux - Hardware 7 01-02-2007 09:59 AM
Java Dynamic Class Loading wildcat22 Programming 2 12-29-2005 01:09 PM
Dynamic Class Loading Problems dmnc Programming 11 07-22-2004 05:06 PM


All times are GMT -5. The time now is 01:50 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration