You are not logged in.
Hi everybody!
I am trying to chroot into CentOS from Arch and get this error
ERROR: ld.so: object '/usr/lib/libv4l/v4l2convert.so' from LD_PRELOAD cannot be preloaded: ignored.Here are the steps that lead to this output
[root@hp ~]# mount -t ext4 /dev/sdb1 /tmp/stella
[root@hp ~]# cd /tmp/stella
[root@hp stella]# mount -t proc proc proc/
[root@hp stella]# mount --rbind /sys sys/
[root@hp stella]# mount --rbind /dev dev/
[root@hp stella]# cp /etc/resolv.conf etc/resolv.conf
[root@hp stella]# chroot /tmp/stella
ERROR: ld.so: object '/usr/lib/libv4l/v4l2convert.so' from LD_PRELOAD cannot be preloaded: ignored.
Segmentation fault (core dumped)I checked with pactree
pactree libv4l
ERROR: ld.so: object '/usr/lib/libv4l/v4l2convert.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
v4l-utils provides libv4l
├─hicolor-icon-theme
├─gcc-libs
│ └─glibc provides glibc>=2.27
│ ├─linux-api-headers provides linux-api-headers>=4.10
│ ├─tzdata
│ └─filesystem
│ └─iana-etc
├─sysfsutils
│ └─glibc
└─libjpeg-turboThen reinstalled the v4l-utils
Qi v4l-utils
Name : v4l-utils
Version : 1.16.3-1
Description : Userspace tools and conversion library for Video 4 Linux
Architecture : x86_64
URL : https://linuxtv.org/
Licenses : LGPL
Groups : None
Provides : libv4l=1.16.3
Depends On : hicolor-icon-theme gcc-libs sysfsutils libjpeg-turbo
Optional Deps : qt5-base [installed]
alsa-lib [installed]
Required By : ffmpeg gst-plugins-good gstreamer0.10-good-plugins
Optional For : None
Conflicts With : libv4l
Replaces : libv4l
Installed Size : 4.16 MiB
Packager : Anatol Pomozov <anatol.pomozov@gmail.com>
Build Date : Tue 18 Dec 2018 12:24:48 AM EET
Install Date : Thu 14 Mar 2019 06:33:19 PM EET
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature
08:05:58 /usr/lib/libv4l $ S v4l-utils
warning: v4l-utils-1.16.3-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) v4l-utils-1.16.3-1
Total Installed Size: 4.16 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [-------------------------------] 100%
(1/1) checking package integrity [-------------------------------] 100%
(1/1) loading package files [-------------------------------] 100%
(1/1) checking for file conflicts [-------------------------------] 100%
(1/1) checking available disk space [-------------------------------] 100%
warning: could not get file information for usr/lib/libv4l/v4l2convert.so
:: Processing package changes...
(1/1) reinstalling v4l-utils [-------------------------------] 100%
:: Running post-transaction hooks...
(1/4) Updating icon theme caches...
(2/4) Reloading device manager configuration...
(3/4) Arming ConditionNeedsUpdate...
(4/4) Updating the desktop file MIME type cache...Any help is appreciated!
Thank you!
Last edited by amaro (2019-03-25 18:22:27)
Offline
echo $LD_PRELOAD
file /usr/lib/libv4l/v4l2convert.so
stat /usr/lib/libv4l/v4l2convert.soNo idea why it would be preloaded, but that usually doesn't cause segfaults, try "chroot -s" and ensure that you're not trying to chroot into different architecuture (32bit centos)
Online
Reinstalling CentOS solved it.
Thank you, seth!
Offline