WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Solved] '/usr/local/lib/libgobject-2.0.la' is not a valid libtool archive  (Read 4519 times)

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 397
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.
« Last Edit: August 03, 2020, 11:59:49 AM by Rich »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14823
Re: '/usr/local/lib/libgobject-2.0.la' is not a valid libtool archive
« Reply #1 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.
« Last Edit: August 01, 2020, 03:46:36 AM by Juanito »

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 397
Re: '/usr/local/lib/libgobject-2.0.la' is not a valid libtool archive
« Reply #2 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.

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 397
Re: '/usr/local/lib/libgobject-2.0.la' is not a valid libtool archive
« Reply #3 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.

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11641
Hi Sashank999
... @Rich You can mark this Solved.
Done.

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 397
Thank You  :D .