On 3/23/07, Jorge Almeida <[EMAIL PROTECTED]> wrote:
>
>         gcc -pthread -shared -fno-strict-aliasing -DNDEBUG -g -O3 -Wall 
> -Wstrict-prototypes build/temp.linux-i686-2.4/_tkinter.o 
> build/temp.linux-i686-2.4/tkappinit.o -L/usr/X11/lib -L/usr/local/lib -ltk8.4 
> -ltcl8.4 -lX11 -o build/lib.linux-i686-2.4/_tkinter.so
>         /usr/bin/ld: cannot find -lX11
>         collect2: ld returned 1 exit status

OK, here's the issue. For whatever reason, gcc is not being told to
link in /opt/xorg/lib. If things were working properly, you'd see
-L/opt/xorg/lib around where it says -L/usr/X11/lib. Something in the
Python build isn't adding this.

Actually this shouldn't be a problem at all. There should be
compatibility symlinks from /usr/X11/lib to $XPREFIX/lib. Hmm, it
looks like we don't do that with Xorg-7. What version of X did you
install?

--
Dan
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to