Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem to emerge libreoffice
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
sleepingsun
Guru
Guru


Joined: 03 May 2006
Posts: 472
Location: Bosnia

PostPosted: Sun Feb 09, 2025 10:28 am    Post subject: Problem to emerge libreoffice Reply with quote

Code:
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libgio-2.0.so.0: undefined reference to `mnt_monitor_veil_kernel@MOUNT_2_40'
collect2: error: ld returned 1 exit status
make[1]: *** [/var/tmp/portage/app-office/libreoffice-24.2.7.2/work/libreoffice-24.2.7.2/solenv/gbuild/LinkTarget.mk:853: /var/tmp/portage/app-office/libreoffice-24.2.7.2/work/libreoffice-24.2.7.2/workdir/LinkTarget/Executable/canvasdemo] Error 1
rm /var/tmp/portage/app-office/libreoffice-24.2.7.2/work/libreoffice-24.2.7.2/workdir/CustomTarget/i18npool/breakiterator/count_word.brk /var/tmp/portage/app-office/libreoffice-24.2.7.2/work/libreoffice-24.2.7.2/workdir/CustomTarget/i18npool/breakiterator/line.brk /var/tmp/portage/app-office/libreoffice-24.2.7.2/work/libreoffice-24.2.7.2/workdir/CustomTarget/i18npool/breakiterator/dict_word.brk /var/tmp/portage/app-office/libreoffice-24.2.7.2/work/libreoffice-24.2.7.2/workdir/CustomTarget/i18npool/breakiterator/edit_word_hu.brk /var/tmp/portage/app-office/libreoffice-24.2.7.2/work/libreoffice-24.2.7.2/workdir/CustomTarget/i18npool/breakiterator/dict_word_hu.brk /var/tmp/portage/app-office/libreoffice-24.2.7.2/work/libreoffice-24.2.7.2/workdir/CustomTarget/i18npool/breakiterator/edit_word.brk /var/tmp/portage/app-office/libreoffice-24.2.7.2/work/libreoffice-24.2.7.2/workdir/CustomTarget/i18npool/breakiterator/dict_word_prepostdash.brk
make[1]: Leaving directory '/var/tmp/portage/app-office/libreoffice-24.2.7.2/work/libreoffice-24.2.7.2'
make: *** [Makefile:289: build] Error 2
 * ERROR: app-office/libreoffice-24.2.7.2::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-office/libreoffice-24.2.7.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-office/libreoffice-24.2.7.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-office/libreoffice-24.2.7.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-24.2.7.2/temp/environment'.
 * Working directory: '/var/tmp/portage/app-office/libreoffice-24.2.7.2/work/libreoffice-24.2.7.2'
 * S: '/var/tmp/portage/app-office/libreoffice-24.2.7.2/work/libreoffice-24.2.7.2'
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =app-office/libreoffice-24.2.7.2

Code:

emerge --info
Portage 3.0.66.1 (python 3.12.8-final-0, default/linux/amd64/23.0/desktop/plasma, gcc-13, glibc-2.40-r8, 6.6.52-gentoo x86_64)
=================================================================
System uname: Linux-6.6.52-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-glibc2.40
KiB Mem:     8126304 total,    115236 free
KiB Swap:    2097148 total,    509436 free
Timestamp of repository gentoo: Thu, 06 Feb 2025 11:45:00 +0000
Head commit of repository gentoo: 2a91f337a4c6019dd7936e0e7e90390952984115
sh bash 5.2_p37
ld GNU ld (Gentoo 2.42 p6) 2.42.0
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.30.6::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.6.1::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0-r1::gentoo
dev-lang/python:           3.11.10_p1::gentoo, 3.12.8_p1::gentoo, 3.13.1_p1::gentoo
dev-lang/rust-bin:         1.81.0-r100::gentoo, 1.82.0-r101::gentoo, 1.83.0::gentoo
llvm-core/clang:           18.1.8::gentoo, 19.1.4::gentoo
llvm-core/lld:             18.1.8::gentoo, 19.1.4::gentoo
llvm-core/llvm:            18.1.8-r6::gentoo, 19.1.4::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.55.1::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.42-r2::gentoo, 2.43-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             13.3.1_p20240614::gentoo, 14.2.1_p20241221::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r8::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE app-arch/unrar unRAR RAR fping xrick linux-fw-redistributable no-source-code JSON NVIDIA-r2 MPEG-4 google-chrome OPERA-2018 AnyDesk-TOS"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/spool/munin-async/.ssh"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="https://mirror.aarnet.edu.au/pub/gentoo/ http://mirror.aarnet.edu.au/pub/gentoo/ rsync://mirror.aarnet.edu.au/pub/gentoo/ ftp://ftp.swin.edu.au/gentoo http://ftp.swin.edu.au/gentoo"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j1"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities alsa amd64 apache2 avi berkdb bindist branding bzip2 cairo cdda cdr cet cgi clamav crypt cups daemon dbus declarative dhcpd dri dts dvd dvdr elogind encode exif ext2 ext4 fat fat32 flac gd gdbm gif gles2 gmp gpm grub gtk gui harfbuzz iconv icu id3tag intl ipv6 jack jpeg jpg kde kf6compat kwallet lcms ldap libass libnotify libtirpc mad mdnsresponder-compat mkv mng mp3 mp4 mpeg mtp multilib ncurses networkmanager nls ntfs ogg opengl openmp pam pango pcntl pcre pcre32 pdf pdo php pipewire plasma png policykit ppds pulseaudio qml qt5 qt6 readline realtek samba screencast sdl seccomp semantic-desktop sensord snmp sound spell sqlite ssh ssl startup-notification svg test-rust tidy tiff truetype udev udisks unicode upower usb uvm vmware vorbis vulkan wavpack wayland widgets wxwidgets x264 xattr xcb xft xml xmlrpc xmlwriter xv xvid zeroconf zlib" ABI_X86="64" ADA_TARGET="gcc_13" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="mouse keyboard libinput synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="nvidia nv" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

_________________
Gentoo is Rocks
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23121

PostPosted: Sun Feb 09, 2025 3:34 pm    Post subject: Reply with quote

What is the output of emerge --pretend --verbose dev-libs/glib sys-apps/util-linux? Did you install some things from binary packages and build others locally?
Back to top
View user's profile Send private message
sleepingsun
Guru
Guru


Joined: 03 May 2006
Posts: 472
Location: Bosnia

PostPosted: Sun Feb 09, 2025 11:04 pm    Post subject: Reply with quote

Code:
emerge --pretend --verbose dev-libs/glib sys-apps/util-linux

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 23.95 s (backtrack: 0/20).

[ebuild     UD ] sys-apps/util-linux-2.40.2::gentoo [2.40.4::gentoo] USE="cramfs hardlink logger ncurses nls pam readline su suid udev (unicode) -audit -build -caps -cryptsetup -fdformat -kill -magic -python (-rtas) (-selinux) -slang -static-libs -systemd -test -tty-helpers -uuidd -verify-sig" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_12 -python3_10 -python3_11 -python3_13" 0 KiB
[ebuild   R    ] dev-libs/glib-2.80.5-r1:2::gentoo  USE="dbus elf introspection (mime) xattr -debug -doc (-selinux) -static-libs -sysprof -systemtap -test -utils" ABI_X86="(64) -32 (-x32)" 0 KiB

Total: 2 packages (1 downgrade, 1 reinstall), Size of downloads: 0 KiB

_________________
Gentoo is Rocks
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2296
Location: $TERM

PostPosted: Mon Feb 10, 2025 7:02 am    Post subject: Reply with quote

Code:
ldd /usr/lib64/libgio-2.0.so.0


Also I suggest you rebuild dev-libs/glib
_________________
My blog
Back to top
View user's profile Send private message
bstaletic
Guru
Guru


Joined: 05 Apr 2014
Posts: 469

PostPosted: Mon Feb 10, 2025 8:12 am    Post subject: Reply with quote

Another thing to see:
Code:
nm -CD /usr/lib64/libmount.so* | grep mnt_monitor_veil_kernel
It should be something like this:
Code:
0000000000039d80 T mnt_monitor_veil_kernel@@MOUNT_2_40
0000000000039d80 T mnt_monitor_veil_kernel@@MOUNT_2_40
0000000000039d80 T mnt_monitor_veil_kernel@@MOUNT_2_40
It's repeated three times, because the glob picks up the symlinks as well.
Back to top
View user's profile Send private message
sleepingsun
Guru
Guru


Joined: 03 May 2006
Posts: 472
Location: Bosnia

PostPosted: Mon Feb 10, 2025 12:40 pm    Post subject: Reply with quote

dE_logics wrote:
Code:
ldd /usr/lib64/libgio-2.0.so.0


Also I suggest you rebuild dev-libs/glib


Yes i did same problem nothing changed
_________________
Gentoo is Rocks
Back to top
View user's profile Send private message
sleepingsun
Guru
Guru


Joined: 03 May 2006
Posts: 472
Location: Bosnia

PostPosted: Mon Feb 10, 2025 12:41 pm    Post subject: Reply with quote

Code:

sandra /etc/portage # nm -CD /usr/lib64/libmount.so* | grep mnt_monitor_veil_kernel
000000000003a7b0 T mnt_monitor_veil_kernel@@MOUNT_2_40
000000000003a7b0 T mnt_monitor_veil_kernel@@MOUNT_2_40
000000000003a7b0 T mnt_monitor_veil_kernel@@MOUNT_2_40

_________________
Gentoo is Rocks
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2296
Location: $TERM

PostPosted: Tue Feb 11, 2025 5:32 am    Post subject: Reply with quote

Other packages depending on glib build?
_________________
My blog
Back to top
View user's profile Send private message
sleepingsun
Guru
Guru


Joined: 03 May 2006
Posts: 472
Location: Bosnia

PostPosted: Tue Feb 11, 2025 10:50 am    Post subject: Reply with quote

Other packages are fine and only have problem with libreoffice
Code:

S=/var/tmp/portage/app-office/libreoffice-24.2.7.2/work/libreoffice-24.2.7.2 && I=$S/instdir && W=$S/workdir &&  x86_64-pc-linux-gnu-g++ -pthread    -Wl,-z,origin '-Wl,-rpath,$ORIGIN/../Library' -Wl,-rpath-link,$I/program  -Wl,-z,defs -fstack-protector-strong -Wl,-rpath-link,/lib:/usr/lib -Wl,-z,combreloc  -Wl,--hash-style=gnu  -Wl,-Bsymbolic-functions -L$W/LinkTarget/StaticLibrary -L$I/sdk/lib  -L$I/program  -L$I/program  -L$W/LinkTarget/Library -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--undefined-version     $W/CxxObject/canvas/workben/canvasdemo.o       -Wl,--start-group $W/LinkTarget/StaticLibrary/libvclmain.a   -Wl,--end-group -Wl,--no-as-needed -luno_cppu -luno_cppuhelpergcc3 -luno_sal -luno_salhelpergcc3 -lmergedlo  -o $W/LinkTarget/Executable/canvasdemo 
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libgio-2.0.so.0: undefined reference to `mnt_monitor_veil_kernel@MOUNT_2_40'
collect2: error: ld returned 1 exit status
make[1]: *** [/var/tmp/portage/app-office/libreoffice-24.2.7.2/work/libreoffice-24.2.7.2/solenv/gbuild/LinkTarget.mk:853: /var/tmp/portage/app-office/libreoffice-24.2.7.2/work/libreoffice-24.2.7.2/workdir/LinkTarget/Executable/canvasdemo] Error 1
rm /var/tmp/portage/app-office/libreoffice-24.2.7.2/work/libreoffice-24.2.7.2/workdir/CustomTarget/i18npool/breakiterator/count_word.brk /var/tmp/portage/app-office/libreoffice-24.2.7.2/work/libreoffice-24.2.7.2/workdir/CustomTarget/i18npool/breakiterator/line.brk /var/tmp/portage/app-office/libreoffice-24.2.7.2/work/libreoffice-24.2.7.2/workdir/CustomTarget/i18npool/breakiterator/dict_word.brk /var/tmp/portage/app-office/libreoffice-24.2.7.2/work/libreoffice-24.2.7.2/workdir/CustomTarget/i18npool/breakiterator/edit_word_hu.brk /var/tmp/portage/app-office/libreoffice-24.2.7.2/work/libreoffice-24.2.7.2/workdir/CustomTarget/i18npool/breakiterator/dict_word_hu.brk /var/tmp/portage/app-office/libreoffice-24.2.7.2/work/libreoffice-24.2.7.2/workdir/CustomTarget/i18npool/breakiterator/edit_word.brk /var/tmp/portage/app-office/libreoffice-24.2.7.2/work/libreoffice-24.2.7.2/workdir/CustomTarget/i18npool/breakiterator/dict_word_prepostdash.brk
make[1]: Leaving directory '/var/tmp/portage/app-office/libreoffice-24.2.7.2/work/libreoffice-24.2.7.2'
make: *** [Makefile:289: build] Error 2
 * ERROR: app-office/libreoffice-24.2.7.2::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-office/libreoffice-24.2.7.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-office/libreoffice-24.2.7.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-office/libreoffice-24.2.7.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-24.2.7.2/temp/environment'.
 * Working directory: '/var/tmp/portage/app-office/libreoffice-24.2.7.2/work/libreoffice-24.2.7.2'
 * S: '/var/tmp/portage/app-office/libreoffice-24.2.7.2/work/libreoffice-24.2.7.2'
