[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Gtk Static...
- From: paco pty ods org
- To: Tristan Van Berkom <vantr touchtunes com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Gtk Static...
- Date: Tue, 25 Feb 2003 12:35:32 -0500
my gtkmm is in /usr/local/lib, but I don't have any libgtk-x11-2.0 there, I have a libgtk-x11-2.0 in /usr/lib (both paths are in ld.so.conf), in wish packet does libgtk-x11 is?, I have gtk2 in /usr/lib, and gtkmm in /usr/local/lib, my compilation call is:
g++ -o exam exam.cc `pkg-config --gtkmm-2.0 --cflags --libs` -static
I also have the PKG_CONFIG_PATH variable set to /usr/local/lib/pkgconfig
On Tue, Feb 25, 2003 at 11:21:51AM -0500, Tristan Van Berkom wrote:
> Hmmmm, I smell hardcoded paths....
>
> try compiling with `--prefix=/' as a configure
> option and make sure your libs are in /usr/local/lib/
> (at least I'm pretty sure thats how it works).
>
> Hope this helps,
> -Tristan
>
>
>
> paco@pty.ods.org wrote:
> >
> > Hello, I'm using gtkmm for dev, I can compile dynamically, but when I try to make it staticly I can't, the linker fails with the messsage: "ld: cannot find -lgtk-x11-2.0"
> >
> > I compiled gtkmm-2.0 and libsigc++-1.2.3 with --enable-static so they have the static libs, also I have installed gtk2+-devel and gtk-devel.
> >
> > and I have my ld.so.conf with the paths to the libs (including libgtk-x11-2.0)
> >
> > please I need help, I was looking the list archive and noticed that this problem is not only mine, but I didn't find any answers, so I decided to join the list, please if somebody know a workaround for this please tell me...
> >
> > Thanks
> > _______________________________________________
> > gtk-app-devel-list mailing list
> > gtk-app-devel-list@gnome.org
> > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]