b869 PowerDNS 3.02 and FreeBSD 9.0 (missing libboost_serialization.so) - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Server & Networking > Web & Network Services

Web & Network Services Discussion related to network/web services such as apache, bind, sendmail, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old February 12th, 2012, 09:11
ikevinjp ikevinjp is offline
Junior Member
 
Join Date: Jan 2012
Posts: 40
Thanks: 10
Thanked 0 Times in 0 Posts
Default PowerDNS 3.02 and FreeBSD 9.0 (missing libboost_serialization.so)

I've configured PowerDNS 3.02 with FreeBSD 9.0 (within a jail) and got the following error:

Code:
Shared object "libboost_serialization.so" not found, 
required by "pdns_server"/usr/local/etc/rc.d/pdns: WARNING: failed to start pdns
(I didn't have this problem with FreeBSD 8.2 and probably the previous version of PowerDNS.)

It worked after I added the package "boost-libs". Does anyone know why this is change or this is necessary? Thanks!
Reply With Quote
  #2  
Old February 15th, 2012, 13:41
Habbie Habbie is offline
Junior Member
 
Join Date: Feb 2012
Posts: 5
Thanks: 0
Thanked 3 Times in 3 Posts
Default

PowerDNS relies heavily on many of the boost libraries and has done so for many years. The dependency on libboost_serialization is new in 3.0, however. Presumably you were running 2.9.22 or the like on your previous setup.

If you installed PowerDNS from a package or port, and did not get boost-libs with it automatically, this may indicate a missing dependency in the port.

Last edited by DutchDaemon; February 16th, 2012 at 01:46.
Reply With Quote
  #3  
Old February 15th, 2012, 15:39
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,844
Thanks: 48
Thanked 2,060 Times in 1,890 Posts
Default

It's built with devel/boost-lib as a build dependency but not as a library dependency. If you installed dns/powerdns as a package it won't get installed.

Code:
BUILD_DEPENDS=	bjam:${PORTSDIR}/devel/boost-jam \
		${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs \
		${LOCALBASE}/lib/libcryptopp.a:${PORTSDIR}/security/cryptopp
LIB_DEPENDS=	botan.0:${PORTSDIR}/security/botan
Contact the port maintainer, he's the one that can fix it.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.

Last edited by DutchDaemon; February 16th, 2012 at 01:46.
Reply With Quote
  #4  
Old February 15th, 2012, 15:39
Habbie Habbie is offline
Junior Member
 
Join Date: Feb 2012
Posts: 5
Thanks: 0
Thanked 3 Times in 3 Posts
Default

I noticed the same after my previous post; I have contacted the port maintainer, indeed.
Reply With Quote
Reply

Tags
bind, boost-libs, pdns, powerdns

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PowerDNS slave server not working ikevinjp Web & Network Services 6 February 25th, 2012 09:57
PowerDNS can't resolve external CNAME? chillybsd Web & Network Services 0 July 1st, 2011 23:28
[Solved] Missing zpool in opensolaris and FreeBSD 8 saoirse87 General 3 February 24th, 2011 23:59
/dev/da0s1 has gone missing freebsd 8 mf93 Peripheral Hardware 3 May 16th, 2010 06:54
[Solved] FreeBSD 7.2, mysql_install_db script missing pyc Web & Network Services 9 October 21st, 2009 08:16


All times are GMT +1. The time now is 05:01.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0