[redland-dev] gnu make does not help

Dave Beckett dave.beckett at bristol.ac.uk
Tue May 25 21:55:59 BST 2004


I've been trying this on sourceforge's solaris9/x86 box.

$ uname -a

After:
$ ./configure --with-perl --with-bdb=/usr/local/BerkeleyDB.4.2/

I get:

Redland build summary:
  Berkeley/Sleepycat DB:  Version unknown (library db-4.2 in 
/usr/local/BerkeleyDB.4.2//lib)
  Languages available:    perl(5.6.1) python(2.3) java(1.4.1_06)
  Language APIs built:    perl
  Triple stores:          memory hashes(memory) hashes(bdb unknown)
  RDF parsers:            raptor(internal)
  Content digests:        md5 sha1

This uses an internal raptor, slightly different from yours.  I can't
install a system wide one on sf's machine.

$ make

gives the same error you have, so at least I have a hint how to debug it:

/bin/bash ../libtool --mode=link gcc -DLIBRDF_INTERNAL=1 -g   
-DLIBRDF_INTERNAL=1 -g  -L/usr/local/BerkeleyDB.4.2//lib  -ldb-4.2     -o 
librdf.la -rpath /usr/local/lib -version-info 0:0:0 rdf_init.lo rdf_uri.lo 
rdf_node.lo rdf_statement.lo rdf_digest.lo rdf_hash.lo rdf_hash_cursor.lo 
rdf_hash_memory.lo rdf_model.lo rdf_model_storage.lo rdf_iterator.lo 
rdf_concepts.lo rdf_list.lo rdf_storage.lo rdf_storage_list.lo 
rdf_storage_hashes.lo rdf_storage_file.lo rdf_stream.lo rdf_parser.lo 
rdf_heuristics.lo rdf_files.lo rdf_utf8.lo rdf_query.lo 
rdf_query_triples.lo rdf_serializer.lo rdf_serializer_raptor.lo 
rdf_serializer_rdfxml.lo memcmp.lo  rdf_digest_md5.lo rdf_digest_sha1.lo  
rdf_hash_bdb.lo  rdf_parser_raptor.lo ../raptor/libraptor.la  
libtool: link: `memcmp.lo' is not a valid libtool object
make[2]: *** [librdf.la] Error 1
make[2]: Leaving directory `/tmp/r/redland-0.9.16/librdf'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/r/redland-0.9.16/librdf'
make: *** [all-recursive] Error 1

I "fixed" it with:
$ cd librdf
$ make memcmp.lo
$ cd ..

so the rest must be due to funny dependencies.  I'll look further.

$ make check

fails because the libraries are not installed, in particular
here libssl.so is not in the default library search path
(it is in /usr/local/ssl/lib) so when programs run, they fail
to find it.

Trying again with export LD_LIBRARY_PATH=/usr/local/ssl/lib
then
$ make check
it all works fine.

Now to perl

$ cd perl
$ make check

seems to do nothing, I can't see why it's not running the tests.
mysterious.

Maybe I'll look more when I get back to the UK.

Dave




More information about the redland-dev mailing list