LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-11-2005, 03:14 PM   #1
Peingune
Member
 
Registered: Oct 2002
Location: Ill
Distribution: Gentoo x86 2006.0
Posts: 89

Rep: Reputation: 16
Question Qmail installation problem.


I running a mandrake 10.1 kernel 2.6.8.1-10mdksmp on a dell inspiron 5150 lappie. I want to set up qmail so at lease if something goes wrong with the lappie (X-server down ect....) I can post the errors and log and config files on this forum.


I went through all the set-up

mkdir /downloads
cd /downloads
wget http://www.qmailrocks.org/downloads/qmailrocks.tar.gz
tar zxvf qmailrocks.tar.gz
/downloads/qmailrocks/scripts/install/qmr_install_linux-s1.script
/downloads/qmailrocks/scripts/util/qmail_big_patches.script
cd /usr/src/qmail/qmail-1.03
make man && make setup check (at this point linux reported that I don't need make man but make setup check reports back alot of errors {posting errors below})

qmail-remote.c:36:25: openssl/ssl.h: No such file or directory
qmail-remote.c:37: error: syntax error before '*' token
qmail-remote.c:37: warning: data definition has no type or storage class
qmail-remote.c: in function 'ssl_timeoutread':
qmail-remote.c:134: error: 'SSL_ERROR_WANT_READ' undeclared (first use in this function)
qmail-remote.c:134: error: (Each undeclared identifier is reported only once for each function it appears in.)
qmail-remote.c:135: error: 'SSL_ERROR_NONE' undeclared (first use in this function)
qmail-remote.c: In function 'ssl_timeoutwrite':
qmail-remote.c:159: error: 'SSL_ERROR_WANT_WRITE' undeclared (first use in this function)
qmail-remote.c:160: error: 'SSL_ERROR_NONE' undeclared (first use in this function)
qmail-remote.c: At top level:
qmail-remote.c:177: error: syntax error before '*' token
qmail-remote.c:183: error: syntax error before "X509_STORE_CTX"
qmail-remote.c: In function 'smtp':
qmail-remote.c:346: error 'SSL_CTX' undeclared (first use in this function)
qmail-remote.c:346: error: 'ctx' undeclared (first use in this function)
qmail-remote.c:404: error: 'SSL_FILETYPE_PEM' undeclared (first use in this function)
qmail-remote.c:418: error: 'SSL_VERIFY_PEER' undeclared (first use in this function)
qmail-remote.c:421: warning: assignment makes pointer from integer without a cast
qmail-remote.c:454: error: 'X509_V_OK' undeclared (first use in this function)
qmail-remote.c:462: error: 'NID_commonName' undeclared (first use in this function)
qmail-remote.c: In function 'main':
qmail-remote.c:590: warning: return type of 'main' is not 'int'
make: *** [qmail-remote.o] Error 1

/.this is hand typed from windows so I believe everything is correct and in place./

ok so I believe my problem starts here but i will give other information because i did move on.

ok, when i did a ./config-fast your_fqdn_hostname I got error it ewasn't there so I changed it around and did sh config-fast.sh your_fqdn_hostname and the installation reported that none of the folders Qmail/control/blah: No such file or directory.

after the sh config-fast i stopped.
 
Old 04-11-2005, 03:47 PM   #2
auximini
Member
 
Registered: Dec 2003
Location: Calgary, AB
Distribution: Any!
Posts: 146

Rep: Reputation: 18
Install the openssl-devel package and then try recompiling.

Code:
qmail-remote.c:36:25: openssl/ssl.h: No such file or directory
that means it's looking for ssl.h and openssl-devel is usually where it can be found
 
Old 04-11-2005, 04:02 PM   #3
Peingune
Member
 
Registered: Oct 2002
Location: Ill
Distribution: Gentoo x86 2006.0
Posts: 89

Original Poster
Rep: Reputation: 16
thank you ^^ going to try it now.
 
Old 04-11-2005, 04:19 PM   #4
Peingune
Member
 
Registered: Oct 2002
Location: Ill
Distribution: Gentoo x86 2006.0
Posts: 89

Original Poster
Rep: Reputation: 16
thanks for your help. I want alittle bit farther and ran into this problem

make man && make setup check
make: Nothing to be done for 'man'.
./load qmail-remote control.o constmap.o timeoutread.o \
timeoutwrite.o timeoutconn.o tcpto.o now.o dns.o ip.o \
ipalloc.o strsalloc.o ipme.o quote.o ndelay.a case.a sig.a open.a \
lock.a seek.a getln.a stralloc.a alloc.a substdio.a error.a \
str.a fs.a auto_qmail.o 'cat dns.lib' 'cat socket' \
-lssl -lcrypto
/usr/bin/ld: connot find -lssl
collact2: ld returned 1 exit status
make: *** [qmail-remote] Error 1
 
Old 04-11-2005, 05:06 PM   #5
auximini
Member
 
Registered: Dec 2003
Location: Calgary, AB
Distribution: Any!
Posts: 146

Rep: Reputation: 18
Now it can't find the ssl libraries... maybe try installing openssl or openssl-lib (if that even exists). Also try running the ldconfig command (just type ldconfig)
 
Old 04-11-2005, 07:16 PM   #6
Peingune
Member
 
Registered: Oct 2002
Location: Ill
Distribution: Gentoo x86 2006.0
Posts: 89

Original Poster
Rep: Reputation: 16
ok I did a ldconfig and that didn't help. all searchs for openssl-lib points to openssl so I just reinstalled it a I'm still getting the same error. Is there a way for me to check and see if it uses a diff lib?
 
Old 04-11-2005, 07:20 PM   #7
auximini
Member
 
Registered: Dec 2003
Location: Calgary, AB
Distribution: Any!
Posts: 146

Rep: Reputation: 18
You can check your system for the libssl files and see if /etc/ld.so.conf has that path specified in it (although it already should...)

try
Code:
find / -name \*ssl.so\*
and see what you get
 
Old 04-11-2005, 07:20 PM   #8
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
have you tried the package-mgr...???

http://linsec.ca/misc_services/qmail.php

KC
 
Old 04-11-2005, 08:17 PM   #9
Peingune
Member
 
Registered: Oct 2002
Location: Ill
Distribution: Gentoo x86 2006.0
Posts: 89

Original Poster
Rep: Reputation: 16
lol ok, let's try this. I did the search and I got
/usr/lib/pythin2.3/lib-dynload/_ssl.so
/usr/lib/libssl.so.0.9.7
I might be missing something.

I'll try the link kencaz if this ends up being more than a problem but think you for it.
 
Old 04-12-2005, 03:56 AM   #10
Peingune
Member
 
Registered: Oct 2002
Location: Ill
Distribution: Gentoo x86 2006.0
Posts: 89

Original Poster
Rep: Reputation: 16
sry :-( Bump!
 
Old 07-06-2010, 12:57 PM   #11
mcatalyst
LQ Newbie
 
Registered: Jul 2010
Posts: 1

Rep: Reputation: 0
I know your running mandrake but this command fixed this error on Ubuntu for myself... apt-get intall libssl-dev ... maybe there is a mandrake rpm package with the same name?
 
  


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
qmail installation problem mchitrakar Linux - Software 10 11-01-2004 12:28 PM
Qmail (Qmail-pop3d) pop login problem Punker51 Linux - Software 2 07-22-2004 03:52 PM
qmail +qmail-qfilter + qmail-scanner-queue+qmail-user-masq.pl problem countcobolt Linux - Networking 0 07-08-2004 12:29 PM
qmail installation problem stormblast Debian 3 06-14-2004 06:45 AM
qmail installation deepagodkhindi Linux - Networking 7 07-21-2003 12:53 PM


All times are GMT -5. The time now is 08:56 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration