Hi,<br>
I have just installed fedora core 4. I am now trying to install redland.<br>
I find that I am having similar problems to those I had before in my
fedora core 1 rather dodgy setup. Searching the list it is similar to
what Danny Ayers has mentioned, but his solution *doesn't* work for me.<br>
Editing (using) vi /etc/ld.so.conf and adding the last line so that the file looks like this<br>
include ld.so.conf.d/*.conf<br>
/usr/local/lib<br>
Then running /sbin/ldconfig -v produces a long out put that maybe relevant but too long for the list.<br>
This doesn't look so good though:-<br>
/usr/X11R6/lib/tls: (hwcap: 0x8000000000000000)<br>
/lib/tls: (hwcap: 0x8000000000000000)<br>
/lib/i686: (hwcap: 0x0008000000000000)<br>
/usr/lib/tls: (hwcap: 0x8000000000000000)<br>
/usr/lib/sse2: (hwcap: 0x0000000004000000)<br>
libgmpxx.so.3 -> libgmpxx.so.3.0.5<br>
libgmp.so.3 -> libgmp.so.3.3.3<br>
libmp.so.3 -> libmp.so.3.1.7<br>
/lib/tls/i486: (hwcap: 0x8002000000000000)<br>
<a href="http://libdb-4.3.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">libdb-4.3.so</a> -> <a href="http://libdb-4.3.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
libdb-4.3.so</a><br>
/lib/tls/i586: (hwcap: 0x8004000000000000)<br>
<a href="http://libdb-4.3.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">libdb-4.3.so</a> -> <a href="http://libdb-4.3.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
libdb-4.3.so</a><br>
/lib/tls/i686: (hwcap: 0x8008000000000000)<br>
<a href="http://libdb-4.3.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">libdb-4.3.so</a> -> <a href="http://libdb-4.3.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
libdb-4.3.so</a><br>
/usr/lib/tls/i486: (hwcap: 0x8002000000000000)<br>
libdb_cxx-<a href="http://4.3.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">4.3.so</a> -> libdb_cxx-<a href="http://4.3.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
4.3.so</a><br>
/usr/lib/tls/i586: (hwcap: 0x8004000000000000)<br>
libdb_cxx-<a href="http://4.3.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">4.3.so</a> -> libdb_cxx-<a href="http://4.3.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
4.3.so</a><br>
/usr/lib/tls/i686: (hwcap: 0x8008000000000000)<br>
libdb_cxx-<a href="http://4.3.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">4.3.so</a> -> libdb_cxx-<a href="http://4.3.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
4.3.so</a><br>
************<br>
Running perl ./example.pl<br>
produces:-<br>
<br>
Creating storage<br>
<br>
Creating model<br>
<br>
Creating statement<br>
<br>
Adding statement to model<br>
<br>
Adding statement (new Statement(n, n, n)) to model<br>
<br>
Adding statement (n,n,n) to model<br>
<br>
Parsing URI (file) ../data/dc.rdf<br>
*** glibc detected *** perl: double free or corruption (!prev): 0x08fe0e88 ***<br>
======= Backtrace: =========<br>
/lib/libc.so.6[0x611124]<br>
/lib/libc.so.6(__libc_free+0x77)[0x61165f]<br>
/lib/libc.so.6(fclose+0x148)[0x602c40]<br>
/usr/local/lib/librdf.so.0[0xb4603c]<br>
/usr/local/lib/librdf.so.0(librdf_parser_parse_as_stream+0x43)[0xb3744a]<br>
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/auto/RDF/Redland/CORE/CORE.so(_wrap_librdf_parser_parse_as_stream+0x1e9)[0xe78b16]<br>
/usr/lib/perl5/5.8.6/i386-linux-thread-multi/CORE/libperl.so(Perl_pp_entersub+0x3a5)[0x27ecbcc]<br>
/usr/lib/perl5/5.8.6/i386-linux-thread-multi/CORE/libperl.so(Perl_runops_debug+0x141)[0x27ceb01]<br>
/usr/lib/perl5/5.8.6/i386-linux-thread-multi/CORE/libperl.so(perl_run+0x445)[0x2781f51]<br>
perl(main+0x130)[0x80493f4]<br>
/lib/libc.so.6(__libc_start_main+0xdf)[0x5c2d5f]<br>
perl[0x8049241]<br>
======= Memory map: ========<br>
00111000-00113000 r-xp 00000000 fd:00 6389868 /lib/libutil-<a href="http://2.3.5.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">2.3.5.so</a><br>
00113000-00114000 r-xp 00001000 fd:00 6389868 /lib/libutil-<a href="http://2.3.5.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">2.3.5.so</a><br>
00114000-00115000 rwxp 00002000 fd:00 6389868 /lib/libutil-<a href="http://2.3.5.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">2.3.5.so</a><br>
00115000-0015a000 r-xp 00000000 fd:00 10618121 /usr/lib/mysql/libmysqlclient.so.14.0.0<br>
0015a000-00234000 rwxp 00045000 fd:00 10618121 /usr/lib/mysql/libmysqlclient.so.14.0.0<br>
00234000-00237000 rwxp 00234000 00:00 0<br>
00237000-00268000 r-xp 00000000 fd:00 10462811 /usr/local/lib/libraptor.so.1.1.0<br>
00268000-00277000 rwxp 00030000 fd:00 10462811 /usr/local/lib/libraptor.so.1.1.0<br>
00277000-002a9000 r-xp 00000000 fd:00 10464537 /usr/lib/libxslt.so.1.1.14<br>
002a9000-002aa000 rwxp 00032000 fd:00 10464537 /usr/lib/libxslt.so.1.1.14<br>
003fa000-00469000 r-xp 00000000 fd:00 10454237 /usr/lib/libkrb5.so.3.2<br>
00469000-0046c000 rwxp 0006e000 fd:00 10454237 /usr/lib/libkrb5.so.3.2<br>
00484000-00489000 r-xp 00000000 fd:00 6389889 /lib/libcrypt-<a href="http://2.3.5.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">2.3.5.so</a><br>
00489000-0048a000 r-xp 00004000 fd:00 6389889 /lib/libcrypt-<a href="http://2.3.5.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">2.3.5.so</a><br>
0048a000-0048b000 rwxp 00005000 fd:00 6389889 /lib/libcrypt-<a href="http://2.3.5.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">2.3.5.so</a><br>
0048b000-004b2000 rwxp 0048b000 00:00 0<br>
004b4000-004c6000 r-xp 00000000 fd:00 6389855 /lib/libnsl-<a href="http://2.3.5.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">2.3.5.so</a><br>
004c6000-004c7000 r-xp 00011000 fd:00 6389855 /lib/libnsl-<a href="http://2.3.5.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">2.3.5.so</a><br>
004c7000-004c8000 rwxp 00012000 fd:00 6389855 /lib/libnsl-<a href="http://2.3.5.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">2.3.5.so</a><br>
004c8000-004ca000 rwxp 004c8000 00:00 0<br>
004cc000-00501000 r-xp 00000000 fd:00 6389913 /lib/libssl.so.0.9.7f<br>
00501000-00504000 rwxp 00035000 fd:00 6389913 /lib/libssl.so.0.9.7f<br>
00507000-00508000 r-xp 00507000 00:00 0 [vdso]<br>
0056c000-0058f000 r-xp 00000000 fd:00 10470558 /usr/local/lib/librasqal.so.0.0.0<br>
0058f000-00590000 rwxp 00023000 fd:00 10470558 /usr/local/lib/librasqal.so.0.0.0<br>
00590000-005aa000 r-xp 00000000 fd:00 6389810 /lib/ld-<a href="http://2.3.5.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">2.3.5.so</a><br>
005aa000-005ab000 r-xp 00019000 fd:00 6389810 /lib/ld-<a href="http://2.3.5.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">2.3.5.so</a><br>
005ab000-005ac000 rwxp 0001a000 fd:00 6389810 /lib/ld-<a href="http://2.3.5.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">2.3.5.so</a><br>
005ae000-006d1000 r-xp 00000000 fd:00 6389813 /lib/libc-<a href="http://2.3.5.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">2.3.5.so</a><br>
006d1000-006d3000 r-xp 00123000 fd:00 6389813 /lib/libc-<a href="http://2.3.5.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">2.3.5.so</a><br>
006d3000-006d5000 rwxp 00125000 fd:00 6389813 /lib/libc-<a href="http://2.3.5.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">2.3.5.so</a><br>
006d5000-006d7000 rwxp 006d5000 00:00 0<br>
006d9000-006fc000 r-xp 00000000 fd:00 6389901 /lib/libm-<a href="http://2.3.5.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">2.3.5.so</a><br>
006fc000-006fd000 r-xp 00022000 fd:00 6389901 /lib/libm-<a href="http://2.3.5.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">2.3.5.so</a><br>
006fd000-006fe000 rwxp 00023000 fd:00 6389901 /lib/libm-<a href="http://2.3.5.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">2.3.5.so</a><br>
00700000-00702000 r-xp 00000000 fd:00 6389867 /lib/libdl-<a href="http://2.3.5.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">2.3.5.so</a><br>
00702000-00703000 r-xp 00001000 fd:00 6389867 /lib/libdl-<a href="http://2.3.5.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">2.3.5.so</a><br>
00703000-00704000 rwxp 00002000 fd:00 6389867 /lib/libdl-<a href="http://2.3.5.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">2.3.5.so</a><br>
00706000-00718000 r-xp 00000000 fd:00 10454240 /usr/lib/libz.so.1.2.2.2<br>
00718000-00719000 rwxp 00011000 fd:00 10454240 /usr/lib/libz.so.1.2.2.2<br>
00752000-00785000 r-xp 00000000 fd:00 10466391 /usr/lib/libcurl.so.3.0.0<br>
00785000-00786000 rwxp 00033000 fd:00 10466391 /usr/lib/libcurl.so.3.0.0<br>
007f1000-007ff000 r-xp 00000000 fd:00 6389920 /lib/libpthread-<a href="http://2.3.5.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">2.3.5.so</a><br>
007ff000-00800000 r-xp 0000d000 fd:00 6389920 /lib/libpthread-<a href="http://2.3.5.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">2.3.5.so</a><br>
00800000-00801000 rwxp 0000e000 fd:00 6389920 /lib/libpthread-<a href="http://2.3.5.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">2.3.5.so</a><br>
00801000-00803000 rwxp 00801000 00:00 0<br>
00883000-008d6000 r-xp 00000000 fd:00 10464219 /usr/lib/libsqlite3.so.0.8.6<br>
008d6000-008d8000 rwxp 00052000 fd:00 10464219 /usr/lib/libsqlite3.so.0.8.6<br>
00903000-0090c000 r-xp 00000000 fd:00 6389932 /lib/libgcc_s-4.0.2-20051126.so.1<br>
0090c000-0090d000 rwxp 00009000 fd:00 6389932 /lib/libgcc_s-4.0.2-20051126.so.1<br>
00aa2000-00ad0000 r-xp 00000000 fd:00 10458007 /usr/lib/libidn.so.11.5.8<br>
00ad0000-00ad2000 rwxp 0002d000 fd:00 10458007 /usr/lib/libidn.so.11.5.8<br>
00b1d000-00b53000 r-xp 00000000 fd:00 10471110 /usr/local/lib/librdf.so.0.0.0<br>
00b53000-00b54000 rwxp 00035000 fd:00 10471110 /usr/local/lib/librdf.so.0.0.0<br>
00c5b000-00c6a000 r-xp 00000000 fd:00 6389902 /lib/libresolv-<a href="http://2.3.5.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">2.3.5.so</a><br>
00c6a000-00c6b000 r-xp 0000e000 fd:00 6389902 /lib/libresolv-<a href="http://2.3.5.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">2.3.5.so</a><br>
00c6b000-00c6c000 rwxp 0000f000 fd:00 6389902 /lib/libresolv-<a href="http://2.3.5.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">2.3.5.so</a><br>
00c6c000-00c6e000 rwxp 00c6c000 00:00 0<br>
00c96000-00c98000 r-xp 00000000 fd:00 6389904 /lib/libcom_err.so.2.1<br>
00c98000-00c99000 rwxp 00001000 fd:00 6389904 /lib/libcom_err.so.2.1<br>
00ca5000-00d9d000 r-xp 00000000 fd:00 6389905 /lib/libcrypto.so.0.9.7f<br>
00d9d000-00daf000 rwxp 000f8000 fd:00 6389905 /lib/libcrypto.so.0.9.7f<br>
00daf000-00db2000 rwxp 00daf000 00:00 0<br>
00db4000-00dcb000 r-xp 00000000 fd:00 10454238 /usr/lib/libgssapi_krb5.so.2.2<br>
00dcb000-00dcc000 rwxp 00017000 fd:00 10454238 /usr/lib/libgssapi_krb5.so.2.2<br>
00dce000-00df1000 r-xp 00000000 fd:00 10454182 /usr/lib/libk5crypto.so.3.0<br>
00df1000-00df2000 rwxp 00023000 fd:00 10454182 /usr/lib/libk5crypto.so.3.0<br>
00df4000-00df6000 r-xp 00000000 fd:00 10454178 /usr/lib/libkrb5support.so.0.0<br>
00df6000-00df7000 rwxp 00001000 fd:00 10454178 /usr/lib/libkrb5support.so.0.0<br>
00e59000-00e91000 r-xp 00000000 fd:00 11011497
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/auto/RDF/Redland/CORE/CORE.so<br>
00e91000-00e93000 rwxp 00037000 fd:00 11011497
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/auto/RDF/Redland/CORE/CORE.so<br>
0275b000-02899000 r-xp 00000000 fd:00 10464828 /usr/lib/perl5/5.8.6/i386-linux-thread-multi/CORE/libperl.so<br>
02899000-028a4000 rwxp 0013d000 fd:00 10464828 /usr/lib/perl5/5.8.6/i386-linux-thread-multi/CORE/libperl.so<br>
028a4000-028a6000 rwxp 028a4000 00:00 0<br>
05a98000-05bab000 r-xp 00000000 fd:00 10464115 /usr/lib/libxml2.so.2.6.20<br>
05bab000-05bb3000 rwxp 00113000 fd:00 10464115 /usr/lib/libxml2.so.2.6.20<br>
05bb3000-05bb4000 rwxp 05bb3000 00:00 0<br>
0607c000-06167000 r-xp 00000000 fd:00 6393587 /lib/tls/i686/libdb-<a href="http://4.3.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">4.3.so</a><br>
06167000-0616a000 rwxp 000ea000 fd:00 6393587 /lib/tls/i686/libdb-<a href="http://4.3.so" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">4.3.so</a><br>
08048000-0804b000 r-xp 00000000 fd:00 10465789 /usr/bin/perl<br>
0804b000-0804d000 rw-p 00002000 fd:00 10465789 /usr/bin/perl<br>
08e87000-08ff3000 rw-p 08e87000 00:00 0 [heap]<br>
b7c00000-b7c21000 rw-p b7c00000 00:00 0<br>
b7c21000-b7d00000 ---p b7c21000 00:00 0<br>
b7d88000-b7da9000 rw-p b7d88000 00:00 0<br>
b7da9000-b7fa9000 r--p 00000000 fd:00 10466510 /usr/lib/locale/locale-archive<br>
b7fa9000-b7fac000 rw-p b7fa9000 00:00 0<br>
b7fc6000-b7fc7000 rw-p b7fc6000 00:00 0<br>
bf9b1000-bf9c7000 rw-p bf9b1000 00:00 0 [stack]<br>
Aborted<br>
**********<br>
But if I edit /etc/ld.so.conf again removing the last line (and run /sbin/ldconfig -v )<br>
and then run ./example.pl<br>
I simply get:-<br>
Can't load
'/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/auto/RDF/Redland/CORE/CORE.so'
for module RDF::Redland::CORE: librdf.so.0: cannot open shared object
file: No such file or directory at
/usr/lib/perl5/5.8.6/i386-linux-thread-multi/DynaLoader.pm line 230.<br>
at /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/RDF/Redland/CORE.pm line 7<br>
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/RDF/Redland.pm line 39.<br>
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/RDF/Redland.pm line 39.<br>
Compilation failed in require at ./example.pl line 23.<br>
BEGIN failed--compilation aborted at ./example.pl line 23.<br>
I am stuck here.<br>
BTW I ran configure with all the language bindings, but I notice there are additional problems with TCL and PHP.<br>
Versions are redland-bindings-1.0.2.1<br>
redland-1.0.3 and I assume the redland included packaged versions of rasqal and raptor are rasqal-0.9.11 and raptor-1.4.8.<br>
I also have this error at the end of make install for cpan> install RDF::Query:-<br>
<br>
Failed
Test
Stat Wstat Total Fail Failed List of Failed<br>
-------------------------------------------------------------------------------<br>
t/02-file.t
0 11 21 40
190.48% 2-21<br>
t/14-sparql-9_2-named_graphs.t 0 6 69 136 197.10% 2-69<br>
(6 subtests UNEXPECTEDLY SUCCEEDED), 1 test and 3 subtests skipped.<br>
Failed 2/20 test scripts, 90.00% okay. 88/530 subtests failed, 83.40% okay.<br>
make: *** [test_dynamic] Error 255<br>
/usr/bin/make test -- NOT OK<br>
Running make install<br>
make test had returned bad status, won't install without force<br>
<br>
I believe these install errors must be related.<br>
What am I doing wrong.<br>
With thanks,<br>
Adam