You are not logged in.

#1 2022-10-26 15:26:53

lenovolobo933
Member
Registered: 2018-12-12
Posts: 60

[SOLVED] libc.so.6 error when installing package

when trying to upgrade package there's some error about libc.so.6:

❯ yay -S dolphin-root
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1]  dolphin-root-22.04.2-1

  1 dolphin-root                     (Installed) (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: PKGBUILD up to date, Skipping (1/0): dolphin-root
  1 dolphin-root                     (Installed) (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: (1/1) Parsing SRCINFO: dolphin-root
==> Making package: dolphin-root 22.04.2-1 (Wed 26 Oct 2022 10:18:13 PM +07)
==> Retrieving sources...
  -> Found dolphin-22.04.2.tar.xz
  -> Found dolphin-22.04.2.tar.xz.sig
  -> Found 0001-Defuse-root-block.patch
==> Validating source files with sha256sums...
    dolphin-22.04.2.tar.xz ... Passed
    dolphin-22.04.2.tar.xz.sig ... Skipped
    0001-Defuse-root-block.patch ... Passed
==> Verifying source file signatures with gpg...
    dolphin-22.04.2.tar.xz ... Passed
==> Making package: dolphin-root 22.04.2-1 (Wed 26 Oct 2022 10:18:15 PM +07)
==> Checking runtime dependencies...
warning: config file /etc/pacman.conf, line 34: directive 'TotalDownload' in section 'options' not recognized.
==> Checking buildtime dependencies...
warning: config file /etc/pacman.conf, line 34: directive 'TotalDownload' in section 'options' not recognized.
==> Retrieving sources...
  -> Found dolphin-22.04.2.tar.xz
  -> Found dolphin-22.04.2.tar.xz.sig
  -> Found 0001-Defuse-root-block.patch
==> Validating source files with sha256sums...
    dolphin-22.04.2.tar.xz ... Passed
    dolphin-22.04.2.tar.xz.sig ... Skipped
    0001-Defuse-root-block.patch ... Passed
==> Verifying source file signatures with gpg...
    dolphin-22.04.2.tar.xz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting dolphin-22.04.2.tar.xz with bsdtar
==> Starting prepare()...
patching file src/main.cpp
==> Sources are ready.
==> Making package: dolphin-root 22.04.2-1 (Wed 26 Oct 2022 10:18:18 PM +07)
==> Checking runtime dependencies...
warning: config file /etc/pacman.conf, line 34: directive 'TotalDownload' in section 'options' not recognized.
==> Checking buildtime dependencies...
warning: config file /etc/pacman.conf, line 34: directive 'TotalDownload' in section 'options' not recognized.
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - broken
CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:69 (message):
  The C compiler

    "/usr/bin/cc"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /home/lenovo/.cache/yay/dolphin-root/src/build/CMakeFiles/CMakeTmp
    
    Run Build Command(s):/usr/bin/make -f Makefile cmTC_b2b21/fast && /usr/bin/make  -f CMakeFiles/cmTC_b2b21.dir/build.make CMakeFiles/cmTC_b2b21.dir/build
    make[1]: Entering directory '/home/lenovo/.cache/yay/dolphin-root/src/build/CMakeFiles/CMakeTmp'
    Building C object CMakeFiles/cmTC_b2b21.dir/testCCompiler.c.o
    /usr/bin/cc   -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection  -o CMakeFiles/cmTC_b2b21.dir/testCCompiler.c.o -c /home/lenovo/.cache/yay/dolphin-root/src/build/CMakeFiles/CMakeTmp/testCCompiler.c
    Linking C executable cmTC_b2b21
    /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b2b21.dir/link.txt --verbose=1
    /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now  CMakeFiles/cmTC_b2b21.dir/testCCompiler.c.o -o cmTC_b2b21 
    /home/linuxbrew/.linuxbrew/bin/ld: /usr/lib/libc.so.6: unknown type [0x13] section `.relr.dyn'
    /home/linuxbrew/.linuxbrew/bin/ld: /usr/lib/libc.so.6: unknown type [0x13] section `.relr.dyn'
    /home/linuxbrew/.linuxbrew/bin/ld: skipping incompatible /usr/lib/libc.so.6 when searching for /usr/lib/libc.so.6
    /home/linuxbrew/.linuxbrew/bin/ld: cannot find /usr/lib/libc.so.6
    /home/linuxbrew/.linuxbrew/bin/ld: /usr/lib/libc.so.6: unknown type [0x13] section `.relr.dyn'
    /home/linuxbrew/.linuxbrew/bin/ld: /usr/lib/libc.so.6: unknown type [0x13] section `.relr.dyn'
    /home/linuxbrew/.linuxbrew/bin/ld: skipping incompatible /usr/lib/libc.so.6 when searching for /usr/lib/libc.so.6
    /home/linuxbrew/.linuxbrew/bin/ld: /usr/lib/ld-linux-x86-64.so.2: unknown type [0x13] section `.relr.dyn'
    /home/linuxbrew/.linuxbrew/bin/ld: /usr/lib/ld-linux-x86-64.so.2: unknown type [0x13] section `.relr.dyn'
    /home/linuxbrew/.linuxbrew/bin/ld: skipping incompatible /usr/lib/ld-linux-x86-64.so.2 when searching for /usr/lib/ld-linux-x86-64.so.2
    /home/linuxbrew/.linuxbrew/bin/ld: cannot find /usr/lib/ld-linux-x86-64.so.2
    /home/linuxbrew/.linuxbrew/bin/ld: /usr/lib/ld-linux-x86-64.so.2: unknown type [0x13] section `.relr.dyn'
    /home/linuxbrew/.linuxbrew/bin/ld: /usr/lib/ld-linux-x86-64.so.2: unknown type [0x13] section `.relr.dyn'
    /home/linuxbrew/.linuxbrew/bin/ld: skipping incompatible /usr/lib/ld-linux-x86-64.so.2 when searching for /usr/lib/ld-linux-x86-64.so.2
    collect2: error: ld returned 1 exit status
    make[1]: *** [CMakeFiles/cmTC_b2b21.dir/build.make:99: cmTC_b2b21] Error 1
    make[1]: Leaving directory '/home/lenovo/.cache/yay/dolphin-root/src/build/CMakeFiles/CMakeTmp'
    make: *** [Makefile:127: cmTC_b2b21/fast] Error 2
    
    

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:8 (project)


-- Configuring incomplete, errors occurred!
See also "/home/lenovo/.cache/yay/dolphin-root/src/build/CMakeFiles/CMakeOutput.log".
See also "/home/lenovo/.cache/yay/dolphin-root/src/build/CMakeFiles/CMakeError.log".
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: dolphin-root

Last edited by lenovolobo933 (2022-10-27 13:53:25)

Offline

#2 2022-10-26 15:39:02

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,774

Re: [SOLVED] libc.so.6 error when installing package

Moving to AUR issues.

Why would you ever want to run Dolphin as Root?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2022-10-26 15:49:27

d.ALT
Member
Registered: 2019-05-10
Posts: 920

Re: [SOLVED] libc.so.6 error when installing package

ewaller wrote:

Why would you ever want to run Dolphin as Root?

Years ago I used it a lot too on openSUSE (from 2012 until 2017)! smile


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#4 2022-10-26 16:13:03

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: [SOLVED] libc.so.6 error when installing package

The issue is your custom `ld` you are trying to use.  What is it?  Where is it from?  Why are you using it in place of binutils?

EDIT: nevermind.  This is "Arch" on WSL right?  That's not supported on these forums (this would also explain the pacman.conf errors).

Last edited by Trilby (2022-10-26 16:15:25)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2022-10-27 13:17:43

lenovolobo933
Member
Registered: 2018-12-12
Posts: 60

Re: [SOLVED] libc.so.6 error when installing package

Trilby wrote:

The issue is your custom `ld` you are trying to use.  What is it?  Where is it from?  Why are you using it in place of binutils?

it seems to be from linuxbrew, correct?
i installed linuxbrew sometime ago but forgot for what application
would installing binuntils fix the problem?

Trilby wrote:

This is "Arch" on WSL right?

it's plain vanilla arch. what is WSL?

Offline

#6 2022-10-27 13:54:04

lenovolobo933
Member
Registered: 2018-12-12
Posts: 60

Re: [SOLVED] libc.so.6 error when installing package

ok i uninstalled linuxbrew. seems to work now

Offline

Board footer

Powered by FluxBB