Page 5 of 7

Re: New Ubuntu Apt Repository for Spring

Posted: 02 May 2009, 21:16
by YokoZar
dust wrote:can not start the springlobby with jaunty. i also changed to the new path and reinstalled but it does not run.
How did you install? Just installing the package and clicking the icon from the applications->games menu should work, unless some weird configuration you did earlier broke something.

Re: New Ubuntu Apt Repository for Spring

Posted: 02 May 2009, 21:30
by dust
YokoZar wrote:
dust wrote:can not start the springlobby with jaunty. i also changed to the new path and reinstalled but it does not run.
How did you install? Just installing the package and clicking the icon from the applications->games menu should work, unless some weird configuration you did earlier broke something.
ota stuff as it is written in the faq. beside that only the packages from the repo.

Re: New Ubuntu Apt Repository for Spring

Posted: 02 May 2009, 22:29
by BrainDamage
pipe to a file the lobby stdout

springlobby > ~/log.txt

submit to http://pastebin.com
pass back the link

Re: New Ubuntu Apt Repository for Spring

Posted: 02 May 2009, 23:24
by dust
Brain Damage wrote:pipe to a file the lobby stdout

springlobby > ~/log.txt

submit to http://pastebin.com
pass back the link
springlobby > ~/log.txt
springlobby: error while loading shared libraries: libtorrent-rasterbar.so.2: cannot open shared object file: No such file or directory

Re: New Ubuntu Apt Repository for Spring

Posted: 02 May 2009, 23:30
by BrainDamage
the package you downloaded is corrupted, try reinstalling?
also make sure thatr libtorrent-rasterbar is installed

Re: New Ubuntu Apt Repository for Spring

Posted: 02 May 2009, 23:31
by dust
Brain Damage wrote:the package you downloaded is corrupted, try reinstalling?
also make sure thatr libtorrent-rasterbar is installed
just reinstalled it but it didnt change. checking for rasterbar...

Re: New Ubuntu Apt Repository for Spring

Posted: 02 May 2009, 23:40
by dust
libtorrent-rasterbar2 was installed and after reinstall the problem persists.
installed version 0.14.3-0ubuntu1~jaunty3
and i still get
springlobby > ~/log.txt
springlobby: error while loading shared libraries: libtorrent-rasterbar.so.2: cannot open shared object file: No such file or directory

Re: New Ubuntu Apt Repository for Spring

Posted: 02 May 2009, 23:41
by dust

Re: New Ubuntu Apt Repository for Spring

Posted: 03 May 2009, 09:32
by det
Are you sure you are using the repo for Jaunty (rather than Intrepid or Hardy)?

Code: Select all

deb http://ppa.launchpad.net/spring/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/spring/ppa/ubuntu jaunty main

Re: New Ubuntu Apt Repository for Spring

Posted: 03 May 2009, 10:08
by dust
det wrote:Are you sure you are using the repo for Jaunty (rather than Intrepid or Hardy)?

Code: Select all

deb http://ppa.launchpad.net/spring/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/spring/ppa/ubuntu jaunty main
yes im sure. i also deleted them and copy&pasted your lines just to be sure.

Re: New Ubuntu Apt Repository for Spring

Posted: 03 May 2009, 10:38
by det
Can you paste the output (or link to pastebin.ca) for the following commands:

Code: Select all

aptitude show libtorrent-rasterbar2

Code: Select all

aptitude show springlobby

Code: Select all

ldd /usr/bin/springlobby

Code: Select all

ls -l /usr/lib/libtorrent-rasterbar*

Re: New Ubuntu Apt Repository for Spring

Posted: 03 May 2009, 10:57
by dust
det wrote:Can you paste the output (or link to pastebin.ca) for the following commands:

Code: Select all

