Re: compile gtk static
- From: John Cupitt <john cupitt ng-london org uk>
- To: ViNiCiUs <vlpg terra com br>
- Cc: gtk-list <gtk-list gnome org>
- Subject: Re: compile gtk static
- Date: Thu, 22 Apr 2004 13:08:50 +0000
Hi,
ViNiCiUs wrote:
to compile static using: gcc file.c -o file -static `pkg-config --cflags
--libs gtk+-2.0`
and I have the error:
/usr/bin/ld: cannot find -lgtk-x11-2.0
collect2: ld returned 1 exit status
What I have to do to complite the program with all libraries static ?
When you build gtk, it does not build the static libraries by default. You need to either rebuild gtk with static libraries enabled, or download a set of static libs from somewhere.
If you check the list archives you'll see a few posts on this subject, for example:
http://mail.gnome.org/archives/gtk-list/2004-February/msg00011.html
Unfortunately, searching the list archive seems to be broken :-(
John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]