
16th January 2012, 11:56
|
|
Junior Member
|
|
Join Date: Jan 2012
Location: Skive, Denmark
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
Last edited by WilyeECoyote; 16th January 2012 at 19:44.
Reason: Resolved
|

23rd February 2012, 11:03
|
|
Junior Member
|
|
Join Date: Feb 2012
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by WilyeECoyote
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?
|

17th May 2012, 06:12
|
|
Junior Member
|
|
Join Date: Apr 2012
Location: Nacka (Stockholm), Sweden
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
Last edited by Icelake; 17th May 2012 at 21:34.
Reason: did write wrong version number of vda
|

17th May 2012, 08:40
|
|
Junior Member
|
|
Join Date: May 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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?
|

18th May 2012, 16:27
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Did you use the correct VDA patch for your Postfix version?
Which distribution do you use?
|

19th May 2012, 10:03
|
|
Junior Member
|
|
Join Date: Apr 2012
Location: Nacka (Stockholm), Sweden
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

21st May 2012, 10:33
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Not sure if this helps, but you can try to install the package binutils-gold. Then try to build Postfix again.
|

21st May 2012, 15:09
|
|
Junior Member
|
|
Join Date: Apr 2012
Location: Nacka (Stockholm), Sweden
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

28th May 2012, 19:43
|
|
Junior Member
|
|
Join Date: May 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Falko!!
When I try to build package got the same error, I´ve 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!
|

29th May 2012, 12:34
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Yes, but quota won't work then.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 02:09.
|
Recent comments
16 hours 57 min ago
1 day 2 hours ago
1 day 3 hours ago
1 day 6 hours ago
1 day 11 hours ago
1 day 11 hours ago
1 day 13 hours ago
1 day 23 hours ago
2 days 4 hours ago
2 days 6 hours ago