-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 9/17/10 12:31 PM, Erik L. Arneson wrote:
> Howdy folks,
> 
> I'm having trouble building a 32-bit version of fetchmail-ssl-6.2.5-13.
> It's failing at the linking stage.  Here's the error:
> 
> --8<---------------cut here---------------start------------->8---
> gcc -L/sw/lib -L/sw/lib rcfile_y.o rcfile_l.o socket.o getpass.o pop2.o 
> pop3.o imap.o etrn.o odmr.o fetchmail.o idle.o env.o options.o daemon.o 
> driver.o transact.o sink.o rfc822.o smtp.o xmalloc.o uid.o mxget.o md5ify.o 
> cram.o kerberos.o gssapi.o opie.o rpa.o interface.o netrc.o base64.o report.o 
> unmime.o conf.o checkalias.o smbdes.o smbencrypt.o smbmd4.o smbutil.o 
> ipv6-connect.o lock.o md5c.o  -lintl -lssl -lcrypto -lintl -lfl -o fetchmail
> Undefined symbols:
>   "_res_9_dn_expand", referenced from:
>       _getmxrecords in mxget.o
>       _getmxrecords in mxget.o
>   "_res_9_search", referenced from:
>       _getmxrecords in mxget.o
>   "_res_9_dn_skipname", referenced from:
>       _getmxrecords in mxget.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> --8<---------------cut here---------------end--------------->8---
> 
> Anybody seen this problem before?
> 
> Thanks!
> 

I found some Google hits, not specifically related to this package,
which said that adding -lresolv to the compile lines solves this
problem, which appears to show up on packages for 10.6 where it didn't
occur on 10.5.

Adding "SetLDFLAGS: -lresolv" to the fetchmail-ssl.info file allowed it
to work for me on 10.6, and not fail on 10.5, so if there aren't any
objections I can add that.

- -- 
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyTuowACgkQB8UpO3rKjQ9pNACgmuHLzb96DkV4Bybx+ZDzQm8i
LRkAoIG6DjfV2/qLO+MuQGC83TeLFSlT
=fA+l
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to