!!! When you file a bug report, please include the following information:
GENTOO_VM=openjdk-bin-21  CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-21.0.5_p11"
JAVACFLAGS="-source 11 -target 11" COMPILER=""
and of course, the output of emerge --info =app-office/libreoffice-24.2.7.2

>>> Failed to emerge app-office/libreoffice-24.2.7.2, Log file:

>>>  '/var/tmp/portage/app-office/libreoffice-24.2.7.2/temp/build.log'

 * Messages for package app-office/libreoffice-24.2.7.2:

 * If you plan to use Base application you must enable USE base.

 * Messages for package app-office/libreoffice-24.2.7.2:

 * ERROR: app-office/libreoffice-24.2.7.2::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-office/libreoffice-24.2.7.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-office/libreoffice-24.2.7.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-office/libreoffice-24.2.7.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-24.2.7.2/temp/environment'.
 * Working directory: '/var/tmp/portage/app-office/libreoffice-24.2.7.2/work/libreoffice-24.2.7.2'
 * S: '/var/tmp/portage/app-office/libreoffice-24.2.7.2/work/libreoffice-24.2.7.2'

_________________
Gentoo is Rocks
Back to top
View user's profile Send private message
sleepingsun
Guru
Guru


Joined: 03 May 2006
Posts: 472
Location: Bosnia

