[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libextractor] Problem compiling libextractor with shared '-lgobject
From: |
Christian Grothoff |
Subject: |
Re: [libextractor] Problem compiling libextractor with shared '-lgobject-2.0' |
Date: |
Sun, 31 Jul 2005 22:30:29 -0700 |
User-agent: |
KMail/1.7.2 |
It works here without the static glib using --disable-glib. I suspect that
patching the 0.5.2 release with the makefile that I sent to the mailinglist
somehow failed on your machine. Can you try to compile the code from
subversion? Just install svn and the autotools, and then run this:
$ svn checkout https://gnunet.org/svn/Extractor
$ cd Extractor
$ . bootstrap
$ ./configure --disable-glib --prefix=/tmp
$ make
$ make install
This should really work. If not, please pipe the output of configure+make
into a file and send it to me!
Thanks!
Christian
On Wednesday 20 July 2005 07:13 pm, Ravi Desai wrote:
> Hi
> Thanks for the reply. On your suggestion, I tried the
> '--disable-glib' flag. I also tried the '--enable-static' flag, but
> neither of the two worked.
> The error message remains the same though.
> Thanks,
> ravster
>
> Christian Grothoff wrote:
> >I think you have two choices.
> >
> >Either compile relocatable (for non-Intel archs) static versions of glib
> > and gtk yourself, or use "--disable-glib" which should disable
> > compilation of the plugins that depend on the static glib version and
> > thus solve the problem at the expense of a few features.
> >
> >Christian
> >
> >Zitat von Ravi Desai <address@hidden>:
> >>Hello,
> >> I have tried to compile libextractor, but I receive the error message
> >>--------------
> >>gcc -shared .libs/libextractor_ole2_la-ole2extractor.o
> >>.libs/libextractor_ole2_la-gsf-utils.o
> >>.libs/libextractor_ole2_la-gsf-input.o
> >>.libs/libextractor_ole2_la-gsf-input-memory.o
> >>.libs/libextractor_ole2_la-gsf-infile.o
> >>.libs/libextractor_ole2_la-gsf-infile-msole.o
> >>.libs/libextractor_ole2_la-gsf-shared-memory.o -Wl,--rpath
> >>-Wl,/home/ravi/builds/libextractor/libextractor-0.5.2/src/main/.libs
> >>-Wl,--rpath -Wl,/usr/local/lib /usr/lib/libglib-2.0.so
> >>../../../src/main/.libs/libextractor.so -Wl,-Bstatic -Wl,-lgobject-2.0
> >>-Wl,-lglib-2.0 -Wl,-Bdynamic -Wl,-Bsymbolic -Wl,-soname
> >>-Wl,libextractor_ole2.so -o .libs/libextractor_ole2.so
> >>/usr/bin/ld: cannot find -lgobject-2.0
> >>collect2: ld returned 1 exit status
> >>make[3]: *** [libextractor_ole2.la] Error 1
> >>make[3]: Leaving directory
> >>`/home/ravi/builds/libextractor/libextractor-0.5.2/src/plugins/ole2'
> >>make[2]: *** [all-recursive] Error 1
> >>make[2]: Leaving directory
> >>`/home/ravi/builds/libextractor/libextractor-0.5.2/src/plugins'
> >>make[1]: *** [all-recursive] Error 1
> >>make[1]: Leaving directory
> >>`/home/ravi/builds/libextractor/libextractor-0.5.2/src'
> >>make: *** [all-recursive] Error 1
> >>----------------
> >>
> >>When I sent this error message to my distribution's mailing list, I was
> >>told that libextractor needs a static -lgobject-2.0 and glib2 does not
> >>provide a static version. This was in April. I have tried to compile it
> >>now, but I still have the same problem.
> >>
> >>http://www.archlinux.org/pipermail/arch/2005-April/004256.html
> >>
> >>How do I make it possible to install libextractor on my computer? I'm
> >>currently using glib2-2.6.5
> >>
> >>Thank you,
> >>ravster.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [libextractor] Problem compiling libextractor with shared '-lgobject-2.0',
Christian Grothoff <=