HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Postfix compile error (http://www.howtoforge.com/forums/showthread.php?t=55770)

WilyeECoyote 16th January 2012 11:56

Postfix compile error
 
Figured it out. Needed a couple of -lresolv in the Makefile.in a couple of places.

Hello

I got this problem when compiling postfix 2.8.5 on Ubuntu 11.10

../../lib/libdns.a: error: undefined reference to '__dn_expand'
../../lib/libdns.a: error: undefined reference to '__res_search'

Anyone know how to fix this??

Lars Fisker

Icon 23rd February 2012 11:03

Quote:

Originally Posted by WilyeECoyote (Post 271560)
Figured it out. Needed a couple of -lresolv in the Makefile.in a couple of places.

Hello

I got this problem when compiling postfix 2.8.5 on Ubuntu 11.10

../../lib/libdns.a: error: undefined reference to '__dn_expand'
../../lib/libdns.a: error: undefined reference to '__res_search'

Anyone know how to fix this??

Lars Fisker

Got same problem, but don't know howto do "a couple of -lresolv in the Makefile.in a couple of places". Can anyone tell what exactly must be done to fix, please?

Icelake 17th May 2012 06:12

Re. building error: Postfix VDA 2.9.1
 
Can anyone with the right knowledge please describe the process of fixing the above problem,

../../lib/libdns.a: undefined reference to `__res_search'
../../lib/libdns.a: undefined reference to `__dn_expand'

that makes the building process with the VDA 2.9.1 patch end in error?
I think it might be useful for many members.

Best regards/Icelake

medved 17th May 2012 08:40

Postfix VDA 2.9.1
 
make: *** [maildir.o] Error 1
make: Leaving directory `/usr/src/postfix-2.9.1/src/virtual'
make[1]: *** [update] Error 1
make[1]: Leaving directory `/usr/src/postfix-2.9.1'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2


somebody knows as to solve a problem?

falko 18th May 2012 16:27

Did you use the correct VDA patch for your Postfix version?

Which distribution do you use?

Icelake 19th May 2012 10:03

Hi, Falko!

On my behalf I tested as you suggested and got the answer:
mail_version = 2.9.1
milter_macro_v = $mail_name $mail_version
so I fetched the patch: postfix-vda-v11-2.9.1.patch with wget as you described in your Howto.

I use Ubuntu 12.04 swedish version.

Rgds/Dagge

falko 21st May 2012 10:33

Not sure if this helps, but you can try to install the package binutils-gold. Then try to build Postfix again.

Icelake 21st May 2012 15:09

Thanks, Falko!
I erased everething and downloaded the files fresh (just in case).
It didn't work out with the new linker either.
So I just sit on the problem for the moment.
Wonders however...
Is it possible to use the resulting mailserver without the qutoa patch?
Or will it kick back at you, if it not finds the quota information in the database?

Rgds/Dagge

gaborojo 28th May 2012 19:43

Hi Falko!!
 
When I try to build package got the same error, Ive been following your how to from this web site. Is it posible use mail server without patch?

I tried with Ubuntu 12.04 LTS (64 bits and 32 bits)

Best Regards!

falko 29th May 2012 12:34

Yes, but quota won't work then.


All times are GMT +2. The time now is 20:01.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.