PostPosted: Sat Feb 15, 2025 9:08 pm    Post subject: Reply with quote

also unmerge old libreoffice and same error !

reemerge glib and everything no idea anymore what can be this other things work fine
_________________
Gentoo is Rocks
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 2023

PostPosted: Sat Feb 15, 2025 9:45 pm    Post subject: Reply with quote

Please show lddtree /usr/lib64/libgio-2.0.so.0 as well as find /lib /lib64 /usr -name 'libmount.so*'
Back to top
View user's profile Send private message
sleepingsun
Guru
Guru


Joined: 03 May 2006
Posts: 472
Location: Bosnia

PostPosted: Mon Feb 17, 2025 11:19 am    Post subject: Reply with quote

Code:
 lddtree /usr/lib64/libgio-2.0.so.0
libgio-2.0.so.0 => /usr/lib64/libgio-2.0.so.0 (interpreter => none)
    libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0
        libpcre2-8.so.0 => /usr/lib64/libpcre2-8.so.0
    libgobject-2.0.so.0 => /usr/lib64/libgobject-2.0.so.0
        libffi.so.8 => /usr/lib64/libffi.so.8
    libgmodule-2.0.so.0 => /usr/lib64/libgmodule-2.0.so.0
    libz.so.1 => /usr/lib64/libz.so.1
    libmount.so.1 => /usr/lib64/libmount.so.1
        libblkid.so.1 => /usr/lib64/libblkid.so.1
        ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2
    libc.so.6 => /usr/lib64/libc.so.6


