On 21/12/22 at 21:50 +0100, Juliette DAMON-ELSASS wrote:
> Relevant part is:
> > (9015) Linking /<<PKGBUILDDIR>>/lazpaint/release/bin/lazpaint
> > /usr/bin/ld.bfd: cannot find -lgdk-x11-2.0: No such file or directory
> > /usr/bin/ld.bfd: cannot find -lgtk-x11-2.0: No such file or directory
> > /usr/bin/ld.bfd: cannot find -lX11: No such file or directory
> > /usr/bin/ld.bfd: cannot find -lgdk_pixbuf-2.0: No such file or directory
> > /usr/bin/ld.bfd: cannot find -lgobject-2.0: No such file or directory
> > /usr/bin/ld.bfd: cannot find -lglib-2.0: No such file or directory
> > /usr/bin/ld.bfd: cannot find -lgthread-2.0: No such file or directory
> > /usr/bin/ld.bfd: cannot find -lgmodule-2.0: No such file or directory
> > /usr/bin/ld.bfd: cannot find -lpango-1.0: No such file or directory
> > /usr/bin/ld.bfd: cannot find -lcairo: No such file or directory
> > /usr/bin/ld.bfd: cannot find -latk-1.0: No such file or directory
> > /usr/bin/ld.bfd: cannot find -lpangocairo-1.0: No such file or directory
> > /<<PKGBUILDDIR>>/lazpaint/lazpaint.lpr(229,1) Error: (9013) Error while 
> > linking
> 
> It does not find the libraries. Is there a change of availability of those?

I don't know.

The call to ld that fails is:
/usr/bin/ld.bfd -b elf64-x86-64 -m elf_x86_64 
--dynamic-linker=/lib64/ld-linux-x86-64.so.2 --gc-sections -s -L. -o 
/root/lazpaint-7.2.2/lazpaint/release/bin/lazpaint -T 
/root/lazpaint-7.2.2/lazpaint/release/bin/link31494.res -e _start

and the linker script (/root/lazpaint-7.2.2/lazpaint/release/bin/link31494.res)
correctly includes
SEARCH_DIR("/usr/lib/x86_64-linux-gnu/")

Strange.

Lucas

Reply via email to