Segmentation fault (core dumped) Error!

By running this code I get following error! (It used to worked perfectly, so i have no idea what happened all of a sudden!)

Code:
heroku update

Error:
zsh: segmentation fault (core dumped) heroku update

P.S. : I encounter this error too:
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

Have you installed this from the AUR?

Actually I can not remember from where it has been installed.

P.S. I have this error too:

ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

If this is heroku-cli from AUR then update the package and try again.

Install base-devel and lib32-fakeroot packages:

sudo pacman -S base-devel lib32-fakeroot --needed
1 Like

Code:

sudo pacman -S base-devel lib32-fakeroot --needed

Result:

ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
warning: autoconf-2.71-1 is up to date -- skipping
warning: automake-1.16.5-1 is up to date -- skipping
warning: binutils-2.36.1-3 is up to date -- skipping
warning: bison-3.8.2-1 is up to date -- skipping
warning: fakeroot-1.26-1 is up to date -- skipping
warning: file-5.41-1 is up to date -- skipping
warning: findutils-4.8.0-1 is up to date -- skipping
warning: flex-2.6.4-3 is up to date -- skipping
warning: gawk-5.1.1-1 is up to date -- skipping
warning: gcc-11.1.0-3 is up to date -- skipping
warning: gettext-0.21-1 is up to date -- skipping
warning: grep-3.7-1 is up to date -- skipping
warning: groff-1.22.4-6 is up to date -- skipping
warning: gzip-1.11-1 is up to date -- skipping
warning: libtool-2.4.6+42+gb88cebd5-16 is up to date -- skipping
warning: m4-1.4.19-1 is up to date -- skipping
warning: make-4.3-3 is up to date -- skipping
warning: pacman-6.0.1-2 is up to date -- skipping
warning: patch-2.7.6-8 is up to date -- skipping
warning: pkgconf-1.8.0-1 is up to date -- skipping
warning: sed-4.8-1 is up to date -- skipping
warning: sudo-1.9.8.p2-3 is up to date -- skipping
warning: texinfo-6.8-2 is up to date -- skipping
warning: which-2.21-5 is up to date -- skipping
warning: lib32-fakeroot-1.26-1 is up to date -- skipping
 there is nothing to do

and Code:

sudo pacman -S heroku-cli

Result:

ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
error: target not found: heroku-cli

sudo pacman-mirrors --fasttrack 5 && sudo pacman -Syyu
pamac build heroku-cli
1 Like

You might want to uninstall your previous installation of heroku and try again. If it’s a standalone installation (which i think it is) use these steps:

rm /usr/local/bin/heroku
rm -rf /usr/local/lib/heroku /usr/local/heroku
rm -rf ~/.local/share/heroku ~/.cache/heroku

By this lines finally I managed to solve the problem:

sudo pacman-mirrors --fasttrack 5 && sudo pacman -Syyu
sudo pamac remove base-devel lib32-fakeroot
sudo pacman -S base-devel lib32-fakeroot --needed
sudo snap remove heroku
sudo pacman -S heroku-cli

P.S. I even increased the size of system partition. (It was at its limit).

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.