[redland-dev] redland-0.9.14 compile error

Dave Beckett dave.beckett at bristol.ac.uk
Tue Nov 4 10:19:04 GMT 2003


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