[PLUG] Compiling loki_setupdb on CentOS 5...

Larry Brigman larry.brigman at gmail.com
Tue Nov 25 16:15:26 UTC 2008


On Mon, Nov 24, 2008 at 11:16 PM, someone <plug_1 at robinson-west.com> wrote:
> Apparently, linking xml2-common to xml-common isn't enough...
>
> [root at eagle loki_setupdb]# make all
> make: Nothing to be done for `all'.
> [root at eagle loki_setupdb]# make setupdb
> gcc -O2 -fsigned-char -Wall -g -I. -D_REENTRANT -I/usr/include/libxml2
> -DSETUPDB_VERSION_MAJOR=1 -DSETUPDB_VERSION_MINOR=6 -o setupdb
> register.c x86/libsetupdb.a -L/usr/local/lib /usr/lib/libxml.a
> -Wl,-Bstatic -lz -Wl,-Bdynamic
> /usr/lib/libxml.a(xpath.o): In function `xmlXPathStringEvalNumber':
> (.text+0x2e9c): undefined reference to `pow'
> /usr/lib/libxml.a(xpath.o): In function `xmlXPathRoundFunction':
> (.text+0x57c8): undefined reference to `fmod'
> /usr/lib/libxml.a(xpath.o): In function `xmlXPathCeilingFunction':
> (.text+0x597e): undefined reference to `fmod'
> /usr/lib/libxml.a(xpath.o): In function `xmlXPathFloorFunction':
> (.text+0x5a67): undefined reference to `fmod'
> /usr/lib/libxml.a(xpath.o): In function `xmlXPathModValues':
> (.text+0x6705): undefined reference to `fmod'
> /usr/lib/libxml.a(xpath.o): In function `xmlXPathCastNumberToString':
> (.text+0x72c8): undefined reference to `log10'
> /usr/lib/libxml.a(xpath.o): In function `xmlXPathCompPathExpr':
> (.text+0xb47e): undefined reference to `pow'
> /usr/lib/libxml.a(xmlschemastypes.o): In function `xmlSchemaDateNormalize':
> (.text+0x13cc): undefined reference to `floor'
> /usr/lib/libxml.a(xmlschemastypes.o): In function `xmlSchemaDateNormalize':
> (.text+0x14b2): undefined reference to `floor'
> /usr/lib/libxml.a(xmlschemastypes.o): In function `xmlSchemaDateNormalize':
> (.text+0x154c): undefined reference to `floor'
> /usr/lib/libxml.a(xmlschemastypes.o): In function `xmlSchemaDateNormalize':
> (.text+0x16a1): undefined reference to `floor'
> /usr/lib/libxml.a(xmlschemastypes.o): In function `xmlSchemaDateNormalize':
> (.text+0x189d): undefined reference to `floor'
> collect2: ld returned 1 exit status
> make: *** [setupdb] Error 1
>
>

There are packages for libxml2.  I have them available to me and
installed. I',m running CentOS 5
on a desktop at work.



More information about the PLUG mailing list