Hi, I'm also new to the list. Also running amd 64 and also had the same
problem initially. I found libevent (version 1.1a) was already installed
on my Fedora due to some other dependency in /usr/lib64. The downloaded
tarball installs 1.2 to /usr/local/lib (and headers
to /usr/local/include), so I explicitly referred to these libraries in
my compiles, e.g
gcc -o myapp -I/usr/local/include -L/usr/local/lib -levent myapp.c 
and then the following to run myapp;
LD_LIBRARY_PATH=/usr/local/lib ./myapp
Everything now works fine.

Hope that helps.

Thanks, Niels for a great library!



On Sat, 2006-11-11 at 20:30 -0500, Intruder VS1400 wrote:
> Greetings,
> 
> New to list but couldn't see any info on this...
> 
> I have linux on an AMD Ath64.  Libevent compiles and installs without
> error, but it does not seem to execute.
> 
> For example, the sample proggie produces the following:
> # ./event-test
> ./event-test: error while loading shared libraries: libevent-1.2.so.1:
> cannot open shared object file: No such file or directory
> 
> Compiling Tor produces the following error:
> checking whether we need extra options to link libevent... configure:
> error: Found linkable libevent in (system), but it doesn't run, even
> with -R.  Maybe specify another using --with-libevent-dir?
> 
> Here is the directory list of /usr/local/lib
> .   libbinseg.a        libevent-1.2.so.1.0.3  libevent.la  libtidy.a
> ..  libevent-1.2.so.1  libevent.a             libevent.so
> 
> 
> This might be because of the 64 bit architecture, but then again, it
> apparently compiles under Solaris. Any ideas?
> 
>    Karsten
> _______________________________________________
> Libevent-users mailing list
> Libevent-users@monkey.org
> http://monkey.org/mailman/listinfo/libevent-users
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkey.org/mailman/listinfo/libevent-users

Reply via email to