On 5/10/07, randhir phagura <[EMAIL PROTECTED]> wrote:
> Hi,
> While building firefox-2.0.0.3, as per the book, i get the error:
> '/usr/bin/ld cannot find -lX11'.
> XF86 has been installed at the default prefix /usr/X11R6. 'ld.so.conf' has
> been updated and 'ldconfig' also done . PKG_CONFIG_PATH shows X11 libs in
> the path.

Hmm, where in the build does this break? Hopefully it's just because
of my fix. Maybe you want to try this:

at >> layout/build/Makefile.in << "EOF" &&
ifdef MOZ_ENABLE_CANVAS
EXTRA_DSO_LDOPTS += -L/usr/lib/X11 -lX11 -lXrender
endif
EOF

The important part there is the -L/usr/lib/X11. The issue is that
pkg-config is not being used to find the X libraries.

--
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