View previous topic :: View next topic |
Author |
Message |
HeXiLeD Veteran
Joined: 20 Aug 2005 Posts: 1159 Location: Online
|
Posted: Sat Jan 07, 2006 8:36 am Post subject: HOW-TO sSMTP |
|
|
What is sSMTP:
DESCRIPTION
Quote: | Extremely simple MTA to get mail off the system to a Mailhub
ssmtp is a send-only sendmail emulator for machines which normally pick their mail
up from a centralized mailhub (via pop, imap, nfs mounts or other means). It pro-
vides the functionality required for humans and programs to send mail via the
standard or /usr/bin/mail user agents.
It accepts a mail stream on standard input with recipients specified on the com-
mand line and synchronously forwards the message to the mail transfer agent of a
mailhub for the mailhub MTA to process. Failed messages are placed in dead.letter
in the sender's home directory.
Config files allow one to specify the address to receive mail from root, daemon,
etc.; a default mailhub; a default domain to be used in From: lines; and per-user
From: addresses and mailhub names.
It does not attempt to provide all the functionality of sendmail: it is intended
for use where other programs are the primary means of at last mail delivery. It
is usefull with pop/imap, or to simulate the Sun shared mail spool option for non-
Sun machines, for machines whose sendmails are too difficult (or various) to con-
figure, for machines with known disfeatures in their sendmails or for ones where
there are ``mysterious problems''.
It does not do aliasing, which must be done either in the user agent or on the
mailhub. Nor does it honor .forwards, which have to be done on the recieving host.
It especially does not deliver to pipelines. |
Starting:
Code: | # emerge ssmtp
# cd /etc/ssmtp |
To make things look better when you recive emails from root you can edit root's name to something else. However this is completely optional and not needed to make ssmtp work properly.
and change:
Code: | root:x:0:0:root:/root:/bin/bash |
to:
Code: | root:x:0:0:admin:/root:/bin/bash |
or simply do:
Code: | # usermod -c 'admin' root |
In the following example i will be using rogers.com info to demonstrate how to setup ssmpt
Now lets edit ssmtp.conf.
Code: | # nano /etc/ssmtp.conf |
Code: | # /etc/ssmtp.conf -- a config file for sSMTP sendmail.
# The person who gets all mail for userids < 1000
# Make this empty to disable rewriting.
root=<root@email.address>
# The place where the mail goes. The actual machine name is required
# no MX records are consulted. Commonly mailhosts are named mail.domain.com
# The example will fit if you are in domain.com and your mailhub is so named.
# This should be your remote smtp email server info
mailhub=smtp.broadband.rogers.com
# Example for SMTP port number 2525
# mailhub=mail.your.domain:2525
# Example for SMTP port number 25 (Standard/RFC)
# mailhub=mail.your.domain
# Example for SSL encrypted connection
# mailhub=mail.your.domain:465
# For GMAIL users: mailhub=gmail.smtp.com:587
# Where will the mail seem to come from?
rewriteDomain=smtp.broadband.rogers.com
# The full hostname
# Gentoo bug #47562
# Commenting the following line will force ssmtp to figure
# out the hostname itself.
# hostname should be your remote email account
hostname=<username>@rogers.com
# auth user must be your remote email username
AuthUser=<username>
# AuthPass must be your remote email password
AuthPass=<password>
# Set this to never rewrite the "From:" line (unless not given) and to
# use that address in the "from line" of the envelope.
FromLineOverride=YES
# Use SSL/TLS to send secure messages to server.
#UseTLS=YES
# With gmail you should use this option insted of the 'UseTLS=YES'
#UseSTARTTLS=YES
# Use SSL/TLS certificate to authenticate against smtp host.
#UseTLSCert=YES
# Use this RSA certificate.
#TLSCert=/etc/ssl/certs/ssmtp.pem
|
Now we will edit ssmtp/revaliases:
Code: | # nano /etc/ssmtp/revaliases |
Code: | # sSMTP aliases
#
# Format: local_account:outgoing_address:mailhub
#
# Example: root:your_login@your.domain:mailhub.your.domain[:port]
# where [:port] is an optional port number that defaults to 25.
# with the following example all emails sent from root; when recived
# will show in the from line: From: admin <gentoo@freethinker.net>
# in this case <gentoo> is the box name in /etc/conf.d/hostname
# and <freethinker.net> the domainame in /etc/resolve.conf
root:gentoo@freethinker.net:smtp.broadband.rogers.com
# if a regular user sends an email without a costumized format then
# then the from line would show: From: john@smtp.broadband.rogers.com
# if you wish to have your own regular user sending emails with a better
# looking format like root has, then add something like this for each other user
jack:jack@freethinker.net:smtp.broadband.rogers.com
# what ever you put here <:jack@freethinker.net:> can be costumized
# by your own taste. For a regular user there is no need to change
# anything in /etc/passwd
|
Testing:
Code: | # mail -s "testing ssmtp" someguy@some-isp.com
- press enter and you can type whatever you wish as the message body
- press enter and then ctrl+D
- press enter again and the email should be sent
- check your remote mailbox |
;EOF
For more details $man ssmtp
sSMTP moves to bssmtp
http://larve.net/people/hugo/2001/02/ssmtp/
update 14/04/2012
http://nixbits.net/wiki/Ssmtp and gmail _________________ Do you hear the sound of inevitability?
With age, comes great grumpiness and that, was 20 years ago...
CertFP: becbbd161d5a5c31de3c45171b77bf710911db29 / d985d21f89fe2977b593c4d381a1a86802e62990d9328d893db76d59f9935244
Last edited by HeXiLeD on Sat Apr 14, 2012 6:02 pm; edited 3 times in total |
|
Back to top |
|
|
carlosman n00b
Joined: 16 Oct 2004 Posts: 18 Location: Panama
|
Posted: Wed Jan 18, 2006 7:00 am Post subject: Great HOWTO |
|
|
I was reviewing the "unanswered posts" list on this forum. The funny thing is the next item on my to-do list, after answering at least one "unanswered post" was, indeed, searching for info about sSMTP configuration on Gentoo Linux. After answering my first post I saw your HOWTO.
Talk about instant Karma!!!
THANK YOU _________________ A mind is a terrible thing to waste.
Remeber George Washington Carver...
Join the "Adopt an unanswered post initiative"!!! |
|
Back to top |
|
|
dzogi n00b
Joined: 22 Jan 2006 Posts: 1
|
Posted: Sun Jan 22, 2006 11:38 pm Post subject: |
|
|
Thanks for the HOWTO, it has helped me. I'm using gmail's smtp server and it's working as it should |
|
Back to top |
|
|
jimonade Tux's lil' helper
Joined: 21 Apr 2004 Posts: 92 Location: USA, West Lafayette, IN
|
Posted: Wed Jan 25, 2006 3:53 am Post subject: |
|
|
i've tried various combos including the above as well as from (https://forums.gentoo.org/viewtopic-t-412468-highlight-mutt.html) and i get the following or nothing...
Code: | mail -s "testing ssmtp" jim@example.com
...
send-mail: Cannot open gmail.smtp.com:587
Can't send mail: sendmail process failed with error code 1 |
any suggestions? or, could someone post their working (gmail) ssmtp.conf? |
|
Back to top |
|
|
agentgray n00b
Joined: 07 Oct 2002 Posts: 13
|
Posted: Fri Feb 03, 2006 9:30 pm Post subject: |
|
|
I've done everything in this HOWTO, but when I get to the testing phase I get.
Code: | -bash: mail: command not found |
I can send a mail using ssmtp as a command. Could I be missing something somewhere? _________________ -agentgray |
|
Back to top |
|
|
jimonade Tux's lil' helper
Joined: 21 Apr 2004 Posts: 92 Location: USA, West Lafayette, IN
|
Posted: Fri Feb 03, 2006 9:43 pm Post subject: |
|
|
what is the output of? |
|
Back to top |
|
|
Bobnoxous Apprentice
Joined: 03 May 2005 Posts: 240
|
Posted: Sat Feb 04, 2006 7:35 am Post subject: |
|
|
I have the same problem. There seems to be no mail command. The output of emerge -vp ssmpt is:
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] mail-mta/ssmtp-2.61 +ipv6 -mailwrapper -md5sum +ssl 0 kB
I've searched for mail, and it's not on my machine.
> find / -name mail _________________ "The problem with the world is that fools and fanatics are always so sure of themselves while wiser people are so full of doubt."
- Bertrand Russell |
|
Back to top |
|
|
Cabal2002 n00b
Joined: 22 Dec 2004 Posts: 72 Location: Germany
|
Posted: Tue Feb 07, 2006 5:51 pm Post subject: |
|
|
Hi
i have the same problem.
bash: mail: command not found
This prevents my nagios from sending notification mails to me. Anyone any idea how to fix this?
'emerge -vp ssmtp' says
[ebuild R ] mail-mta/ssmtp-2.61 +ipv6 -mailwrapper -md5sum +ssl 0 kB
Regards Cabal _________________ Close the world, txEn eht nepO. |
|
Back to top |
|
|
davez n00b
Joined: 21 Mar 2004 Posts: 28 Location: Switzerland
|
Posted: Fri Feb 10, 2006 9:37 am Post subject: |
|
|
For those who miss the 'mail' command:
will do the trick |
|
Back to top |
|
|
cybermatthieu Tux's lil' helper
Joined: 07 Jul 2004 Posts: 77
|
Posted: Sat Feb 11, 2006 10:40 pm Post subject: Missing use flag |
|
|
Hi,
I think your missing a use flag:
Add this flag to your /etc/make.conf config file and recompile ssmtp.
Hope it helps,
Matt |
|
Back to top |
|
|
troworld Tux's lil' helper
Joined: 20 Dec 2003 Posts: 95 Location: ON, CA
|
Posted: Sun Mar 12, 2006 5:41 pm Post subject: |
|
|
I'm getting:
Code: | mail -s "testing ssmtp" myemail
asdlfjhasdfasd
fasdfasdf
Cc:
[<-] 220 smtp103.rog.mail.re2.yahoo.com ESMTP
[->] EHLO myemail
[<-] 250 8BITMIME
Can't send mail: sendmail process failed |
I have mailx and "emerge -av ssmtp" says:
Code: | [ebuild R ] mail-mta/ssmtp-2.61 USE="ipv6 mailwrapper md5sum ssl" |
I'm also using rogers, btw. |
|
Back to top |
|
|
Ferdinando Veteran
Joined: 25 Nov 2003 Posts: 1027 Location: Gaeta (LT) - Italy
|
Posted: Thu Apr 20, 2006 3:57 pm Post subject: |
|
|
Here I'm using mail-mta/ssmtp-2.61 and I've got no mail command; I simply do
Code: | /usr/sbin/sendmail user@isp.tld
Subject:test
Hi! :) |
and I terminate the body with ctrl-D.
Btw Blue-Steel, thanks for the howto, I was trying to find a quick way to set it up, bored of the dead.letter file cron kept creating in /root, and your post was perfect
Bye _________________ La risposta, non la devi cercare fuori, la devi cercare dentro di te: e però è SBAGLIATA!
-- Corrado Guzzanti, "Pippo Chennedy Show", 1997 |
|
Back to top |
|
|
Tatey n00b
Joined: 18 Apr 2004 Posts: 37 Location: Brisbane, Australia
|
Posted: Tue Apr 25, 2006 4:54 pm Post subject: |
|
|
I found this guide and application to be extremely useful. Thanks very much! _________________ [ visit my website, tatey.com ] |
|
Back to top |
|
|
mudrii l33t
Joined: 26 Jun 2003 Posts: 789 Location: Singapore
|
Posted: Thu May 11, 2006 4:21 am Post subject: |
|
|
Problem is with MTA that require POP before SMTP how can I use sSMTP only for sending mail from the system with POP authentication before sSMTP start sending ? _________________ www.gentoo.ro |
|
Back to top |
|
|
OneInchMen n00b
Joined: 30 Sep 2004 Posts: 70 Location: Tilburg, the Netherlands
|
Posted: Tue May 16, 2006 9:31 am Post subject: |
|
|
Don't know if this is still helpful:
jimonade wrote: | i've tried various combos including the above as well as from (https://forums.gentoo.org/viewtopic-t-412468-highlight-mutt.html) and i get the following or nothing...
Code: | mail -s "testing ssmtp" jim@example.com
...
send-mail: Cannot open [b]gmail.smtp.com:587[/b]
Can't send mail: sendmail process failed with error code 1 |
any suggestions? or, could someone post their working (gmail) ssmtp.conf? |
Shouldn't it be: smtp.gmail.com:587 ? instead of the other way around... _________________ --> http://www.oneinchmen.com <-- |
|
Back to top |
|
|
unaos n00b
Joined: 06 Apr 2006 Posts: 64 Location: brovary,UA
|
Posted: Mon May 22, 2006 9:23 pm Post subject: |
|
|
the method
$echo "mail body" | /usr/sbin/sendmail -s "test" someone@gmail.com
and i recive empty letter with no subject.
also tried specify recive data from stdin but has the same effect - none. _________________ house of mystic lies
Last edited by unaos on Mon May 22, 2006 10:04 pm; edited 1 time in total |
|
Back to top |
|
|
Ferdinando Veteran
Joined: 25 Nov 2003 Posts: 1027 Location: Gaeta (LT) - Italy
|
Posted: Mon May 22, 2006 9:29 pm Post subject: |
|
|
unaos wrote: | $echo "mail body" | /usr/sbin/sendmail -s "test" somone@gmail.com |
Try
Code: | $ echo "From:me
To:you
Subject:hi!
how are you?
" | /usr/lib/sendmail someone@someisp |
I've tried just a moment ago and it worked, though it isn't that elegant, I know...
Bye _________________ La risposta, non la devi cercare fuori, la devi cercare dentro di te: e però è SBAGLIATA!
-- Corrado Guzzanti, "Pippo Chennedy Show", 1997 |
|
Back to top |
|
|
unaos n00b
Joined: 06 Apr 2006 Posts: 64 Location: brovary,UA
|
Posted: Mon May 22, 2006 10:24 pm Post subject: |
|
|
you rockz dude! that's the classic "RTFM" example - RFC was the answer. shame for me
and now all is ok with echo -e "Subject: test\n\n the body \n" | /usr/lib/sendmail somebody@isp.net _________________ house of mystic lies |
|
Back to top |
|
|
anigel Bodhisattva
Joined: 14 Apr 2003 Posts: 1894 Location: Un petit bled pas loin de Limoges ;-)
|
Posted: Wed May 31, 2006 10:24 am Post subject: Re: HOWTO sSMTP |
|
|
Hi,
And thanks for this document. I would just suggest a little change here :
Blue-Steel wrote: | To make things look better when you recive emails from root you can edit root's name to something else. However this is completely optional and not needed to make ssmtp work properly.
and change:
Code: | root:x:0:0:root:/root:/bin/bash |
to:
Code: | root:x:0:0:admin:/root:/bin/bash |
|
I think the following command has the same effect ?
Code: | usermod -c 'admin' root |
_________________ Il y a 10 sortes d'individus en ce bas-monde : ceux qui causent binaire, et les autres. |
|
Back to top |
|
|
AssociateX Tux's lil' helper
Joined: 19 Feb 2004 Posts: 134 Location: North Dakota
|
Posted: Wed Jul 05, 2006 8:17 am Post subject: |
|
|
How do I avoid this:
Code: |
athlon ~ # mailx root@localhost
Subject: test
test.
Cc: send-mail: Cannot open localhost:25
Can't send mail: sendmail process failed with error code 1 |
_________________ AssociateX
Gentoo rocks! |
|
Back to top |
|
|
ectospasm l33t
Joined: 19 Feb 2003 Posts: 711 Location: Mobile, AL, USA
|
Posted: Sat Jul 15, 2006 11:33 pm Post subject: |
|
|
It took me weeks to figure this out. In revaliases, you have this:
Code: | root:from.addr@domain.tld:mailhub.domain.tld |
mailhub has to be the mailhub you send through, not the mailhub of the from.addr! I kept saying,"WTF? mailhub=mail.mysmtpserver.net in /etc/ssmtp.conf, but it still tries to send through wrong.mailhub.com? WHY?!?!?!?" Well, revaliases held the answer. _________________ Join the adopt an unanswered post initiative today
Join the EFF!
Join the Drug Policy Alliance! |
|
Back to top |
|
|
accton n00b
Joined: 30 Oct 2006 Posts: 2
|
Posted: Mon Oct 30, 2006 9:34 am Post subject: SSMTP compile error after enabling SSL on my Redhat7 PC |
|
|
Dear Professionals:
Sorry to bother all of you!
I would like to use SSMTP(ssmtp-2.61) to replace the big "sendmail". In order to use "smtp.gmail.com" to send e-mails, it seems need the SSL support. But there are always compile errors after enabling the SSL option(compile ok without enabling SSL). Should I compile SSMTP by using "Debian" OS?(seems miss the " krb5.h" in my Redhat7 system?) Or something wrong in my compiling procedures as below:
----------- start ----------------------
[wolf@rd-redhat9 ssmtp-2.61]$ ./configure --enable-ssl
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether ln -s works... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for limits.h... (cached) yes
checking for strings.h... (cached) yes
checking for syslog.h.. . (cached) yes
checking for unistd.h... (cached) yes
checking for obsolete openlog... (cached) no
checking for working const... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for gethostname in -lnsl... (cached) yes
checking for socket in -lsocket... (cached) no
checking return type of signal handlers... (cached) void
checking for vprintf... (cached) yes
checking for gethostname... (cached) yes
checking for socket... (cached) yes
checking for strdup... (cached) yes
checking for strstr... (cached) yes
creating ./config.status
creating Makefile
[wolf@rd-redhat9 ssmtp-2.61]$ make
gcc -Wall -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYSLO
=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBNSL=1 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAV
ETHOSTNAME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -DREWRITE_DOMAIN
-DHAVE_SSL=1 -DSSMTPCONFDIR=\"/usr/local/etc/ssmtp\" -DCONFIGURATION_FILE=\"
r/local/etc/ssmtp/ssmtp.conf\" -DREVALIASES_FILE=\"/usr/local/etc/ssmtp/reval
es\" -g -O2 -c -o ssmtp.o ssmtp.c
In file included from /usr/include/openssl/ssl.h:179,
from ssmtp.c:33:
/usr/include/openssl/kssl.h:73:18: krb5.h: No such file or directory
In file included from /usr/include/openssl/ssl.h:179,
from ssmtp.c:33:
/usr/include/openssl/kssl.h:133: parse error before "krb5_enctype"
/usr/include/openssl/kssl.h:135: parse error before "FAR"
/usr/include/openssl/kssl.h:136: parse error before '}' token
/usr/include/openssl/kssl.h:148: parse error before "kssl_ctx_setstring"
/usr/include/openssl/kssl.h:148: parse error before '*' token
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:150: parse error before '*' token
/usr/include/openssl/kssl.h:150: parse error before '*' token
/usr/include/openssl/kssl.h:151: parse error before '*' token
/usr/include/openssl/kssl.h:152: parse error before "kssl_ctx_setprinc"
/usr/include/openssl/kssl.h:152: parse error before '*' token
/usr/include/openssl/kssl.h:154: parse error before "kssl_cget_tkt"
/usr/include/openssl/kssl.h:154: parse error before '*' token
/usr/include/openssl/kssl.h:156: parse error before "kssl_sget_tkt"
/usr/include/openssl/kssl.h:156: parse error before '*' token
/usr/include/openssl/kssl.h:158: parse error before "kssl_ctx_setkey"
/usr/include/openssl/kssl.h:158: parse error before '*' token
/usr/include/openssl/kssl.h:160: parse error before "context"
/usr/include/openssl/kssl.h:161: parse error before "kssl_build_principal_2"
/usr/include/openssl/kssl.h:161: parse error before "context"
/usr/include/openssl/kssl.h:164: parse error before "kssl_validate_times"
/usr/include/openssl/kssl.h:164: parse error before "atime"
/usr/include/openssl/kssl.h:166: parse error before "kssl_check_authent"
/usr/include/openssl/kssl.h:166: parse error before '*' token
/usr/include/openssl/kssl.h:168: parse error before "enctype"
In file included from ssmtp.c:33:
/usr/include/openssl/ssl.h:909: parse error before "KSSL_CTX"
/usr/include/openssl/ssl.h:931: parse error before '}' token
make: *** [ssmtp.o] Error 1
------------------ end ---------------------------
Regards,
wolf, Oct-30-2k6 |
|
Back to top |
|
|
ectospasm l33t
Joined: 19 Feb 2003 Posts: 711 Location: Mobile, AL, USA
|
Posted: Tue Oct 31, 2006 1:36 am Post subject: Re: SSMTP compile error after enabling SSL on my Redhat7 PC |
|
|
accton wrote: | Dear Professionals:
Sorry to bother all of you!
I would like to use SSMTP(ssmtp-2.61) to replace the big "sendmail". In order to use "smtp.gmail.com" to send e-mails, it seems need the SSL support. But there are always compile errors after enabling the SSL option(compile ok without enabling SSL). Should I compile SSMTP by using "Debian" OS?(seems miss the " krb5.h" in my Redhat7 system?)
|
This is a Gentoo forum, so I don't know how much help we'll be able to provide a Redhat system. You probably need to install the devel package for kerberos (kerberos-devel perhaps), assuming of course that krb5.h is part of the kerberos package. You may need to do some googling to determine what package on your system owns krb5.h.
HTH _________________ Join the adopt an unanswered post initiative today
Join the EFF!
Join the Drug Policy Alliance! |
|
Back to top |
|
|
accton n00b
Joined: 30 Oct 2006 Posts: 2
|
Posted: Tue Oct 31, 2006 9:02 am Post subject: how to cross-compile SSMTP for MIPS CPU board? |
|
|
Hi ectospasm:
Thanks! Compile ok after enabling SSL now. Send mail by google SMTP server is successful!
Thanks for your hint about "kerberos". I copied all missing *.h files(not only krb5.h) from /usr/kerberos/include/ in my Redhat9(sorry! not Redhat7) PC. Then, no compile error.
****************************************************
Do you know how to cross-compile SSMTP for MIPS CPU board?
Compile ok after copying the missing *.h files as the above, but link error! The SSL library is missing, I have tried to copy libssl* to my cross-compile directory. But it did not work. The error messages are as below:
-------------- start -----------------
[wolf@rd-redhat9 ssmtp-2.61]$ make
mips-linux-gcc -o ssmtp ssmtp.o arpadate.o base64.o -lnsl -lssl
/home/wolf/LSDK-5.0.2.46/tools/gcc-3.3.3-2.4.25/toolchain_mips/lib/gcc-lib/mips-
linux/3.3.3/../../../../mips-linux/bin/ld: skipping incompatible /home/wolf/LSDK
-5.0.2.46/tools/gcc-3.3.3-2.4.25/toolchain_mips/lib/gcc-lib/mips-linux/3.3.3/../
../../../mips-linux/lib/libssl.so when searching for -lssl
/home/wolf/LSDK-5.0.2.46/tools/gcc-3.3.3-2.4.25/toolchain_mips/lib/gcc-lib/mips-
linux/3.3.3/../../../../mips-linux/bin/ld: skipping incompatible /home/wolf/LSDK
-5.0.2.46/tools/gcc-3.3.3-2.4.25/toolchain_mips/lib/gcc-lib/mips-linux/3.3.3/../
../../../mips-linux/lib/libssl.a when searching for -lssl
/home/wolf/LSDK-5.0.2.46/tools/gcc-3.3.3-2.4.25/toolchain_mips/lib/gcc-lib/mips-
linux/3.3.3/../../../../mips-linux/bin/ld: skipping incompatible /home/wolf/LSDK
-5.0.2.46/tools/gcc-3.3.3-2.4.25/toolchain_mips/bin/../lib/libssl.so when search
ing for -lssl
/home/wolf/LSDK-5.0.2.46/tools/gcc-3.3.3-2.4.25/toolchain_mips/lib/gcc-lib/mips-
linux/3.3.3/../../../../mips-linux/bin/ld: skipping incompatible /home/wolf/LSDK
-5.0.2.46/tools/gcc-3.3.3-2.4.25/toolchain_mips/bin/../lib/libssl.a when searchi
ng for -lssl
/home/wolf/LSDK-5.0.2.46/tools/gcc-3.3.3-2.4.25/toolchain_mips/lib/gcc-lib/mips-
linux/3.3.3/../../../../mips-linux/bin/ld: skipping incompatible /home/wolf/LSDK
-5.0.2.46/tools/gcc-3.3.3-2.4.25/toolchain_mips/bin/../../toolchain_mips/lib/lib
ssl.so when searching for -lssl
/home/wolf/LSDK-5.0.2.46/tools/gcc-3.3.3-2.4.25/toolchain_mips/lib/gcc-lib/mips-
linux/3.3.3/../../../../mips-linux/bin/ld: skipping incompatible /home/wolf/LSDK
-5.0.2.46/tools/gcc-3.3.3-2.4.25/toolchain_mips/bin/../../toolchain_mips/lib/lib
ssl.a when searching for -lssl
/home/wolf/LSDK-5.0.2.46/tools/gcc-3.3.3-2.4.25/toolchain_mips/lib/gcc-lib/mips-
linux/3.3.3/../../../../mips-linux/bin/ld: skipping incompatible /home/wolf/LSDK
-5.0.2.46/tools/gcc-3.3.3-2.4.25/toolchain_mips/bin/../../toolchain_mips/usr/lib
/libssl.so when searching for -lssl
/home/wolf/LSDK-5.0.2.46/tools/gcc-3.3.3-2.4.25/toolchain_mips/lib/gcc-lib/mips-
linux/3.3.3/../../../../mips-linux/bin/ld: skipping incompatible /home/wolf/LSDK
-5.0.2.46/tools/gcc-3.3.3-2.4.25/toolchain_mips/bin/../../toolchain_mips/usr/lib
/libssl.a when searching for -lssl
/home/wolf/LSDK-5.0.2.46/tools/gcc-3.3.3-2.4.25/toolchain_mips/lib/gcc-lib/mips-
linux/3.3.3/../../../../mips-linux/bin/ld: cannot find -lssl
collect2: ld returned 1 exit status
make: *** [ssmtp] Error 1
------------- end -----------------------------
Any hint is appreciated!
Regards,
wolf, Oct-31-2k6 |
|
Back to top |
|
|
ectospasm l33t
Joined: 19 Feb 2003 Posts: 711 Location: Mobile, AL, USA
|
|
Back to top |
|
|
|