Code:

find /lib /lib64 /usr -name 'libmount.so*'
/usr/lib/libmount.so.1.1.0
/usr/lib/libmount.so.1

_________________
Gentoo is Rocks
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 2023

PostPosted: Mon Feb 17, 2025 1:24 pm    Post subject: Reply with quote

sleepingsun wrote:
Code:

find /lib /lib64 /usr -name 'libmount.so*'
/usr/lib/libmount.so.1.1.0
/usr/lib/libmount.so.1

That's very strange to not have a lib64 version of libmount.so on an amd64 (multilib/glibc) install.
Back to top
View user's profile Send private message
sleepingsun
Guru
Guru


Joined: 03 May 2006
Posts: 472
Location: Bosnia

PostPosted: Mon Feb 17, 2025 2:46 pm    Post subject: Reply with quote

grknight wrote:
sleepingsun wrote:
Code:

find /lib /lib64 /usr -name 'libmount.so*'
/usr/lib/libmount.so.1.1.0
/usr/lib/libmount.so.1

That's very strange to not have a lib64 version of libmount.so on an amd64 (multilib/glibc) install.


I just remove old one libreoffice with all dependencies and done emerge --depclean after I reemerge glib and util-linux and know emerge new libreoffice but need time 4 hours to finish and will report it here !

