library file resolve + xmh problems

library file resolve + xmh problems

Post by Dave Ry » Fri, 04 Aug 1995 04:00:00

i looked in the FAQ's and else where first. but here is my problem.

Linux Version  ->  1.2.3
GCC Version    ->  2.6.3

when i compile GOPHER i get error message:  "ld: cannot open -lresolv: No
such file or directory"

i did a 'find . -print' as root and i can not find resolv, or anything
like it' anywhere.

where can i get this file, or work around it?


problem #2.

i want to run xmh, but i can not get incorporate, scan, compose email.

what an i missing?  (inc, comp, scan?)

what do i need to do. where can i get the files needed to fix it?

thanks for all your help.


1. xmh-pop-1.0b - mh/xmh with POP/Unix auth. support


xmh-pop-1.0b (beta release) is available in


  This package will allow xmh to properly interact with the MH
package when MH has been compiled with POP / UNIX authentication
support. The added functionalities are:

- the ability to prompt the user for a password
- the ability to detect if a forked mh command requires a passwd (as
inc and msgchk do), and to feed the command with the password


- MH-6.8.3 source tree:
  minor changes to the MH package are unfortunately required. See
  README.MH for details.
  The patch is included in this distribution, see instructions below.

  Once the patch has been applied, the MH package must be recompiled
  with POP support, and UNIX authentication; refer to the MH
  documentation for more instructions.

- You will have to patch and recompile xmh. See the file README.XMH
  for a description of the changes to xmh.

mh-6.8.3, popper-1.831, xmh-mitR5, and xmh-pop are available via
anonymous ftp on in the directory /system/mail:


-  The approach used implies storing a x-ored clear text password in
  the memory space of a running program (xmh) for the lifetime of the
  program. If you are unsure about the risks this implies, you probably
  shouldn't use this patch.

-  The patches to MH will generate programs (e.g. inc & msgchk) that
  read passwords from their standard  input. This will allow a silly
  user to store a clear text password in a file or a script so as to
  feed it automatically to the mh programs.

- xmh will feed external programs (e.g. inc) with clear-text
  passwords: better make sure these programs aren't trojan horses. As
  a consequence the way xmh looks for mh binaries has been modified,


- We got many many deadlocks with the select in xmh/command.c, which
  never returned even though the MH command did write on stderr. The
  problem disapeared after we replaced vfork by fork in command.c, but
  we are unsure if this was really causing the problem.. there may be
  a bug laying around there

The program succesfully compiled and is being tested for the following

SunOS 4.1.3_U1 1 / Sun cc -O
SunOS 4.1.3_U1 1 / gcc-2.4.5 -fstrength-reduce -fpcc-struct-return
HP-UX A.09.05    / HP cc +O1 -Aa +DA1.0
HP-UX A.09.05    / gcc-2.4.5 -fstrength-reduce -fpcc-struct-return -O -ansi

  Comments appreciated.

        Frank Mangin                            Tel: (33) 93 65 78 57

2. USB (kusbdd?) gone mad

3. Resolved problem with building KDE3 .moc files

4. Solaris 9 or Solrais 10

5. Need sort file problem resolved

6. problem with umask on NFS disks

7. Problems with 'xmh'

8. gcc-3.1 optimisations (for pentium3)?

9. problems incorporating mail with xmh on solaris 2.5

10. Does ping and host use the same resolve library?

11. Can't resolve 'XScreenSaverQueryExtension' (missing a library ?)

12. Resolving libraries on Solaris 2.6

13. Resolving address -> symbol name in executables and shared libraries