aptitude show libtorrent-rasterbar2
aptitude show libtorrent-rasterbar2
Package: libtorrent-rasterbar2
New: yes
State: installed
Automatically installed: yes
Version: 0.14.3-0ubuntu1~jaunty3
Priority: optional
Section: libs
Maintainer: Ubuntu MOTU Developers <ubuntu-motu@lists.ubuntu.com>
Uncompressed Size: 3273k
Depends: libboost-filesystem1.37.0 (>= 1.37.0-1), libboost-system1.37.0 (>=
1.37.0-1), libboost-thread1.37.0 (>= 1.37.0-1), libc6 (>= 2.7), libgcc1
(>= 1:4.1.1), libssl0.9.8 (>= 0.9.8f-5), libstdc++6 (>= 4.2.1), zlib1g
(>= 1:1.1.4)
Suggests: libtorrent-rasterbar-dbg
Conflicts: libtorrent-rasterbar1
Replaces: libtorrent-rasterbar1
Description: C++ bittorrent library by Rasterbar Software
Bittorrent library by Rasterbar Software (Arvid Norberg). libtorrent-rasterbar
is a C++ library that aims to be a good alternative to all the other bittorrent
implementations around.

The main goals of libtorrent-rasterbar are: * to be cpu efficient * to be
memory efficient * to be very easy to use

This package contains libtorrent-rasterbar run time shared library.
det wrote:

Code: Select all

aptitude show springlobby
aptitude show springlobby
Package: springlobby
State: installed
Automatically installed: no
Version: 0.0.1.10446-0ubuntu1~9.04~ppa1
Priority: optional
Section: games
Maintainer: Ubuntu MOTU Developers <ubuntu-motu@lists.ubuntu.com>
Uncompressed Size: 6701k
Depends: libboost-filesystem1.37.0 (>= 1.37.0-1), libboost-system1.37.0 (>= 1.37.0-1), libboost-thread1.37.0 (>= 1.37.0-1), libc6 (>= 2.7), libgcc1 (>= 1:4.1.1), libsdl-mixer1.2
(>= 1.2.6), libsdl1.2debian (>= 1.2.10-1), libssl0.9.8 (>= 0.9.8f-5), libstdc++6 (>= 4.2.1), libtorrent-rasterbar2 (>= 0.14.2), libwxbase2.8-0 (>= 2.8.9.1), libwxgtk2.8-0
(>= 2.8.9.1)
Recommends: spring
Conflicts: spring-lobby-springlobby
Replaces: spring-lobby-springlobby
Provides: spring-lobby
Description: SpringLobby interface for Spring
SpringLobby is a single and multiplayer frontend for games using the Spring engine. Users can play online or in single player using any mod or map that Spring provides.

Homepage: http://springlobby.info/
det wrote:

Code: Select all

