[Libtorrent-devel] I can´t compile libtorrent staticaly

Goran gkoruga at siol.net
Sat Apr 14 15:25:26 UTC 2007


On Thu, 12 Apr 2007 23:46:39 -0300 Miguel Jalife <miguel_jalife2 at yahoo.com.ar> wrote:

Hi.

> I'm having trouble compiling libtorrent-0.11.4 when i use ./configure 
> --without-epoll --enable-shared=no --enable-static=yes --exec-prefix=/rt
> --prefix=/rt
> It just doesn´t compile staticaly, i also exported CFLAGS=-static
> CPPFLAGS=-static CXXFLAGS=-static
> This method worked with libtorrent-0.11.1. Is this a bug or i missed
> something?

I remember trying to do it this way with rtorrent + libtorrent several
times, but I always ended up editing Makefiles myself to get it to link
statically.

        Goran


More information about the Libtorrent-devel mailing list