Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: Sashank999 on August 01, 2020, 03:29:37 AM

Title: [Solved] '/usr/local/lib/libgobject-2.0.la' is not a valid libtool archive
Post by: Sashank999 on August 01, 2020, 03:29:37 AM
Hi !

I am getting this error when compiling keybinder-3.0.
Code: [Select]
/usr/local/bin/sed: can't read /usr/local/lib/libgobject-2.0.la: No such file or directory
libtool:   error: '/usr/local/lib/libgobject-2.0.la' is not a valid libtool archive
make[1]: *** [Makefile:463: libkeybinder-3.0.la] Error 1
make[1]: Leaving directory '/home/tc/Downloads/keybinder-3.0-0.3.2/libkeybinder'
make: *** [Makefile:427: all-recursive] Error 1

I found that /usr/local/lib/libgobject-2.0.la is not present in gobject-introspection-dev.tcz. I loaded keybinder dependencies : gtk3-dev, gobject-introspection-dev, gtk-doc. But it is not working.
Can anyone help me ?

Thanks in advance.

EDIT : A complete log attached below.
Title: Re: '/usr/local/lib/libgobject-2.0.la' is not a valid libtool archive
Post by: Juanito on August 01, 2020, 03:40:34 AM
The problem is that most gnome apps changed over from build systems using autotools (configure, make) to meson/ninja, which does not produce *.la files, a few years ago.

You can download the missing *.la files from here: http://tinycorelinux.net/11.x/x86_64/tcz/src/la/

After you've found all of the missing *.la files, "make clean" and "make" again otherwise "make install" will usually fail.
Title: Re: '/usr/local/lib/libgobject-2.0.la' is not a valid libtool archive
Post by: Sashank999 on August 01, 2020, 05:47:00 AM
Hi Juanito,

That worked for compilation :D . I can't say anything until you test the keybinder :-\ . It is now submitted.
Title: Re: '/usr/local/lib/libgobject-2.0.la' is not a valid libtool archive
Post by: Sashank999 on August 03, 2020, 10:22:43 AM
Yeah. It is now in the repo.

@Juanito Thank You for the answer.
@Rich You can mark this Solved.
Title: Re: [Solved] '/usr/local/lib/libgobject-2.0.la' is not a valid libtool archive
Post by: Rich on August 03, 2020, 12:01:10 PM
Hi Sashank999
... @Rich You can mark this Solved.
Done.
Title: Re: [Solved] '/usr/local/lib/libgobject-2.0.la' is not a valid libtool archive
Post by: Sashank999 on August 03, 2020, 10:58:57 PM
Thank You  :D .