ldd /usr/bin/springlobby
ldd /usr/bin/springlobby
linux-gate.so.1 => (0xb7ee7000)
libwx_baseu-2.8.so.0 => /usr/lib/libwx_baseu-2.8.so.0 (0xb7d77000)
libwx_gtk2u_core-2.8.so.0 => /usr/lib/libwx_gtk2u_core-2.8.so.0 (0xb7a1b000)
libwx_baseu_net-2.8.so.0 => /usr/lib/libwx_baseu_net-2.8.so.0 (0xb79ef000)
libwx_gtk2u_adv-2.8.so.0 => /usr/lib/libwx_gtk2u_adv-2.8.so.0 (0xb7933000)
libwx_gtk2u_aui-2.8.so.0 => /usr/lib/libwx_gtk2u_aui-2.8.so.0 (0xb78c4000)
libtorrent-rasterbar.so.2 => not found
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0xb782e000)
libSDL_mixer-1.2.so.0 => /usr/lib/libSDL_mixer-1.2.so.0 (0xb77d5000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb76e6000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb76c0000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb76b0000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7697000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7534000)
libboost_system-mt.so.1.37.0 => /usr/lib/libboost_system-mt.so.1.37.0 (0xb752f000)
libboost_filesystem-mt.so.1.37.0 => /usr/lib/libboost_filesystem-mt.so.1.37.0 (0xb751b000)
libboost_thread-mt.so.1.37.0 => /usr/lib/libboost_thread-mt.so.1.37.0 (0xb750b000)
libcrypto.so.0.9.8 => /lib/i686/cmov/libcrypto.so.0.9.8 (0xb73bf000)
libz.so.1 => /lib/libz.so.1 (0xb73a9000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb73a5000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb6ff4000)
libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb6f66000)
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb6f4b000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb6f22000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb6f08000)
libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0xb6e9a000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb6e56000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb6ddf000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb6db2000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb6d74000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb6d6f000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb6d68000)
librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb6d5f000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb6ca7000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb6ca4000)
libSM.so.6 => /usr/lib/libSM.so.6 (0xb6c9b000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb6c75000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb6c54000)
libtiff.so.4 => /usr/lib/libtiff.so.4 (0xb6bff000)
libasound.so.2 => /usr/lib/libasound.so.2 (0xb6b37000)
libdirectfb-1.0.so.0 => /usr/lib/libdirectfb-1.0.so.0 (0xb6ad1000)
libfusion-1.0.so.0 => /usr/lib/libfusion-1.0.so.0 (0xb6ac7000)
libdirect-1.0.so.0 => /usr/lib/libdirect-1.0.so.0 (0xb6ab2000)
libmikmod.so.2 => /usr/lib/libmikmod.so.2 (0xb6a69000)
libvorbisfile.so.3 => /usr/lib/libvorbisfile.so.3 (0xb6a60000)
libsmpeg-0.4.so.0 => /usr/lib/libsmpeg-0.4.so.0 (0xb6a07000)
/lib/ld-linux.so.2 (0xb7ee8000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb69f6000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb69ec000)
libXi.so.6 => /usr/lib/libXi.so.6 (0xb69e2000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb69da000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb69d1000)
libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb69c4000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb68d5000)
libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xb68d1000)
libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb68ce000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb68c9000)
libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb684f000)
libpcre.so.3 => /lib/libpcre.so.3 (0xb681c000)
libselinux.so.1 => /lib/libselinux.so.1 (0xb6802000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb67db000)
libICE.so.6 => /usr/lib/libICE.so.6 (0xb67c3000)
libuuid.so.1 => /lib/libuuid.so.1 (0xb67be000)
libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb6793000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb678f000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb6775000)
libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb6732000)
libxcb-render-util.so.0 => /usr/lib/libxcb-render-util.so.0 (0xb672c000)
libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0xb6724000)
libogg.so.0 => /usr/lib/libogg.so.0 (0xb671e000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb6719000)
det wrote:

Code: Select all

ls -l /usr/lib/libtorrent-rasterbar*
ls -l /usr/lib/libtorrent-rasterbar*
lrwxrwxrwx 1 root root 29 2009-05-02 23:35 /usr/lib/libtorrent-rasterbar.so.3 -> libtorrent-rasterbar.so.3.0.0
-rw-r--r-- 1 root root 3192420 2009-04-27 07:26 /usr/lib/libtorrent-rasterbar.so.3.0.0

Re: New Ubuntu Apt Repository for Spring

Posted: 03 May 2009, 15:36
by det
I don't understand where you got the 0.14.3-0ubuntu1~jaunty3 version of libtorrent-rasterbar2. The version in Jaunty, for me, is 0.14.2-2ubuntu1. This is the cause of your problems. Are you using a third party repository for this lib?

