[Pdns-users] libgmysqlbackend.so & module gmysql

Steve steve at goquest.com
Tue Mar 18 23:50:17 UTC 2003


On Tue, 18 Mar 2003 23:29:23 +0100
bert hubert <ahu at ds9a.nl> wrote:

> On Tue, Mar 18, 2003 at 04:23:34PM -0600, Steve wrote:
> 
> > I am either missing something or perhaps a little dense but i can't seem
> > to find module gmysql or libgmysqlbackend.so. I downloaded the source and
> > the rpm neither provides these files? pdns runs and tests ok but i would
> > like to use the mysql database. Is there a sperate download location or
> > package for the mysql add-ins?
> 
> The rpm version has libgmysqlbackend.so built in. If you build yourself,
> follow Ruben's excellent suggestion.
> 
> Regards,
> 
> bert
> 
> > 
> > Thanks
> > Steve

installing the pdns-static-2.9.6-1 rpm i get the following list of provided files:
powerdns]# rpm -ql pdns-static-2.9.6-1
/etc/init.d/pdns
/etc/powerdns
/etc/powerdns/pdns.conf
/usr/bin/pdns_control
/usr/bin/xdb-fill
/usr/bin/zone2sql
/usr/sbin/pdns_server

this appears to be the correct rpm for redhat 8.0 however no support files for mysql?

installing the pdns-2.8-1.i386.rpm i get the following list of files:

rpm -ql pdns-2.8.1
/etc/init.d/pdns
/etc/powerdns
/etc/powerdns/pdns.conf
/usr/doc/pdns/LICENSE
/usr/doc/pdns/README
/usr/doc/pdns/html
/usr/doc/pdns/html/about.html
/usr/doc/pdns/html/all-settings.html
/usr/doc/pdns/html/backend-configuration-details.html
/usr/doc/pdns/html/backend-error-reporting.html
/usr/doc/pdns/html/backend-writers-guide.html
/usr/doc/pdns/html/backends-detail.html
/usr/doc/pdns/html/bindbackend.html
/usr/doc/pdns/html/changelog.html
/usr/doc/pdns/html/configuring-db-connection.html
/usr/doc/pdns/html/considerations.html
/usr/doc/pdns/html/db2.html
/usr/doc/pdns/html/developer-faq.html
/usr/doc/pdns/html/dns-to-query.html
/usr/doc/pdns/html/fancy-records.html
/usr/doc/pdns/html/generic-mypgsql-backends.html
/usr/doc/pdns/html/guardian.html
/usr/doc/pdns/html/index.html
/usr/doc/pdns/html/init-d-commands.html
/usr/doc/pdns/html/installing-on-unix.html
/usr/doc/pdns/html/lazy-recursion.html
/usr/doc/pdns/html/master-backends.html
/usr/doc/pdns/html/master.html
/usr/doc/pdns/html/metrics.html
/usr/doc/pdns/html/migration.html
/usr/doc/pdns/html/modules.html
/usr/doc/pdns/html/monitoring.html
/usr/doc/pdns/html/mysqlbackend.html
/usr/doc/pdns/html/odbc.html
/usr/doc/pdns/html/oracle.html
/usr/doc/pdns/html/pdns-internals.html
/usr/doc/pdns/html/pdns-on-unix.html
/usr/doc/pdns/html/pdnsbackend.html
/usr/doc/pdns/html/performance.html
/usr/doc/pdns/html/pipebackend-dynamic-resolution.html
/usr/doc/pdns/html/powerdns.html
/usr/doc/pdns/html/querycache.html
/usr/doc/pdns/html/recursion.html
/usr/doc/pdns/html/replication.html
/usr/doc/pdns/html/running-on-windows.html
/usr/doc/pdns/html/rw-backends.html
/usr/doc/pdns/html/security.html
/usr/doc/pdns/html/slave.html
/usr/doc/pdns/html/syslog.html
/usr/doc/pdns/html/testing.html
/usr/doc/pdns/html/thanks-to.html
/usr/doc/pdns/html/types.html
/usr/doc/pdns/html/virtual.html
/usr/doc/pdns/html/windows.html
/usr/doc/pdns/pdns.pdf
/usr/doc/pdns/pdns.txt
/usr/lib/powerdns/libbindbackend.so
/usr/lib/powerdns/libgpgsqlbackend.so
/usr/lib/powerdns/libmysqlbackend.so
/usr/lib/powerdns/libpipebackend.so
/usr/sbin/pdns_control
/usr/sbin/pdns_server
/usr/sbin/zone2sql

we have mysql support, however this will not run on redhat 8.0

Now if i remove pdns-2.8-1.i386.rpm and reinstall pdns-static-2.9.6-1 rpm the 2.8-1 install leaves all mysql realted files in place so now the 2.9.6-1 installation works? 

Is this a safe installation?

When I compile all goes well, then i get the following when i run pdns:

/etc/rc.d/init.d/pdns monitor
pdns: Mar 18 17:02:47 Unable to load module '/usr/local/lib/libgmysqlbackend.so': /usr/local/lib/libgmysqlbackend.so: undefined symbol: _ZN11GSQLBackend6lookupERK5QTypeRKSsP9DNSPacketi
Mar 18 17:02:47 Unable to load module gmysql

this is RH 8.0 on a quad Xeon 2.6gig with 2gig ram

sorry for the lengthy email...

Steve


More information about the Pdns-users mailing list