[redland-dev] redland-0.9.14 compile error - OKAY
OTR Comm
otrcomm at isp-systems.com
Tue Nov 4 16:37:59 GMT 2003
Dave,
I got libxml2-2.6.1 installed (/usr/local/lib) and linked in to the
libxml2-2.4.2 library space (i.e.; /usr/lib on Redhat), so both Redland
and Raptor compiled and installed with no problems.
Thanks,
Murrah Boswell
Dave Beckett wrote:
>
> On Mon, 03 Nov 2003 23:03:32 -0700, Murrah Boswell <otrcomm at isp-systems.com> wrote:
>
> > Hello,
> >
> > I am trying to get redland-0.9.14 compiled. but get the following error:
> >
> > <snip>
> > make[2]: Leaving directory
> > `/usr/local/src/w3org/amaya/redland-0.9.14/librdf'
> > make[1]: Leaving directory
> > `/usr/local/src/w3org/amaya/redland-0.9.14/librdf'
> > Making all in examples
> > make[1]: Entering directory
> > `/usr/local/src/w3org/amaya/redland-0.9.14/examples'
> > source='example1.c' object='example1.o' libtool=no \
> > depfile='.deps/example1.Po' tmpdepfile='.deps/example1.TPo' \
> > depmode=gcc3 /bin/sh ../depcomp \
> > gcc -DHAVE_CONFIG_H -I. -I. -I../librdf -I../librdf
> > -DLIBRDF_INTERNAL=1 -g -c `test -f 'example1.c' || echo './'`example1.c
> > /bin/sh ../libtool --mode=link gcc -DLIBRDF_INTERNAL=1 -g -lcrypto
> > -ldb-3.2 ../librdf/librdf.la ../raptor/libraptor.la -o example1
> > example1.o
> > mkdir .libs
> > gcc -DLIBRDF_INTERNAL=1 -g -o .libs/example1 example1.o
> > ../librdf/.libs/librdf.so -lcrypto /usr/lib/libdb-3.2.so
> > /usr/local/src/w3org/amaya/redland-0.9.14/raptor/.libs/libraptor.so
> > -L/usr/lib -L/lib ../raptor/.libs/libraptor.so /usr/lib/libxml2.so -lz
> > -lm -Wl,--rpath -Wl,/usr/local/lib
> > /usr/local/src/w3org/amaya/redland-0.9.14/raptor/.libs/libraptor.so:
> > undefined reference to `initGenericErrorDefaultFunc'
> > collect2: ld returned 1 exit status
> > make[1]: *** [example1] Error 1
> > make[1]: Leaving directory
> > `/usr/local/src/w3org/amaya/redland-0.9.14/examples'
> > make: *** [all-recursive] Error 1
> >
> > I get the same error about 'initGenericErrorDefaultFunc' if I just try
> > to compile raptor-1.0.0.
> >
> > I am running on a Redhat 7.1 system with glibc-2.2.4-32
>
> Your libxml2 is too old (probably since redhat 7.1 is many years old)
>
> initGenericErrorDefaultFunc is a function in libxml2 that was added
> 13 Oct 2001 in version 2.4.7 released 30 Oct 2001.
>
> Looks like I should bump the minimum version up to that at least.
> I was thinking of making 2.5.x the minimum. Oh well.
>
> Dave
More information about the redland-dev
mailing list