edit: It seems the PPA for the deluge bittorrent client (https://launchpad.net/~deluge-team/+archive/ppa) includes that lib. Are you using this repo?

Re: New Ubuntu Apt Repository for Spring

Posted: 03 May 2009, 15:46
by dust
det wrote:I don't understand where you got the 0.14.3-0ubuntu1~jaunty3 version of libtorrent-rasterbar2. The version in Jaunty, for me, is 0.14.2-2ubuntu1. This is the cause of your problems. Are you using a third party repository for this lib?

edit: It seems the PPA for the deluge bittorrent client (https://launchpad.net/~deluge-team/+archive/ppa) includes that lib. Are you using this repo?
yes, seems like a lib hell... :roll:

Re: New Ubuntu Apt Repository for Spring

Posted: 03 May 2009, 15:48
by det
I see no way of supporting your configuration except importing that lib into the Spring PPA and rebuilding. I wonder if it was really necessary for deluge to include the bleeding edge version of libtorrent-rasterbar in their repository. You can always build your own springlobby deb pretty easily, though.

Code: Select all

sudo apt-get build-dep springlobby
mkdir ~/source
cd ~/source
apt-get source springlobby
cd springlobby-0.0.1.10446
dpkg-buildpackage
cd ..
sudo dpkg -i *.deb
edit: fixed the path for cd

Re: New Ubuntu Apt Repository for Spring

Posted: 03 May 2009, 16:51
by dust
det wrote:I see no way of supporting your configuration except importing that lib into the Spring PPA and rebuilding. I wonder if it was really necessary for deluge to include the bleeding edge version of libtorrent-rasterbar in their repository. You can always build your own springlobby deb pretty easily, though.

Code: Select all

sudo apt-get build-dep springlobby
mkdir ~/source
cd ~/source
apt-get source springlobby
cd springlobby-0.0.1.10446
dpkg-buildpackage
cd ..
sudo dpkg -i *.deb
edit: fixed the path for cd
thanks a lot, it works! :mrgreen:

Re: New Ubuntu Apt Repository for Spring

Posted: 04 May 2009, 16:43
by dust
today was a new springlobby update and so it doesn't work again... :roll:

instead of dll hell on windows there is a lib hell on linux... :lol: :roll:

i'm new to linux, is there a way that i don't need building my own version every time?

Re: New Ubuntu Apt Repository for Spring

Posted: 05 May 2009, 03:56
by YokoZar
dust wrote:today was a new springlobby update and so it doesn't work again... :roll:

instead of dll hell on windows there is a lib hell on linux... :lol: :roll:

i'm new to linux, is there a way that i don't need building my own version every time?
Yes, don't use multiple, conflicting PPAs. The situation should resolve itself as Spring (and the new Deluge) both move into Ubuntu proper. In the meantime you'll either have to choose between them or rebuild manually.

Re: New Ubuntu Apt Repository for Spring

Posted: 06 Aug 2009, 12:35
by dust
http://census-labs.com/news/2009/06/08/ ... rasterbar/
Rasterbar libtorrent arbitrary file overwrite vulnerability
[ posted by dimitris on 08.06.2009 ]
Census ID: census-2009-0002
CVE ID: CVE-2009-1760
Affected Products: Any application that uses the Rasterbar Software libtorrent library (versions Ôëñ 0.14.3) for BitTorrent file downloads.
Class: Relative Path Traversal (CWE-23), Improper Handling of Syntactically Invalid Structure (CWE-228)
Remote: Yes
Discovered by: Dimitris Glynos

We have discovered an ÔÇ£arbitrary file overwriteÔÇØ vulnerability in libtorrent that allows an attacker to create and modify arbitrary files (and directories) in remote systems, with the effective rights of the user executing the vulnerable libtorrent-based application.
so it is time also for spring for a new version of libtorrent! :mrgreen:

Re: New Ubuntu Apt Repository for Spring

Posted: 21 Aug 2009, 15:35
by dust
det wrote:I see no way of supporting your configuration except importing that lib into the Spring PPA and rebuilding. I wonder if it was really necessary for deluge to include the bleeding edge version of libtorrent-rasterbar in their repository. You can always build your own springlobby deb pretty easily, though.

Code: Select all

sudo apt-get build-dep springlobby
mkdir ~/source
cd ~/source
apt-get source springlobby
cd springlobby-0.0.1.10446
dpkg-buildpackage
cd ..
sudo dpkg -i *.deb
edit: fixed the path for cd
would this work for the new version too?