also i do it this but not help
Code:
libtool --finish /usr/lib64

libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/bin:/usr/lib/llvm/19/bin:/usr/lib/llvm/18/bin:/sbin" ldconfig -n /usr/lib64
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/lib64

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
---------------------------------------------------------------------


after i reemerge glib and util-linux i have this and will edit post when libreoffice finish
Code:

libtool --finish /usr/lib64
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/bin:/usr/lib/llvm/19/bin:/usr/lib/llvm/18/bin:/sbin" ldconfig -n /usr/lib64
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/lib64

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
sandra / # find /lib /lib64 /usr -name 'libmount.so*'
/usr/lib/libmount.so.1.1.0
/usr/lib/libmount.so.1
/usr/lib64/libmount.so.1.1.0
/usr/lib64/libmount.so
/usr/lib64/libmount.so.1


Same Error not no what to do
_________________
Gentoo is Rocks
Back to top
View user's profile Send private message
sleepingsun
Guru
Guru


Joined: 03 May 2006
Posts: 472
Location: Bosnia

PostPosted: Tue Feb 18, 2025 2:16 pm    Post subject: Reply with quote

After all upgrade to stable:
Code:

 gcc-config -l
 [1] x86_64-pc-linux-gnu-14 *


Code:

lddtree /usr/lib64/libgio-2.0.so.0
libgio-2.0.so.0 => /usr/lib64/libgio-2.0.so.0 (interpreter => none)
    libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0
        libpcre2-8.so.0 => /usr/lib64/libpcre2-8.so.0
    libgobject-2.0.so.0 => /usr/lib64/libgobject-2.0.so.0
        libffi.so.8 => /usr/lib64/libffi.so.8
    libgmodule-2.0.so.0 => /usr/lib64/libgmodule-2.0.so.0
    libz.so.1 => /usr/lib64/libz.so.1
    libmount.so.1 => /usr/lib64/libmount.so.1
        libblkid.so.1 => /usr/lib64/libblkid.so.1
        ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2
    libc.so.6 => /usr/lib64/libc.so.6

Code:

find /lib /lib64 /usr -name 'libmount.so*'
/usr/lib/libmount.so.1.1.0
/usr/lib/libmount.so.1
/usr/lib64/libmount.so.1.1.0
/usr/lib64/libmount.so
/usr/lib64/libmount.so.1

