[redland-dev] cygwin build - raptor2-2.0.0.tar.gz
Iraklis Leontiadis
leontiad at gmail.com
Wed Jan 19 13:01:18 CET 2011
Hello,
Ok the 3 packages have been successfully installed:
raptor2-1.9.1
rasqal-0.9.21
redland-1.0.12
.
But now I am getting some linking errors when I am trying to compile the
example1.c under redland-1.0.12/examples :
$ gcc -L/usr/local/lib example1.c -lraptor2 -lrasqal -lrdf -lxml2
/usr/local/lib/librdf.a(rdf_init.o): In function `librdf_free_world':
/home/home/redland-1.0.12/src/rdf_init.c:235: undefined reference to
`_lt_dlexit'
/usr/local/lib/librdf.a(rdf_init.o): In function `librdf_new_world':
/home/home/redland-1.0.12/src/rdf_init.c:161: undefined reference to
`_lt_dlinit'
/home/home/redland-1.0.12/src/rdf_init.c:163: undefined reference to
`_lt_dlsetsearchpath'
/usr/local/lib/librdf.a(rdf_storage.o): In function
`librdf_storage_load_all_modules':
/home/home/redland-1.0.12/src/rdf_storage.c:266: undefined reference to
`_lt_dlforeachfile'
/home/home/redland-1.0.12/src/rdf_storage.c:264: undefined reference to
`_lt_dlgetsearchpath'
/usr/local/lib/librdf.a(rdf_storage.o): In function
`librdf_storage_load_module':
/home/home/redland-1.0.12/src/rdf_storage.c:286: undefined reference to
`_lt_dlopenext'
/home/home/redland-1.0.12/src/rdf_storage.c:289: undefined reference to
`_lt_dlsym'
/home/home/redland-1.0.12/src/rdf_storage.c:294: undefined reference to
`_lt_dlclose'
/usr/local/lib/librdf.a(rdf_storage.o): In function `librdf_init_storage':
/home/home/redland-1.0.12/src/rdf_storage.c:107: undefined reference to
`_lt_dlclose'
/usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
`librdf_query_rasqal_destructor':
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:1458: undefined reference
to `_rasqal_free_world'
/usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
`librdf_query_rasqal_constructor':
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:1402: undefined reference
to `_rasqal_set_triples_source_factory'
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:1409: undefined reference
to `_rasqal_languages_enumerate'
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:1412: undefined reference
to `_rasqal_languages_enumerate'
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:1376: undefined reference
to `_rasqal_new_world'
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:1392: undefined reference
to `_rasqal_world_set_raptor'
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:1394: undefined reference
to `_rasqal_world_open'
/usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
`librdf_query_rasqal_free_results_formatter':
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:1314: undefined reference
to `_rasqal_free_query_results_formatter'
/usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
`librdf_query_rasqal_new_results_formatter':
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:1281: undefined reference
to `_rasqal_new_query_results_formatter2'
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:1301: undefined reference
to `_rasqal_free_query_results_formatter'
/usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
`librdf_query_rasqal_query_results_update_statement':
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:1014: undefined reference
to `_rasqal_query_results_get_triple'
/usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
`librdf_query_rasqal_query_results_next_statement':
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:1189: undefined reference
to `_rasqal_query_results_next_triple'
/usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
`librdf_query_rasqal_free_results':
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:919: undefined reference to
`_rasqal_free_query_results'
/usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
`rasqal_literal_to_redland_node':
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:227: undefined reference to
`_rasqal_literal_get_rdf_term_type'
/usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
`librdf_query_rasqal_results_get_binding_value_by_name':
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:891: undefined reference to
`_rasqal_query_results_get_binding_value_by_name'
/usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
`librdf_query_rasqal_results_get_binding_value':
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:862: undefined reference to
`_rasqal_query_results_get_binding_value'
/usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
`librdf_query_rasqal_results_get_bindings':
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:841: undefined reference to
`_rasqal_query_results_get_bindings'
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:848: undefined reference to
`_rasqal_query_results_get_bindings_count'
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:843: undefined reference to
`_rasqal_query_results_get_bindings'
/usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
`librdf_query_rasqal_set_offset':
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:786: undefined reference to
`_rasqal_query_set_offset'
/usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
`librdf_query_rasqal_set_limit':
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:769: undefined reference to
`_rasqal_query_set_limit'
/usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
`librdf_query_rasqal_execute':
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:734: undefined reference to
`_rasqal_query_prepare'
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:739: undefined reference to
`_rasqal_free_query_results'
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:741: undefined reference to
`_rasqal_query_execute'
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:747: undefined reference to
`_rasqal_free_query_results'
/usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
`librdf_query_rasqal_terminate':
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:183: undefined reference to
`_rasqal_free_query'
/usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
`librdf_query_rasqal_init':
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:147: undefined reference to
`_rasqal_new_query'
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:151: undefined reference to
`_rasqal_query_set_user_data'
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:154: undefined reference to
`_rasqal_world_set_log_handler'
/usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
`rasqal_redland_new_triples_source':
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:322: undefined reference to
`_rasqal_query_get_user_data'
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:326: undefined reference to
`_rasqal_query_get_data_graph_sequence'
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:334: undefined reference to
`_rasqal_free_data_graph'
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:353: undefined reference to
`_rasqal_query_add_data_graph'
/usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
`rasqal_redland_init_triples_match':
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:647: undefined reference to
`_rasqal_literal_as_variable'
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:658: undefined reference to
`_rasqal_literal_as_variable'
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:669: undefined reference to
`_rasqal_literal_as_variable'
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:681: undefined reference to
`_rasqal_literal_as_variable'
/usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
`redland_node_to_rasqal_literal':
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:255: undefined reference to
`_rasqal_new_uri_literal'
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:265: undefined reference to
`_rasqal_alloc_memory'
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:272: undefined reference to
`_rasqal_alloc_memory'
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:283: undefined reference to
`_rasqal_new_string_literal'
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:289: undefined reference to
`_rasqal_alloc_memory'
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:294: undefined reference to
`_rasqal_new_simple_literal'
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:274: undefined reference to
`_rasqal_free_memory'
/usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
`rasqal_redland_bind_match':
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:483: undefined reference to
`_rasqal_variable_set_value'
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:464: undefined reference to
`_rasqal_variable_set_value'
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:573: undefined reference to
`_rasqal_variable_set_value'
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:522: undefined reference to
`_rasqal_variable_set_value'
/usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
`librdf_query_rasqal_results_formatter_write':
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:1327: undefined reference
to `_rasqal_query_results_formatter_write'
/usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
`librdf_query_rasqal_results_get_boolean':
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:985: undefined reference to
`_rasqal_query_results_get_boolean'
/usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
`librdf_query_rasqal_results_is_syntax':
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:972: undefined reference to
`_rasqal_query_results_is_syntax'
/usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
`librdf_query_rasqal_results_is_graph':
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:959: undefined reference to
`_rasqal_query_results_is_graph'
/usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
`librdf_query_rasqal_results_is_boolean':
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:946: undefined reference to
`_rasqal_query_results_is_boolean'
/usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
`librdf_query_rasqal_results_is_bindings':
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:933: undefined reference to
`_rasqal_query_results_is_bindings'
/usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
`librdf_query_rasqal_results_get_bindings_count':
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:906: undefined reference to
`_rasqal_query_results_get_bindings_count'
/usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
`librdf_query_rasqal_results_get_binding_name':
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:877: undefined reference to
`_rasqal_query_results_get_binding_name'
/usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
`librdf_query_rasqal_results_finished':
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:822: undefined reference to
`_rasqal_query_results_finished'
/usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
`librdf_query_rasqal_results_next':
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:809: undefined reference to
`_rasqal_query_results_next'
/usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
`librdf_query_rasqal_results_get_count':
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:796: undefined reference to
`_rasqal_query_results_get_count'
/usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
`librdf_query_rasqal_get_offset':
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:778: undefined reference to
`_rasqal_query_get_offset'
/usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
`librdf_query_rasqal_get_limit':
/home/home/redland-1.0.12/src/rdf_query_rasqal.c:761: undefined reference to
`_rasqal_query_get_limit'
collect2: ld returned 1 exit status
any ideas?It seems like linking problems between librdf static library and
other references.
--------------------------------------------------
From: "Nicholas Humfrey" <njh at aelius.com>
Sent: Tuesday, January 18, 2011 08:27 PM
To: "Redland RDF" <redland-dev at lists.librdf.org>
Subject: Re: [redland-dev] cygwin build - raptor2-2.0.0.tar.gz
> Hello,
>
> The combination I use to build Redstore 0.5.1 is:
> raptor2-1.9.1
> rasqal-0.9.21
> redland-1.0.12
>
> They work well together.
>
> nick.
>
> On 18 Jan 2011, at 15:12, Iraklis Leontiadis wrote:
>
>> Thanks Lauri,
>> Where could I see the compatible versions between raptor,rasqal,redland
>> and
>> redland bindings?
>>
>> Iraklis
>>
>> --------------------------------------------------
>> From: "Lauri Aalto" <laalto at gmail.com>
>> Sent: Tuesday, January 18, 2011 03:56 PM
>> To: "Iraklis Leontiadis" <leontiad at gmail.com>
>> Cc: <redland-dev at lists.librdf.org>
>> Subject: Re: [redland-dev] cygwin build - raptor2-2.0.0.tar.gz
>>
>>> Hi,
>>>
>>> (note it's line 1588 not 1558).
>>>
>>> redland-1.0.12 is not source compatible with raptor2-2.0.0 due to API
>>> changes in raptor2 after the latest redland release.
>>>
>>> Either wait for the next release of redland or pull the latest sources
>>> from https://github.com/dajobe/librdf .
>>>
>>> Lauri
>>>
>>> On Tue, Jan 18, 2011 at 4:42 PM, Iraklis Leontiadis <leontiad at gmail.com>
>>> wrote:
>>>> Afterwards I built the rasqal and then I tried to install the
>>>> redland-1.0.12
>>>> software but and I "make" it I received the following error:
>>>>
>>>> $ make
>>>> Making all in libltdl
>>>> make[1]: Entering directory `/home/home/redland-1.0.12/libltdl'
>>>> make all-am
>>>> make[2]: Entering directory `/home/home/redland-1.0.12/libltdl'
>>>> make[2]: Leaving directory `/home/home/redland-1.0.12/libltdl'
>>>> make[1]: Leaving directory `/home/home/redland-1.0.12/libltdl'
>>>> Making all in src
>>>> make[1]: Entering directory `/home/home/redland-1.0.12/src'
>>>> make all-recursive
>>>> make[2]: Entering directory `/home/home/redland-1.0.12/src'
>>>> Making all in win32
>>>> make[3]: Entering directory `/home/home/redland-1.0.12/src/win32'
>>>> make[3]: Nothing to be done for `all'.
>>>> make[3]: Leaving directory `/home/home/redland-1.0.12/src/win32'
>>>> make[3]: Entering directory `/home/home/redland-1.0.12/src'
>>>> /bin/sh ../libtool --tag=CC --mode=compile
>>>>
>>>> -DHAVE_CONFIG_H -I. -I/usr/local/include/raptor2 -I/usr/local/include/rasqal
>>>> -I/
>>>>
>>>> sr/local/include/raptor2 -DPKGDATADIR="\"/usr/local/share/redland\""
>>>> -I/usr/local/include/raptor2
>>>> -I/usr/local/include/rasqal
>>>> -I/usr/local/include/raptor2 -DREDLAND_MODULE_PATH="\""/usr/local/lib/redland"\""
>>>> -DLIBRDF_INTERNAL=1 -g -O2 -MT rdf_parser_rapto
>>>> r.lo -MD -MP -MF .deps/rdf_parser_raptor.Tpo -c -o rdf_parser_raptor.lo
>>>> rdf_parser_raptor.c
>>>> libtool: compile:
>>>> gcc -DHAVE_CONFIG_H -I. -I/usr/local/include/raptor2 -I/usr/local/include/rasqal
>>>> -I/usr/local/include/raptor2 -DPK
>>>> GDATADIR=\"/usr/local/share/redland\" -I/usr/local/include/raptor2 -I/usr/local/include/rasqal
>>>> -I/usr/local/include/raptor2 -DREDLAND
>>>> _MODULE_PATH=\"/usr/local/lib/redland\" -DLIBRDF_INTERNAL=1 -g -O2 -MT
>>>> rdf_parser_raptor.lo -MD -MP -MF .deps/rdf_parser_raptor.Tpo -
>>>> c rdf_parser_raptor.c -DDLL_EXPORT -DPIC -o .libs/rdf_parser_raptor.o
>>>> rdf_parser_raptor.c: In function 'librdf_parser_raptor_constructor':
>>>> rdf_parser_raptor.c:1588: error: 'raptor_syntax_description' has no
>>>> member
>>>> named 'uri_string'
>>>> make[3]: *** [rdf_parser_raptor.lo] Error 1
>>>> make[3]: Leaving directory `/home/home/redland-1.0.12/src'
>>>> make[2]: *** [all-recursive] Error 1
>>>> make[2]: Leaving directory `/home/home/redland-1.0.12/src'
>>>> make[1]: *** [all] Error 2
>>>> make[1]: Leaving directory `/home/home/redland-1.0.12/src'
>>>> make: *** [all-recursive] Error 1
>>>>
>>>> I realized that the source files are out of date because at line 1558
>>>> there
>>>> are comments.
>>>> How can I fix this?
>>>
>> _______________________________________________
>> redland-dev mailing list
>> redland-dev at lists.librdf.org
>> http://lists.librdf.org/mailman/listinfo/redland-dev
>
> _______________________________________________
> redland-dev mailing list
> redland-dev at lists.librdf.org
> http://lists.librdf.org/mailman/listinfo/redland-dev
>
More information about the redland-dev
mailing list