libevent not found

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
mchlor
Posts: 6
Joined: Tue Jun 08, 2010 5:25 pm

libevent not found

Post by mchlor »

trying to compile svn transmission on ubuntu 9.04

i've installed libevent per wiki page instructions but it still throws the error libevent not found??????
demons33derxx
Posts: 60
Joined: Tue Sep 08, 2009 12:34 am

Re: libevent not found

Post by demons33derxx »

Dont know what OS using or anything really. Though make sure you've installed the libevent-dev package.
mchlor
Posts: 6
Joined: Tue Jun 08, 2010 5:25 pm

Re: libevent not found

Post by mchlor »

yes libevent-dev has been installed. it still spits out saying it's not installed and refuses to compile. it's server i386 btw.
demons33derxx
Posts: 60
Joined: Tue Sep 08, 2009 12:34 am

Re: libevent not found

Post by demons33derxx »

So let's line up the details you've given/I've deduced

1) Well, okay so we've established your using Ubuntu 9.04 Jaunty.
2) Im assuming that you are compiling the latest Transmission 2.00b
3) You only having issues with libevent-dev

If all of these are true, then I will assume that you ran the commands on the commandline. When you ran the commands, you of course got all the required dependencies.

I've compiled previous versions of Transmissions numerous times up until Karmic. I did not remember the previous versions requiring libevent-dev (and some of these other dependecies). So, I am assuming sometime around the newest releases the libevent becames a dependency. I checked the Trac history page and it seems like indeed the libevent-dev was added rather recently as a dependency. You see where Im getting at? You probrably recieved all the dependencies from the Jaunty repos.

It's a possibility that if all three statements above are true that you need a minimum version number of libevent-dev. So, what I think you should try is downloading http://packages.ubuntu.com/lucid/libevent-dev, from the Lucid repos, installing it manually, then try recompiling. If you have success please do let someone on staff know so that those with access to the Trac can update it. If it fails, I have no solution for you. Thanks.
mchlor
Posts: 6
Joined: Tue Jun 08, 2010 5:25 pm

Re: libevent not found

Post by mchlor »

looks like compiling the svn version of transmission is a no go on older ubuntu install. I've tried to dpkg -i the file from lucid repo but it pukes with dependency hell argument. i'm too n00b to upgrade the barely working jaunty server to lucid. So I guess I'll try slightly older tarballs. Thanks for the help.
demons33derxx
Posts: 60
Joined: Tue Sep 08, 2009 12:34 am

Re: libevent not found

Post by demons33derxx »

Yea,I know what you mean. You could also install the latest via an unofficial Betas/Nightly PPA, from Andreas Noteng, it's as easy as adding the PPA which would do automatic upgrades with your updates.

Alternatively, if you just want a one time upgrade you could just download all the deb packages off of the here.
Longinus00
Posts: 137
Joined: Fri Aug 21, 2009 5:46 am

Re: libevent not found

Post by Longinus00 »

Or you could just use the official ubuntu ppas from http://www.transmissionbt.com/download.php which are not only more up to date, they also has builds for more flavors of ubuntu than just lucid.

Jaunty is only supported until October 2010, have you thought about upgrading to karmic?
demons33derxx
Posts: 60
Joined: Tue Sep 08, 2009 12:34 am

Re: libevent not found

Post by demons33derxx »

The official Ubuntu PPA (I mean repository actually) only is up-to-date until 1.92

The unofficial Ubuntu PPA (Andreas Noteng) which I linked to (and which the link on the download page you provide directs to the same unofficial PPA), the packages published in Lucid flavor, although of couse it will work for the Jaunty distribution.

Thanks.
Longinus00
Posts: 137
Joined: Fri Aug 21, 2009 5:46 am

Re: libevent not found

Post by Longinus00 »

I'm talking about the official PPA which is linked from the download page I gave you. The packages featured in the PPA are what will end up in future versions of ubuntu. Also the lucid packages probably won't work for juanty as they require a newer version of libc.
Matt2012
Posts: 1
Joined: Fri Jun 18, 2010 12:27 pm

Re: libevent not found

Post by Matt2012 »

yum install libevent-devel fixed this issue for me
Sino
Posts: 11
Joined: Sat Jun 19, 2010 1:43 pm

Re: libevent not found

Post by Sino »

Hello hello

I guess it's not working neither on debian 5, libevent not found :/

I did the basic thingy for a headless machine with transmission 2.00 :

apt-get install build-essential automake autoconf libtool pkg-config libcurl4-openssl-dev intltool libxml2-dev libgtk2.0-dev libnotify-dev libglib2.0-dev libevent-dev
adduser --disabled-password transmission
cd /home/transmission
su transmission
wget http://download.m0k.org/transmission/fi ... 00.tar.bz2
tar xvjf transmission-2.00.tar.bz2
cd transmission-2.00
./configure
make
su root
make install
make clean




