[Pdns-users] Re: Compiling Issue.
bert hubert
ahu at ds9a.nl
Wed Apr 13 21:47:45 UTC 2005
On Wed, Apr 13, 2005 at 05:07:10PM -0400, Josh Danko wrote:
> The system is OpenBSD 3.6 . I have downloaded OpenBSD binary packages of
> MySQL from MySQL's website. I have followed their directions verbatim. The
> only extra thing I added was a symbolic link from mysql/include to
> /usr/local/include/mysql . Here is the error I am receiving. I have tried
> to add -lz to the LIBS= in configure.in but it does not make a difference.
Have you added this like this:
$ LIBS=-lz ./configure
?
>
> Here is the error:
>
>
>
> /usr/local/mysql/lib/libmysqlclient.a(my_compress.o)(.text+0xa1): In
> function `my_uncompress':
> : undefined reference to `uncompress'
> /usr/local/mysql/lib/libmysqlclient.a(my_compress.o)(.text+0x138): In
> function `my_compress_alloc':
> : undefined reference to `compress'
> collect2: ld returned 1 exit status
> gmake[3]: *** [pdns_server] Error 1
> gmake[3]: Leaving directory `/root/pdns-2.9.17/pdns'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory `/root/pdns-2.9.17/pdns'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/root/pdns-2.9.17'
> gmake: *** [all] Error 2
>
>
> Thanks,
>
> Josh
>
>
>
>
>
> -----Original Message-----
> From: bert hubert [mailto:ahu at ds9a.nl]
> Sent: Wednesday, April 13, 2005 4:48 PM
> To: Josh Danko
> Subject: Re: Compiling Issue.
>
> On Wed, Apr 13, 2005 at 04:45:26PM -0400, Josh Danko wrote:
> > I appreciate the quick response. However, it doesn't work. If I add
> > LIBS=-lz to Makefile and run gmake it does the same thing. I looked in
> > /usr/lib and I have libz.a in there. You know what else I can be doing
> > wrong?
>
> Show me the exact error message you get, please, and surrounding lines. Also
> please CC pdns-users at mailman.powerdns.com.
>
> Thanks!
>
> >
> > Josh
> >
> > -----Original Message-----
> > From: bert hubert [mailto:ahu at ds9a.nl]
> > Sent: Wednesday, April 13, 2005 4:40 PM
> > To: Josh Danko
> > Cc: pdns.express at trilab.com
> > Subject: Re: Compiling Issue.
> >
> > Try adding -lz
> > LIBS=-lz ./configure
> > etc etc
> >
> > On Wed, Apr 13, 2005 at 09:29:54PM +0200, Josh Danko wrote:
> > > Do you know of any issues with OpenBSD? I keep getting a undefined
> > reference to \'compress\' error when i try to compile.
> > >
> > >
> > >
> >
> > --
> > http://www.PowerDNS.com Open source, database driven DNS Software
> > http://netherlabs.nl Open and Closed source services
> >
> >
> >
>
> --
> http://www.PowerDNS.com Open source, database driven DNS Software
> http://netherlabs.nl Open and Closed source services
>
>
> !DSPAM:425d8a05312471661777188!
--
http://www.PowerDNS.com Open source, database driven DNS Software
http://netherlabs.nl Open and Closed source services
More information about the Pdns-users
mailing list