Code:

emerge --pretend --verbose dev-libs/glib sys-apps/util-linux

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 9.67 s (backtrack: 0/20).

[ebuild   R    ] sys-apps/util-linux-2.40.2::gentoo  USE="cramfs hardlink logger ncurses nls pam readline su suid udev (unicode) -audit -build -caps -cryptsetup -fdformat -kill -magic -python (-rtas) (-selinux) -slang -static-libs -systemd -test -tty-helpers -uuidd -verify-sig" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_12 -python3_10 -python3_11 -python3_13" 0 KiB
[ebuild   R    ] dev-libs/glib-2.80.5-r1:2::gentoo  USE="dbus elf introspection (mime) xattr -debug -doc (-selinux) -static-libs -sysprof -systemtap -test -utils" ABI_X86="(64) -32 (-x32)" 0 KiB

Total: 2 packages (2 reinstalls), Size of downloads: 0 KiB


Code:
 emerge --info
Portage 3.0.66.1 (python 3.12.8-final-0, default/linux/amd64/23.0/desktop/plasma, gcc-14, glibc-2.40-r8, 6.6.74-gentoo x86_64)
=================================================================
System uname: Linux-6.6.74-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-glibc2.40
KiB Mem:     8126296 total,    122080 free
KiB Swap:    2097148 total,   2096892 free
Timestamp of repository gentoo: Tue, 18 Feb 2025 08:45:00 +0000
Head commit of repository gentoo: f22babfeece30eed93213b94d69c9f13127a70cb
sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p3) 2.43.1
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.30.6::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.6.1::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0-r1::gentoo
dev-lang/python:           3.11.11_p1::gentoo, 3.12.8_p1::gentoo, 3.13.1_p1::gentoo
dev-lang/rust-bin:         1.83.0-r1::gentoo
llvm-core/clang:           19.1.7::gentoo
llvm-core/lld:             19.1.7::gentoo
llvm-core/llvm:            19.1.7::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.55.1::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.43-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             14.2.1_p20241221::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r8::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE app-arch/unrar unRAR RAR fping xrick linux-fw-redistributable no-source-code JSON NVIDIA-r2 MPEG-4 google-chrome OPERA-2018 AnyDesk-TOS"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/spool/munin-async/.ssh"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="https://mirror.aarnet.edu.au/pub/gentoo/ http://mirror.aarnet.edu.au/pub/gentoo/ rsync://mirror.aarnet.edu.au/pub/gentoo/ ftp://ftp.swin.edu.au/gentoo http://ftp.swin.edu.au/gentoo"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j5"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities alsa amd64 apache2 avi berkdb bindist branding bzip2 cairo cdda cdr cet cgi clamav crypt cups daemon dbus declarative dhcpd dri dts dvd dvdr elogind encode exif ext2 ext4 fat fat32 flac gd gdbm gif gles2 gmp gpm grub gtk gui harfbuzz iconv icu id3tag intl ipv6 jack jpeg jpg kde kf6compat kwallet lcms ldap libass libnotify libtirpc mad mdnsresponder-compat mkv mng mp3 mp4 mpeg mtp multilib ncurses networkmanager nls ntfs ogg opengl openmp pam pango pcntl pcre pcre32 pdf pdo php pipewire plasma png policykit ppds pulseaudio qml qt5 qt6 readline realtek samba screencast sdl seccomp semantic-desktop sensord snmp sound spell sqlite ssh ssl startup-notification svg test-rust tidy tiff truetype udev udisks unicode upower usb uvm vmware vorbis vulkan wavpack wayland widgets wxwidgets x264 xattr xcb xft xml xmlrpc xmlwriter xv xvid zeroconf zlib" ABI_X86="64" ADA_TARGET="gcc_13" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="mouse keyboard libinput synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="nvidia nv" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS



Get same error
Code:
./../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libgio-2.0.so.0: undefined reference to `mnt_monitor_veil_kernel@MOUNT_2_40'
collect2: error: ld returned 1 exit status

_________________
Gentoo is Rocks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum