You are not logged in.

#1 2023-04-04 06:23:36

SlothSpunky77
Member
Registered: 2023-03-03
Posts: 47

[SOLVED] Problem installing timeshift

yay -S timeshift
...
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/libxapp.so: undefined reference to `g_string_free_and_steal'
collect2: error: ld returned 1 exit status
error: cc exited with status 256
Compilation failed: 1 error(s), 108 warning(s)
make[1]: *** [makefile:53: app-gtk] Error 1
make[1]: Leaving directory '/home/ArchSloth/.cache/yay/timeshift/src/timeshift/src'
make: *** [makefile:5: app-gtk] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: timeshift-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
timeshift - exit status 4

The same happens no matter where I install it from (git and downloading the snapshot). How do I go about this?

Last edited by SlothSpunky77 (2023-04-04 08:21:18)

Offline

#2 2023-04-04 06:29:41

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: [SOLVED] Problem installing timeshift

with what version of glib2?

Offline

#3 2023-04-04 08:15:06

SlothSpunky77
Member
Registered: 2023-03-03
Posts: 47

Re: [SOLVED] Problem installing timeshift

I don't have glib2 installed on my system.
Installing it was the fix. Thanks!

Last edited by SlothSpunky77 (2023-04-04 08:21:01)

Offline

#4 2023-04-04 13:08:30

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: [SOLVED] Problem installing timeshift

That means you have a dependency problem somewhere. glib2 is a direct dependency of gtk3, and you shouldn't have xapp without gtk3.

Offline

Board footer

Powered by FluxBB