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 06-13-2008, 04:24 AM   #1
tatsuya
LQ Newbie
 
Registered: Jun 2008
Posts: 2

Rep: Reputation: 0
Unhappy troubles of mailutils & mail command


Hi there,
I'm learning POSTFIX(SMTP server) and attempting to construct POSTFIX.
But I start Debian Etch a couple days ago, so I am struggling now.
Then I can not use "mail" command, so I install the package "mailutils".
However it doesn't seem to work, like failure. After installing mailutils,
I tried to install the package "libmailutils" relation of mailutils. And
it doesn't work,too. And mail command doesn't work,too.
I think it has some troubles of libraries.

Now I am confused and don't know the source of the troubles.
Anybody helps me.

Best regards,

Log below.
***mailtuils***
osaka9:~# apt-get install mailutils
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer

required:
libpq4
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libmailutils1
Suggested packages:
mailutils-mh
The following NEW packages will be installed:
libmailutils1 mailutils
0 upgraded, 2 newly installed, 0 to remove and 8 not upgraded.
Need to get 0B/948kB of archives.
After this operation, 2372kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 36795 files and directories currently installed.)
Unpacking libmailutils1 (from .../libmailutils1_1%3a1.2+dfsg1-1+b1_i386.deb)

...
dpkg: error processing /var/cache/apt/archives/libmailutils1_1%3a1.2+dfsg1-

1+b1_i386.deb (--unpack):
trying to overwrite `/usr/lib/libsieve.so.1', which is also in package

libsieve2-1
Selecting previously deselected package mailutils.
Unpacking mailutils (from .../mailutils_1%3a1.2+dfsg1-1+b1_i386.deb) ...
Processing triggers for man-db ...
Errors were encountered while processing:
/var/cache/apt/archives/libmailutils1_1%3a1.2+dfsg1-1+b1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

***libmailutils***
osaka9:~# apt-get install libmailutils1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer

required:
libpq4
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
libmailutils1
0 upgraded, 1 newly installed, 0 to remove and 8 not upgraded.
Need to get 0B/679kB of archives.
After this operation, 1679kB of additional disk space will be used.
(Reading database ... 36795 files and directories currently installed.)
Unpacking libmailutils1 (from .../libmailutils1_1%3a1.2+dfsg1-1+b1_i386.deb)

...
dpkg: error processing /var/cache/apt/archives/libmailutils1_1%3a1.2+dfsg1-

1+b1_i386.deb (--unpack):
trying to overwrite `/usr/lib/libsieve.so.1', which is also in package

libsieve2-1
Errors were encountered while processing:
/var/cache/apt/archives/libmailutils1_1%3a1.2+dfsg1-1+b1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

***mail command***
osaka9:~# mail postman@osaka9.infonic.local
mail: error while loading shared libraries: libmu_mbox.so.1: cannot open

shared object file: No such file or directory
 
Old 06-13-2008, 11:58 PM   #2
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
you can use:

$ ldd /usr/bin/mail

to get a listing of what libraries 'mail' is linked against and try to install the appropriate libs. But your first worry my be about resolving those install issues while installing packages - I'm not a debian person but those don't look good.
 
Old 06-15-2008, 09:52 PM   #3
tatsuya
LQ Newbie
 
Registered: Jun 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Hi,
Thanks for your advise.
I tried to use 'ldd' command, and then I found some unlinked files.
But I don't know how to fix them.
Please tell me how to fix them.

Best regards,


osaka9:~# ldd /usr/bin/mail
linux-gate.so.1 => (0xffffe000)
libmu_mbox.so.1 => not found
libmu_imap.so.1 => not found
libmu_pop.so.1 => not found
libmuauth.so.1 => not found
libmu_nntp.so.1 => not found
libmu_mh.so.1 => not found
libmu_maildir.so.1 => not found
libmailutils.so.1 => not found
libmysqlclient.so.15 => /usr/lib/libmysqlclient.so.15 (0xb7d23000)
libnsl.so.1 => /lib/i686/cmov/libnsl.so.1 (0xb7d0a000)
libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7ce4000)
libgsasl.so.7 => /usr/lib/libgsasl.so.7 (0xb7cd2000)
libidn.so.11 => /usr/lib/libidn.so.11 (0xb7ca0000)
libntlm.so.0 => /usr/lib/libntlm.so.0 (0xb7c99000)
libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0xb7c70000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0xb7be2000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0xb7bbf000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0xb7bbc000)
libgnutls.so.26 => /usr/lib/libgnutls.so.26 (0xb7b42000)
libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0xb7b32000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7b1d000)
libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0xb7ab5000)
libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0xb7ab1000)
libpam.so.0 => /lib/libpam.so.0 (0xb7aa7000)
libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb7aa2000)
libreadline.so.5 => /lib/libreadline.so.5 (0xb7a71000)
libncurses.so.5 => /lib/libncurses.so.5 (0xb7a40000)
libcrypt.so.1 => /lib/i686/cmov/libcrypt.so.1 (0xb7a0e000)
libresolv.so.2 => /lib/i686/cmov/libresolv.so.2 (0xb79fa000)
libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb79e1000)
libgdbm.so.3 => /usr/lib/libgdbm.so.3 (0xb79da000)
libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb787f000)
/lib/ld-linux.so.2 (0xb7f14000)
libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0xb7877000)
libkeyutils.so.1 => /lib/libkeyutils.so.1 (0xb7874000)

Last edited by tatsuya; 06-16-2008 at 03:51 AM.
 
  


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
command line email client to send mail to remote mail server dhanju Linux - Software 1 03-07-2008 07:37 AM
Troubles with e-mail server renaissance Ubuntu 2 02-01-2007 09:04 PM
sendmail: not possible to pipe mail to programs using ~/.forward && /etc/mail/aliases fhd Linux - Networking 1 01-09-2005 07:05 PM
e-mail troubles mane.x Linux - General 0 07-08-2004 09:32 AM
mail troubles,,, plisken Linux - General 2 05-14-2003 08:40 PM


All times are GMT -5. The time now is 05:06 AM.

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