Dear List, i've compiled powerdns with mysql support from ports on a clean 5.0 i386 install. When the pdns_server tries to load the libgmysqlbackend.so it exits with the following error:
pdns_server:/usr/local/lib/powerdns/libgmysqlbackend.so: undefined symbol '_ZN11GSQLBackend6lookupERK5QTypeRKSsP9DNSPacketi' pdns_server:/usr/local/lib/powerdns/libgmysqlbackend.so: undefined symbol '_ZN11GSQLBackend3getER17DNSResourceRecord' pdns_server:/usr/local/lib/powerdns/libgmysqlbackend.so: undefined symbol '_ZN11GSQLBackend4listERKSsi' pdns_server:/usr/local/lib/powerdns/libgmysqlbackend.so: undefined symbol '_ZN10DNSBackend6getSOAERKSsR7SOADataP9DNSPacket' pdns_server:/usr/local/lib/powerdns/libgmysqlbackend.so: undefined symbol '_ZN11GSQLBackend8isMasterERKSsS1_' pdns_server:/usr/local/lib/powerdns/libgmysqlbackend.so: undefined symbol '_ZN11GSQLBackend16startTransactionERKSsi' pdns_server:/usr/local/lib/powerdns/libgmysqlbackend.so: undefined symbol '_ZN11GSQLBackend17commitTransactionEv' pdns_server:/usr/local/lib/powerdns/libgmysqlbackend.so: undefined symbol '_ZN11GSQLBackend16abortTransactionEv' pdns_server:/usr/local/lib/powerdns/libgmysqlbackend.so: undefined symbol '_ZN11GSQLBackend10feedRecordERK17DNSResourceRecord' pdns_server:/usr/local/lib/powerdns/libgmysqlbackend.so: undefined symbol '_ZN11GSQLBackend13getDomainInfoERKSsR10DomainInfo' pdns_server:/usr/local/lib/powerdns/libgmysqlbackend.so: undefined symbol '_ZN11GSQLBackend20getUnfreshSlaveInfosEPSt6vectorI10DomainInfoSaIS1_EE' pdns_server:/usr/local/lib/powerdns/libgmysqlbackend.so: undefined symbol '_ZN11GSQLBackend17getUpdatedMastersEPSt6vectorI10DomainInfoSaIS1_EE' pdns_server:/usr/local/lib/powerdns/libgmysqlbackend.so: undefined symbol '_ZN11GSQLBackend8setFreshEj' pdns_server:/usr/local/lib/powerdns/libgmysqlbackend.so: undefined symbol '_ZN11GSQLBackend11setNotifiedEjj' pdns_server:/usr/local/lib/powerdns/libgmysqlbackend.so: undefined symbol '_ZN11GSQLBackend18superMasterBackendERKSsS1_RKSt6vectorI17DNSResourceRecordSaIS3_EEPSsPP10DNSBackend' pdns_server:/usr/local/lib/powerdns/libgmysqlbackend.so: undefined symbol '_ZN11GSQLBackend17createSlaveDomainERKSsS1_S1_' pdns_server:/usr/local/lib/powerdns/libgmysqlbackend.so: undefined symbol '_ZTI11GSQLBackend' pdns_server:/usr/local/lib/powerdns/libgmysqlbackend.so: undefined symbol '_ZTV11GSQLBackend' pdns_server:/usr/local/lib/powerdns/libgmysqlbackend.so: undefined symbol '_ZTV10DNSBackend' pdns_server:/usr/local/lib/powerdns/libgmysqlbackend.so: undefined symbol '_ZN10DNSBackend6getArgERKSs' pdns_server:/usr/local/lib/powerdns/libgmysqlbackend.so: undefined symbol '_Z4itoai' pdns_server:/usr/local/lib/powerdns/libgmysqlbackend.so: undefined symbol '_ZN6LoggerlsENS_7UrgencyE' pdns_server:/usr/local/lib/powerdns/libgmysqlbackend.so: undefined symbol '_ZN14BackendFactory7declareERKSsS1_S1_S1_' pdns_server:/usr/local/lib/powerdns/libgmysqlbackend.so: undefined symbol '_ZN6LoggerlsERFRSoS0_E' pdns_server:/usr/local/lib/powerdns/libgmysqlbackend.so: undefined symbol '_ZN10DNSBackend11getArgAsNumERKSs' pdns_server:/usr/local/lib/powerdns/libgmysqlbackend.so: undefined symbol '_ZN6LoggerlsERKSs' pdns_server:/usr/local/lib/powerdns/libgmysqlbackend.so: undefined symbol '_Z13BackendMakersv' pdns_server:/usr/local/lib/powerdns/libgmysqlbackend.so: undefined symbol '_ZN11GSQLBackendC2ERKSsS1_' pdns_server:/usr/local/lib/powerdns/libgmysqlbackend.so: undefined symbol '_ZN17BackendMakerClass6reportEP14BackendFactory' pdns_server:/usr/local/lib/powerdns/libgmysqlbackend.so: undefined symbol '_Z4theLRKSs' Feb 19 10:38:06 Unable to load module '/usr/local/lib/powerdns/libgmysqlbackend.so': Cannot load specified object Feb 19 10:38:06 dnsbackend unable to load module in gmysql First i've compiled with the following FLAVOR setup: FLAVOR="no_pgsql no_sqlite no_sqlite3". Then i've just just used the "-mysql" SUBPACKAGE option, so all the backend libraries were compiled but only the mysql package was installed beside the core. The results were the same. I've tried Google but nothing useful has come up. Is anyone out there who managed to run powerdns with mysql support? Best regards, Mate