Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: HJarausch on 28 November 2017, 17:53:09

Title: missing dynamic libraries - how to resolve
Post by: HJarausch on 28 November 2017, 17:53:09
Hi,
I have quite a long experience in Linux but I am new to ARTIX - my main Linux distribution is Gentoo.

1) What do I need to do when I chroot from a different Linux system (e.g. Gentoo)
    Currently I do  (NROOT is the partition on which ARTIX is installed)

mount --bind  /proc /$NROOT/proc
mount --rbind /dev  /$NROOT/dev
mount --rbind /sys  /$NROOT/sys
mount --rbind /run  /$NROOT/run
cp /etc/resolv.conf /$NROOT/etc/resolv.conf
xhost +local:
echo $DISPLAY

chroot /$NROOT /bin/bash

source /etc/profile
source /etc/bash/bashrc.d/artix.bashrc
export DISPLAY=:0

2)
I have installed Balsa but starting 'balsa' I get
balsa: error while loading shared libraries: libicuuc.so.60: cannot open shared object file: No such file or directory

How to resolve that?

3) Similarly, starting Firefox I get
firefox

(firefox:10541): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
process 10541: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/etc/machine-id": No such file or directory
See the manual page for dbus-uuidgen to correct this issue.
  D-Bus not built with -rdynamic so unable to print a backtrace
Redirecting call to abort() to mozalloc_abort

ExceptionHandler::GenerateDump cloned child 10572
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
ExceptionHandler::WaitForContinueSignal waiting for continue signal...

4) where is 'startx' ?

5) How to find a package which contains a given command like  'locate'

Many thanks for your patience,
Helmut
Title: Re: missing dynamic libraries - how to resolve
Post by: SGOrava on 28 November 2017, 18:18:16
Hello
Title: Re: missing dynamic libraries - how to resolve
Post by: nous on 28 November 2017, 21:57:53
Hi,
I have quite a long experience in Linux but I am new to ARTIX - my main Linux distribution is Gentoo.

1) What do I need to do when I chroot from a different Linux system (e.g. Gentoo)
    Currently I do  (NROOT is the partition on which ARTIX is installed)

mount --bind  /proc /$NROOT/proc
mount --rbind /dev  /$NROOT/dev
mount --rbind /sys  /$NROOT/sys
mount --rbind /run  /$NROOT/run
cp /etc/resolv.conf /$NROOT/etc/resolv.conf
xhost +local:
echo $DISPLAY

chroot /$NROOT /bin/bash

source /etc/profile
source /etc/bash/bashrc.d/artix.bashrc
export DISPLAY=:0
For chrooting I use the following:
Code: [Select]
cd /
for d in dev proc sys; do mount --bind $d /CHROOT/$d; done
xhost +SI:localuser:username
chroot /CHROOT

2)
I have installed Balsa but starting 'balsa' I get
balsa: error while loading shared libraries: libicuuc.so.60: cannot open shared object file: No such file or directory
How to resolve that?
Your Artix is not fully updated, icu-60 is in [system] since days. Check you mirrorlist (https://wiki.artixlinux.org/Main/Troubleshooting#Updating_icu.2Fncurses.2Fwhatever_breaks_a_ton_of_packages).

3) Similarly, starting Firefox I get
firefox

(firefox:10541): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
process 10541: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/etc/machine-id": No such file or directory
See the manual page for dbus-uuidgen to correct this issue.
  D-Bus not built with -rdynamic so unable to print a backtrace
Redirecting call to abort() to mozalloc_abort

ExceptionHandler::GenerateDump cloned child 10572
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
ExceptionHandler::WaitForContinueSignal waiting for continue signal...
Uncomment your locale in /etc/locale.gen and run locale-gen as root. I've never encountered problems concerning the systemd's /etc/machine-id tracking crap, you can put a random 'fucktheskullofsystemd' string inside for all I know. Or generate one with
Code: [Select]
dbus-uuidgen > /etc/machine-id
Might also be fun to regenerate it every hour with cron. Frakking tagging.

Code: [Select]
pacman -Sy xorg-xinit

5) How to find a package which contains a given command like  'locate'
Code: [Select]
pacman -Qo /path/to/file
Title: Re: missing dynamic libraries - how to resolve
Post by: mandog on 29 November 2017, 15:08:12
You need to do pacman  -Syyu not pacman -Su or pacman -Syu to fully sync the repros, as a Gentoo user I already reminded you that research is your best friend read you other post concerning icu and how to do it correctly from the Arch wiki it works. i used it my self be fore anybody even posted here. https://wiki.archlinux.org/index.php/Pacman