Bob Williams wrote:
  >What am I missing?  Is this a bug in the rpm?:
  >
  >I just upgraded using the Red Hat 6.4.2 rpm (from 6.3).
  >Now I get a compile time error:
  >
  >cc -g mail2sql.c -o mail2sql -lpq \
  >-I/usr/include/pgsql
  >/usr/lib/libpq.so: undefined reference to `crypt'
 
Newer releases of glibc separate out the crypt library.  Just add -lcrypt
to your link options.

-- 
      Vote against SPAM: http://www.politik-digital.de/spam/
                 ========================================
Oliver Elphick                                [EMAIL PROTECTED]
Isle of Wight                              http://www.lfix.co.uk/oliver
               PGP key from public servers; key ID 32B8FAA1
                 ========================================
     "Fear not, for I am with thee; be not dismayed, 
      for I am thy God. I will strengthen thee and I will 
      help thee; yea, I will uphold thee with the right hand
      of my righteousness."         Isaiah 41:10 


Reply via email to