Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   64 Studio User (http://www.linux-archive.org/64-studio-user/)
-   -   Upgrading librdf for Qtractor running on 64 Studio 3.0-beta3 x86_64 (http://www.linux-archive.org/64-studio-user/299504-upgrading-librdf-qtractor-running-64-studio-3-0-beta3-x86_64-a.html)

Ralf Mardorf 12-22-2009 11:01 PM

Upgrading librdf for Qtractor running on 64 Studio 3.0-beta3 x86_64
 
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

:D

$ 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

Ralf Mardorf 12-23-2009 11:35 AM

Upgrading librdf for Qtractor running on 64 Studio 3.0-beta3 x86_64
 
Rui Nuno Capela wrote:
> On Wed, 23 Dec 2009 01:01:39 +0100, Ralf Mardorf wrote:
>>
>>
>> $ qtractor
>> Warning: Unable to create "trees" RDF storage.
>> Performance can be improved by upgrading librdf.
>>
>>
> it only affects qtractor while on lv2 plugin enumeration, which only happens on session start.
>

I did know that it will effect lv2, but I didn't know that it only will
have effect on session start :D.

OT:

> on my opensuse boxes the message is different, but not less scary. i
> always choose to ignore.
>

Yecch! On my open Suse there still JACK2 needs a fix, because I won't
remove JACK1. I'll keep it as a "ghost"-package, no JACK1 files, but a
faked package to avoid stress with the dependencies. The other thing
with Suse is PulseAudio. There's no trouble with PulseAudio for
real-time JACK related work, but there's no sound for media players and
browser plug-ins, while it is installed and running. The German
community is Q$"!&?... .

OT even for this OT:

Btw. some time ago I said that it's possible to share a Firefox profile
for Suse 11.2 and 64 Studio 3.0-beta3 and Firefox will detect and set up
plug-ins when using it for the given situation, Suse's or 64 Studio's
version of Firefox. That's true, but any way there's trouble with
flashplayer and some video plug-ins on 64 Studio now, were the profile
originally is from. Changing settings to "always ask" which player to
use etc. will be ignored. Another profile just used with 64 Studio still
is fine for everything.

Cheers,
Ralf

My back muscles hurts since a normal movement I did yesterday, when I
wanted to type something to fix that librdf issue. Maybe I clamped a
nerve. Now I'm unable to sit or stand considerable time in front of the
computer. I'm not religious, thus my plan was to make music with
Qtractor, while other people will celebrate Christmas. Now I'm forced to
delay making music with latest version of Qtractor.

Merry Christmahanaquansica!

--
Download Internet Explorer 8 and win a
Red Tick Beer
brewed with dogs swimming in the fermenting tank
http://simpsonspedia.net/images/9/91/Red-Tick-Beer-2.jpg

_______________________________________________
64studio-users mailing list
64studio-users@lists.64studio.com
http://lists.64studio.com/mailman/listinfo/64studio-users


All times are GMT. The time now is 12:16 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.