|
|
Home » U++ TheIDE » U++ TheIDE: Installation, Compiling and Running of theide » "cannot find lgtk-x11-2.0" under gentoo linux
"cannot find lgtk-x11-2.0" under gentoo linux [message #13072] |
Sat, 08 December 2007 21:55  |
chickenk
Messages: 171 Registered: May 2007 Location: Grenoble, France
|
Experienced Member |
|
|
Hi everyone,
I'm stuck on a quite strange problem. I'm not sure where exactly to check and so far I've not understood why it happens.
When I try to build theide (current svn trunk), I get the following error:
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lgtk-x11-2.0
To anticipate some questions, I have gtk version 2.12.1-r2 compiled from sources and installed (using emerge). Standalone gtk applications compile fine, I only get this problem under theide. libgtk-x11-2.0.* files and symbolic links are present in
/usr/lib.
/usr/lib is of course present in the library path configuration in theide.
I use theide precompiled from 2007.1 distribution
GCC is version 4.1.2.
Anyone has a clue how to make gcc happy about gtk library finding?
Thank you in advance.
Lionel
|
|
|
|
|
Re: "cannot find lgtk-x11-2.0" under gentoo linux [message #13094 is a reply to message #13084] |
Mon, 10 December 2007 19:40   |
chickenk
Messages: 171 Registered: May 2007 Location: Grenoble, France
|
Experienced Member |
|
|
mr_ped wrote on Sun, 09 December 2007 19:08 | Verbose mode ON
Copy and analyze the linking command of TheIDE.
|
Already done. The command-line is quite large so I'm not sure I should post it, if you want to have a look I will. Here is a summary:
c++ -static -o "/home/lionel/upp/out/GCC.Gui/ide" -Wl,-s L"/usr/lib" -L"/usr/X11R6/lib" -Wl,-O,2 <series_of_files.o> -Wl,--start-group <series_of_files.a> -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXfixes -lpango-1.0 -lcairo -lX11 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lX11 -ldl -lXft -lfontconfig -lXrender -lfreetype -lexpat <series_of_files.a> -lpng "/home/lionel/upp/out/plugin/png/GCC.Gui/png.a" -Wl,--end-group
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lgtk-x11-2.0
collect2: ld a retourné 1 code d'état d'exécution
Frankly, everything seems to be ok... Where to search next? I suspect the -static to be the cause, but I'm not sure.
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Sat Apr 26 15:05:06 CEST 2025
Total time taken to generate the page: 0.01000 seconds
|
|
|