[redland-dev] redland in fedora core 4

adasal adam.saltiel at gmail.com
Fri Mar 3 19:40:52 GMT 2006


Hi,
I have just installed fedora core 4. I am now trying to install redland.
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.
Editing (using) vi /etc/ld.so.conf and adding the last line so that the file
looks like this
include ld.so.conf.d/*.conf
/usr/local/lib
Then running /sbin/ldconfig -v produces a long out put that maybe relevant
but too long for the list.
This doesn't look so good though:-
/usr/X11R6/lib/tls: (hwcap: 0x8000000000000000)
/lib/tls: (hwcap: 0x8000000000000000)
/lib/i686: (hwcap: 0x0008000000000000)
/usr/lib/tls: (hwcap: 0x8000000000000000)
/usr/lib/sse2: (hwcap: 0x0000000004000000)
        libgmpxx.so.3 -> libgmpxx.so.3.0.5
        libgmp.so.3 -> libgmp.so.3.3.3
        libmp.so.3 -> libmp.so.3.1.7
/lib/tls/i486: (hwcap: 0x8002000000000000)
        libdb-4.3.so -> libdb-4.3.so
/lib/tls/i586: (hwcap: 0x8004000000000000)
        libdb-4.3.so -> libdb-4.3.so
/lib/tls/i686: (hwcap: 0x8008000000000000)
        libdb-4.3.so -> libdb-4.3.so
/usr/lib/tls/i486: (hwcap: 0x8002000000000000)
        libdb_cxx-4.3.so -> libdb_cxx-4.3.so
/usr/lib/tls/i586: (hwcap: 0x8004000000000000)
        libdb_cxx-4.3.so -> libdb_cxx-4.3.so
/usr/lib/tls/i686: (hwcap: 0x8008000000000000)
        libdb_cxx-4.3.so -> libdb_cxx-4.3.so
************
Running perl ./example.pl
produces:-

Creating storage

Creating model

Creating statement

Adding statement to model

Adding statement (new Statement(n, n, n)) to model

Adding statement (n,n,n) to model

Parsing URI (file) ../data/dc.rdf
*** glibc detected *** perl: double free or corruption (!prev): 0x08fe0e88
***
======= Backtrace: =========
/lib/libc.so.6[0x611124]
/lib/libc.so.6(__libc_free+0x77)[0x61165f]
/lib/libc.so.6(fclose+0x148)[0x602c40]
/usr/local/lib/librdf.so.0[0xb4603c]
/usr/local/lib/librdf.so.0(librdf_parser_parse_as_stream+0x43)[0xb3744a]
/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]
/usr/lib/perl5/5.8.6/i386-linux-thread-multi/CORE/libperl.so(Perl_pp_entersub+0x3a5)[0x27ecbcc]
/usr/lib/perl5/5.8.6/i386-linux-thread-multi/CORE/libperl.so(Perl_runops_debug+0x141)[0x27ceb01]
/usr/lib/perl5/5.8.6/i386-linux-thread-multi/CORE/libperl.so(perl_run+0x445)[0x2781f51]
perl(main+0x130)[0x80493f4]
/lib/libc.so.6(__libc_start_main+0xdf)[0x5c2d5f]
perl[0x8049241]
======= Memory map: ========
00111000-00113000 r-xp 00000000 fd:00 6389868    /lib/libutil-2.3.5.so
00113000-00114000 r-xp 00001000 fd:00 6389868    /lib/libutil-2.3.5.so
00114000-00115000 rwxp 00002000 fd:00 6389868    /lib/libutil-2.3.5.so
00115000-0015a000 r-xp 00000000 fd:00 10618121
/usr/lib/mysql/libmysqlclient.so.14.0.0
0015a000-00234000 rwxp 00045000 fd:00 10618121
/usr/lib/mysql/libmysqlclient.so.14.0.0
00234000-00237000 rwxp 00234000 00:00 0
00237000-00268000 r-xp 00000000 fd:00 10462811
/usr/local/lib/libraptor.so.1.1.0
00268000-00277000 rwxp 00030000 fd:00 10462811
/usr/local/lib/libraptor.so.1.1.0
00277000-002a9000 r-xp 00000000 fd:00 10464537   /usr/lib/libxslt.so.1.1.14
002a9000-002aa000 rwxp 00032000 fd:00 10464537   /usr/lib/libxslt.so.1.1.14
003fa000-00469000 r-xp 00000000 fd:00 10454237   /usr/lib/libkrb5.so.3.2
00469000-0046c000 rwxp 0006e000 fd:00 10454237   /usr/lib/libkrb5.so.3.2
00484000-00489000 r-xp 00000000 fd:00 6389889    /lib/libcrypt-2.3.5.so
00489000-0048a000 r-xp 00004000 fd:00 6389889    /lib/libcrypt-2.3.5.so
0048a000-0048b000 rwxp 00005000 fd:00 6389889    /lib/libcrypt-2.3.5.so
0048b000-004b2000 rwxp 0048b000 00:00 0
004b4000-004c6000 r-xp 00000000 fd:00 6389855    /lib/libnsl-2.3.5.so
004c6000-004c7000 r-xp 00011000 fd:00 6389855    /lib/libnsl-2.3.5.so
004c7000-004c8000 rwxp 00012000 fd:00 6389855    /lib/libnsl-2.3.5.so
004c8000-004ca000 rwxp 004c8000 00:00 0
004cc000-00501000 r-xp 00000000 fd:00 6389913    /lib/libssl.so.0.9.7f
00501000-00504000 rwxp 00035000 fd:00 6389913    /lib/libssl.so.0.9.7f
00507000-00508000 r-xp 00507000 00:00 0          [vdso]
0056c000-0058f000 r-xp 00000000 fd:00 10470558
/usr/local/lib/librasqal.so.0.0.0
0058f000-00590000 rwxp 00023000 fd:00 10470558
/usr/local/lib/librasqal.so.0.0.0
00590000-005aa000 r-xp 00000000 fd:00 6389810    /lib/ld-2.3.5.so
005aa000-005ab000 r-xp 00019000 fd:00 6389810    /lib/ld-2.3.5.so
005ab000-005ac000 rwxp 0001a000 fd:00 6389810    /lib/ld-2.3.5.so
005ae000-006d1000 r-xp 00000000 fd:00 6389813    /lib/libc-2.3.5.so
006d1000-006d3000 r-xp 00123000 fd:00 6389813    /lib/libc-2.3.5.so
006d3000-006d5000 rwxp 00125000 fd:00 6389813    /lib/libc-2.3.5.so
006d5000-006d7000 rwxp 006d5000 00:00 0
006d9000-006fc000 r-xp 00000000 fd:00 6389901    /lib/libm-2.3.5.so
006fc000-006fd000 r-xp 00022000 fd:00 6389901    /lib/libm-2.3.5.so
006fd000-006fe000 rwxp 00023000 fd:00 6389901    /lib/libm-2.3.5.so
00700000-00702000 r-xp 00000000 fd:00 6389867    /lib/libdl-2.3.5.so
00702000-00703000 r-xp 00001000 fd:00 6389867    /lib/libdl-2.3.5.so
00703000-00704000 rwxp 00002000 fd:00 6389867    /lib/libdl-2.3.5.so
00706000-00718000 r-xp 00000000 fd:00 10454240   /usr/lib/libz.so.1.2.2.2
00718000-00719000 rwxp 00011000 fd:00 10454240   /usr/lib/libz.so.1.2.2.2
00752000-00785000 r-xp 00000000 fd:00 10466391   /usr/lib/libcurl.so.3.0.0
00785000-00786000 rwxp 00033000 fd:00 10466391   /usr/lib/libcurl.so.3.0.0
007f1000-007ff000 r-xp 00000000 fd:00 6389920    /lib/libpthread-2.3.5.so
007ff000-00800000 r-xp 0000d000 fd:00 6389920    /lib/libpthread-2.3.5.so
00800000-00801000 rwxp 0000e000 fd:00 6389920    /lib/libpthread-2.3.5.so
00801000-00803000 rwxp 00801000 00:00 0
00883000-008d6000 r-xp 00000000 fd:00 10464219
/usr/lib/libsqlite3.so.0.8.6
008d6000-008d8000 rwxp 00052000 fd:00 10464219
/usr/lib/libsqlite3.so.0.8.6
00903000-0090c000 r-xp 00000000 fd:00 6389932    /lib/libgcc_s-
4.0.2-20051126.so.1
0090c000-0090d000 rwxp 00009000 fd:00 6389932    /lib/libgcc_s-
4.0.2-20051126.so.1
00aa2000-00ad0000 r-xp 00000000 fd:00 10458007   /usr/lib/libidn.so.11.5.8
00ad0000-00ad2000 rwxp 0002d000 fd:00 10458007   /usr/lib/libidn.so.11.5.8
00b1d000-00b53000 r-xp 00000000 fd:00 10471110
/usr/local/lib/librdf.so.0.0.0
00b53000-00b54000 rwxp 00035000 fd:00 10471110
/usr/local/lib/librdf.so.0.0.0
00c5b000-00c6a000 r-xp 00000000 fd:00 6389902    /lib/libresolv-2.3.5.so
00c6a000-00c6b000 r-xp 0000e000 fd:00 6389902    /lib/libresolv-2.3.5.so
00c6b000-00c6c000 rwxp 0000f000 fd:00 6389902    /lib/libresolv-2.3.5.so
00c6c000-00c6e000 rwxp 00c6c000 00:00 0
00c96000-00c98000 r-xp 00000000 fd:00 6389904    /lib/libcom_err.so.2.1
00c98000-00c99000 rwxp 00001000 fd:00 6389904    /lib/libcom_err.so.2.1
00ca5000-00d9d000 r-xp 00000000 fd:00 6389905    /lib/libcrypto.so.0.9.7f
00d9d000-00daf000 rwxp 000f8000 fd:00 6389905    /lib/libcrypto.so.0.9.7f
00daf000-00db2000 rwxp 00daf000 00:00 0
00db4000-00dcb000 r-xp 00000000 fd:00 10454238
/usr/lib/libgssapi_krb5.so.2.2
00dcb000-00dcc000 rwxp 00017000 fd:00 10454238
/usr/lib/libgssapi_krb5.so.2.2
00dce000-00df1000 r-xp 00000000 fd:00 10454182   /usr/lib/libk5crypto.so.3.0
00df1000-00df2000 rwxp 00023000 fd:00 10454182   /usr/lib/libk5crypto.so.3.0
00df4000-00df6000 r-xp 00000000 fd:00 10454178
/usr/lib/libkrb5support.so.0.0
00df6000-00df7000 rwxp 00001000 fd:00 10454178
/usr/lib/libkrb5support.so.0.0
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
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
0275b000-02899000 r-xp 00000000 fd:00 10464828
/usr/lib/perl5/5.8.6/i386-linux-thread-multi/CORE/libperl.so
02899000-028a4000 rwxp 0013d000 fd:00 10464828
/usr/lib/perl5/5.8.6/i386-linux-thread-multi/CORE/libperl.so
028a4000-028a6000 rwxp 028a4000 00:00 0
05a98000-05bab000 r-xp 00000000 fd:00 10464115   /usr/lib/libxml2.so.2.6.20
05bab000-05bb3000 rwxp 00113000 fd:00 10464115   /usr/lib/libxml2.so.2.6.20
05bb3000-05bb4000 rwxp 05bb3000 00:00 0
0607c000-06167000 r-xp 00000000 fd:00 6393587    /lib/tls/i686/libdb-4.3.so
06167000-0616a000 rwxp 000ea000 fd:00 6393587    /lib/tls/i686/libdb-4.3.so
08048000-0804b000 r-xp 00000000 fd:00 10465789   /usr/bin/perl
0804b000-0804d000 rw-p 00002000 fd:00 10465789   /usr/bin/perl
08e87000-08ff3000 rw-p 08e87000 00:00 0          [heap]
b7c00000-b7c21000 rw-p b7c00000 00:00 0
b7c21000-b7d00000 ---p b7c21000 00:00 0
b7d88000-b7da9000 rw-p b7d88000 00:00 0
b7da9000-b7fa9000 r--p 00000000 fd:00 10466510
/usr/lib/locale/locale-archive
b7fa9000-b7fac000 rw-p b7fa9000 00:00 0
b7fc6000-b7fc7000 rw-p b7fc6000 00:00 0
bf9b1000-bf9c7000 rw-p bf9b1000 00:00 0          [stack]
Aborted
**********
But if I edit /etc/ld.so.conf again removing the last line (and run
/sbin/ldconfig -v )
and then run ./example.pl
I simply get:-
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.
 at
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/RDF/Redland/CORE.pm
line 7
Compilation failed in require at
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/RDF/Redland.pm line
39.
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/RDF/Redland.pm line
39.
Compilation failed in require at ./example.pl line 23.
BEGIN failed--compilation aborted at ./example.pl line 23.
I am stuck here.
BTW I ran configure with all the language bindings, but I notice there are
additional problems with TCL and PHP.
Versions are redland-bindings-1.0.2.1
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.
I also have this error at the end of make install for cpan> install
RDF::Query:-

Failed Test                    Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/02-file.t                       0    11    21   40 190.48%  2-21
t/14-sparql-9_2-named_graphs.t    0     6    69  136 197.10%  2-69
 (6 subtests UNEXPECTEDLY SUCCEEDED), 1 test and 3 subtests skipped.
Failed 2/20 test scripts, 90.00% okay. 88/530 subtests failed, 83.40% okay.
make: *** [test_dynamic] Error 255
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force

I believe these install errors must be related.
What am I doing wrong.
With thanks,
Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gnomehack.com/pipermail/redland-dev/attachments/20060303/81af4899/attachment.htm


More information about the redland-dev mailing list