I had verify that I'm runing libevent:


audio2:/home/transmission/transmission-1.93# whereis libevent
libevent: /usr/lib/libevent.a /usr/lib/libevent.so
audio2:/home/transmission/transmission-1.93# ls -lsa /usr/lib/libevent*
0 lrwxrwxrwx 1 root root 18 Jun 9 10:26 /usr/lib/libevent-1.1.so.1 -> libevent-1.3e.so.1
0 lrwxrwxrwx 1 root root 18 Jun 9 10:26 /usr/lib/libevent-1.1a.so.1 -> libevent-1.3e.so.1
0 lrwxrwxrwx 1 root root 18 Jun 9 10:26 /usr/lib/libevent-1.3b.so.1 -> libevent-1.3e.so.1
0 lrwxrwxrwx 1 root root 18 Jun 9 10:26 /usr/lib/libevent-1.3d.so.1 -> libevent-1.3e.so.1
0 lrwxrwxrwx 1 root root 22 Jun 9 10:26 /usr/lib/libevent-1.3e.so.1 -> libevent-1.3e.so.1.0.3
84 -rw-r--r-- 1 root root 80084 Apr 26 2008 /usr/lib/libevent-1.3e.so.1.0.3
100 -rw-r--r-- 1 root root 98138 Apr 26 2008 /usr/lib/libevent.a
0 lrwxrwxrwx 1 root root 22 Jun 19 12:56 /usr/lib/libevent.so -> libevent-1.3e.so.1.0.3
0 lrwxrwxrwx 1 root root 18 Jun 9 10:26 /usr/lib/libevent.so.1 -> libevent-1.3e.so.1
audio2:/home/transmission/transmission-1.93#


No idea so far why during ./configure it's end with "libevent not found"

Does somebody have an idea to help those under debian 4/5 and unbu 8/9 ?

1.93 work just fine, I have it runing on my box and instalation was nice on my virtual machine too.

system is centos5(proxmox) > vm ( audio2 ) runing with debian 5

Thank you, I cannot wait to give it a try :)
Jordan
Transmission Developer
Posts: 2312
Joined: Sat May 26, 2007 3:39 pm
Location: Titania's Room

Re: libevent not found

Post by Jordan »

Sino: what's going on is you need libevent 1.4.x installed, rather than 1.3.... preferably 1.4.13, which can be found at http://www.monkey.org/~provos/libevent- ... ble.tar.gz.

libevent 1.4.x has been out for about three years. I know Debian likes to stay away from the bleeding edge, but Debian 5 came out in January of 2010.... shipping with libevent 1.3 in 2010 is crazy.
ghira
Posts: 1
Joined: Sat Jun 19, 2010 3:01 pm

Re: libevent not found

Post by ghira »

in the configure script, we see:

LIBEVENT_MINIMUM=1.4.5

so you need to upgrade to that somehow. I also have ubuntu 9.04 so have the same problem
gunzip
Posts: 272
Joined: Wed May 05, 2010 2:12 am

Re: libevent not found

Post by gunzip »

Sino wrote:Hello hello

I guess it's not working neither on debian 5, libevent not found :/
...
Does somebody have an idea to help those under debian 4/5 and unbu 8/9 ?

1.93 work just fine, I have it runing on my box and instalation was nice on my virtual machine too.

system is centos5(proxmox) > vm ( audio2 ) runing with debian 5

Thank you, I cannot wait to give it a try :)
yes i compiled under Debian 5 (lenny) by getting deb packages from testing (squeeze)

Code: Select all

# dpkg --info libevent-dev_1.4.13-stable-1_i386.deb

libevent-dev_1.4.13-stable-1_i386.deb
...
 Depends: libevent-1.4-2 (= 1.4.13-stable-1), libevent-core-1.4-2 (= 1.4.13-stable-1), libevent-extra-1.4-2 (= 1.4.13-stable-1)
so go to http://packages.debian.org/squeeze/libevent-dev and get:

libevent-1.4-2_1.4.13-stable-1_i386.deb
libevent-core-1.4-2_1.4.13-stable-1_i386.deb
libevent-extra-1.4-2_1.4.13-stable-1_i386.deb
libevent-dev_1.4.13-stable-1_i386.deb

then do "dpkg -i *.deb" and 2.00 should compile.
Sino
Posts: 11
Joined: Sat Jun 19, 2010 1:43 pm

Re: libevent not found

Post by Sino »

Thanks for the info about libevent 1.4 I will try it asap.
Post Reply