You are not logged in.

#1 2008-07-23 16:24:31

inside-hex
Member
From: germany
Registered: 2008-07-07
Posts: 13

[solved] qbittorrent fails to load

Hi,
I installed qbittorrent (and rb_libtorrent) from community repo about one month ago (since then I'm using Arch, so I'm pretty new to it, before I was using Ubuntu64). Everything works fine till 13/14. July. On that day there was a qt update and starting qbittorrent leads to an segmentation fault, reinstallation changed nothing. Next day an rb_libtorrent update: no segmentation fault any more, but:

qbittorrent: error while loading shared libraries: libtorrent-0.13.so: cannot open shared object file: No such file or directory

I tried to reinstall, but nothing changed.
Because there is no update of qbittorrent in community repo yet (for x86_64), I tried to make my own pkgbuild (found some old ones here and modified them). Building and installation worked fine, but qbittorrent don't start either (segmentation fault again).
What am I doing wrong?

Hier my pkgbuilds:
rb_libtorrent

pkgname=rb_libtorrent
pkgver=0.13
pkgrel=1
pkgdesc="A C++ library that aims to be a good alternative to all the other bittorrent implementations around"
arch=(i686 x86_64)
url="http://www.rasterbar.com/products/libtorrent/"
license=('GPL')
makedepends=('boost')
conflicts=('libtorrent')
source=(http://garr.dl.sourceforge.net/sourceforge/libtorrent/libtorrent-$pkgver.tar.gz)

build() {
  cd $startdir/src/libtorrent-$pkgver
  ./configure --prefix=/usr 
                          --disable-debug 
                          --with-boost-date-time=mt 
                          --with-boost-filesystem=mt 
                          --with-boost-thread=mt 
                          --with-boost-regex=mt 
                          --with-boost-program_options=mt
  make || return 1
  make DESTDIR=$startdir/pkg install
}

qbittorrent

pkgname=qbittorrent
pkgver=1.0.0
pkgrel=3
pkgdesc="A bittorrent client written in C++ / Qt4 using the good libtorrent library"
arch=(i686 x86_64)
url="http://www.qbittorrent.org/"
license=('GPL')
depends=('qt' 'rb_libtorrent' 'curl' 'python' 'boost')
source=(http://osdn.dl.sourceforge.net/sourceforge/qbittorrent/$pkgname-$pkgver.tar.gz)

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=$startdir/pkg/usr --qtdir=/opt/qt4
  make || return 1
  make DESTDIR=$startdir/pkg install
}

I tried to install qbittorrent in Arch32 (Virtalbox) too (there was an qbittorrent update), but it didn't start either (segmentation fault).
Qbittorrent is my favorite torrent client, please help me that I could use it again.
(and sorry for my english ^^)



----
Problem solved:
creating a sym link in /usr/lib/ was the solution:

ln -sf /usr/lib/libtorrent-rasterbar.so /usr/lib/libtorrent-0.13.so

Everything is fine again smile

Last edited by inside-hex (2008-07-23 20:09:46)


+++ Divide By Cucumber Error. Please Reinstall Universe And Reboot +++

Offline

Board footer

Powered by FluxBB