Follow-up of: "Second opinion needed because of trouble with upgarded
librdf and maybe because of other upgrades too"
Hi
there's no trouble because of rubberband. If somebody want to upgarde
librdf start with "### Third trial".
### First trial
Because I installed librdf and dependencies to /usr/local I tried to
repair my install by running:
$ cd /usr/local/lib
$ sudo rm libraptor* librdf* librasqal*
$ cd /usr/lib
$ sudo rm libraptor* librdf* librasqal*
$ sudo apt-get install --reinstall libraptor1 libraptor1-dev librasqal0
librasqal0-dev librdf0 librdf0-dev
Then I tried to upgarde the libs.
$ wget http://download.librdf.org/source/raptor-1.4.20.tar.gz
$ wget http://download.librdf.org/source/rasqal-0.9.17.tar.gz
$ wget http://download.librdf.org/source/redland-1.0.10.tar.gz
$ tar xzf [...]
Always changed into the source directory and run
$ ./configure --prefix=/usr
$ make
$ sudo make install
Optional: $ sudo make clean
Maybe not needed: $ sudo ldconfig
This didn't work, maybe because there were still different versions of
the libs, e.g.
$ ls -al /usr/lib/librapto*
-rw-r--r-- 1 root root 2890816 2009-12-22 22:57 /usr/lib/libraptor.a
-rwxr-xr-x 1 root root 1105 2009-12-22 22:57 /usr/lib/libraptor.la
lrwxrwxrwx 1 root root 18 2009-12-22 22:57 /usr/lib/libraptor.so ->
libraptor.so.1.2.0
lrwxrwxrwx 1 root root 18 2009-12-22 22:57 /usr/lib/libraptor.so.1
-> libraptor.so.1.2.0
-rw-r--r-- 1 root root 365360 2007-10-12 20:39 /usr/lib/libraptor.so.1.1.0
-rwxr-xr-x 1 root root 1502040 2009-12-22 22:57 /usr/lib/libraptor.so.1.2.0
or because there are headers in /usr/include and /usr/local/include

.
I simply run
$ sudo rm -r /usr/local/include/raptor* /usr/local/include/rdf*
/usr/local/include/librdf* /usr/local/include/redland*
/usr/local/include/rasqal
and compiled Qtractor again, it still didn't work.
I noticed that I missed to delete some files.
### Second trial
$ sudo rm -r /usr/lib/libraptor* /usr/include/raptor*
/usr/lib/pkgconfig/raptor* /usr/bin/raptor*
$ sudo rm -r /usr/local/lib/libraptor* /usr/local/include/raptor*
/usr/local/lib/pkgconfig/raptor* /usr/local/bin/raptor*
$ sudo rm -r /usr/lib/librasqal* /usr/include/rasqal*
/usr/lib/librasqal* /usr/lib/pkgconfig/rasqal* /usr/bin/rasqal*
$ sudo rm -r /usr/local/lib/librasqal* /usr/local/include/rasqal*
/usr/local/lib/librasqal* /usr/local/lib/pkgconfig/rasqal*
/usr/local/bin/rasqal*
$ sudo rm -r /usr/lib/librdf* /usr/include/rdf* /usr/include/librdf*
/usr/include/redland* /usr/lib/pkgconfig/redland* /usr/bin/redland*
$ sudo rm -r /usr/local/lib/librdf* /usr/local/include/rdf*
/usr/local/include/librdf* /usr/local/include/redland*
/usr/local/lib/pkgconfig/redland* /usr/local/bin/redland*
$ sudo apt-get install --reinstall libraptor1 libraptor1-dev librasqal0
librasqal0-dev librdf0 librdf0-dev
Now there shouldn't be the upgarded libs installed, but the original
libs should be restored. I compiled and installed Qtractor again and it
was fine again.
$ qtractor
Warning: Unable to create "trees" RDF storage.
Performance can be improved by upgrading librdf.
Still the problem with the outdated lib wasn't solved.
Again I did this for the three libs:
$ ./configure --prefix=/usr
$ make
$ sudo make install
Optional: $ sudo make clean
Maybe not needed: $ sudo ldconfig
Again I compiled Qtractor.
$ qtractor
Segmentation fault
### Third trial
$ sudo rm -r /usr/lib/libraptor* /usr/include/raptor*
/usr/lib/pkgconfig/raptor* /usr/bin/raptor* /usr/local/lib/libraptor*
/usr/local/include/raptor* /usr/local/lib/pkgconfig/raptor*
/usr/local/bin/raptor* /usr/lib/librasqal* /usr/include/rasqal*
/usr/lib/librasqal* /usr/lib/pkgconfig/rasqal* /usr/bin/rasqal*
/usr/local/lib/librasqal* /usr/local/include/rasqal*
/usr/local/lib/librasqal* /usr/local/lib/pkgconfig/rasqal*
/usr/local/bin/rasqal* /usr/lib/librdf* /usr/include/rdf*
/usr/include/librdf* /usr/include/redland* /usr/lib/pkgconfig/redland*
/usr/bin/redland* /usr/local/lib/librdf* /usr/local/include/rdf*
/usr/local/include/librdf* /usr/local/include/redland*
/usr/local/lib/pkgconfig/redland* /usr/local/bin/redland*
No "sudo apt-get install --reinstall".
Again I did this for the three libs:
$ ./configure --prefix=/usr
$ make
$ sudo make install
Optional: $ sudo make clean
Maybe not needed: $ sudo ldconfig
Again I compiled Qtractor.
spinymouse-sudo@64studio:~$ qtractor
qtractor: error while loading shared libraries: librasqal.so.0: cannot
open shared object file: No such file or directory
$ ls -al /usr/lib/librasqal*
-rw-r--r-- 1 root root 2284194 2009-12-23 00:35 /usr/lib/librasqal.a
-rwxr-xr-x 1 root root 1147 2009-12-23 00:35 /usr/lib/librasqal.la
lrwxrwxrwx 1 root root 18 2009-12-23 00:35 /usr/lib/librasqal.so ->
librasqal.so.2.0.0
lrwxrwxrwx 1 root root 18 2009-12-23 00:35 /usr/lib/librasqal.so.2
-> librasqal.so.2.0.0
-rwxr-xr-x 1 root root 1142123 2009-12-23 00:35 /usr/lib/librasqal.so.2.0.0
$ sudo ln -s /usr/lib/librasqal.so.2.0.0 /usr/lib/librasqal.so.0
Since the link is added, Qtractor is fine

.
$ qtractor
No messages
I don't know if 64 Studio in general is fine, but if not I only need to run
$ sudo rm -r /usr/lib/libraptor* /usr/include/raptor*
/usr/lib/pkgconfig/raptor* /usr/bin/raptor* /usr/local/lib/libraptor*
/usr/local/include/raptor* /usr/local/lib/pkgconfig/raptor*
/usr/local/bin/raptor* /usr/lib/librasqal* /usr/include/rasqal*
/usr/lib/librasqal* /usr/lib/pkgconfig/rasqal* /usr/bin/rasqal*
/usr/local/lib/librasqal* /usr/local/include/rasqal*
/usr/local/lib/librasqal* /usr/local/lib/pkgconfig/rasqal*
/usr/local/bin/rasqal* /usr/lib/librdf* /usr/include/rdf*
/usr/include/librdf* /usr/include/redland* /usr/lib/pkgconfig/redland*
/usr/bin/redland* /usr/local/lib/librdf* /usr/local/include/rdf*
/usr/local/include/librdf* /usr/local/include/redland*
/usr/local/lib/pkgconfig/redland* /usr/local/bin/redland*
and
$ sudo apt-get install --reinstall libraptor1 libraptor1-dev librasqal0
librasqal0-dev librdf0 librdf0-dev
to restore 64 Studio, or maybe there's the need to add some additional
links instead.
Cheers,
Ralf
_______________________________________________
64studio-users mailing list
64studio-users@lists.64studio.com
http://lists.64studio.com/mailman/listinfo/64studio-users