Date: Sun, 28 Apr 2019 09:55:16 -0700 From: Paul Beard <paulbeard@gmail.com> To: pkg@freebsd.org Subject: Still wrestling with pkg issues Message-ID: <ED5C48AA-F87D-4011-9FAC-F29CCF269C18@gmail.com>
next in thread | raw e-mail | index | archive | help
Seems like half this system is messed up but I can=E2=80=99t figure out = which half. It all seems to come down to pkg and issues with linking in = libraries. This is a new GENERIC install from this morning.=20 linking shared-library libruby24.so.24 --- ruby24 --- linking ruby24 ./libruby24.so: undefined reference to `_sem_timedwait' ./libruby24.so: undefined reference to `_sem_getvalue' ./libruby24.so: undefined reference to `_sem_destroy' ./libruby24.so: undefined reference to `_sem_wait' ./libruby24.so: undefined reference to `_sem_init' ./libruby24.so: undefined reference to `_sem_post' ./libruby24.so: undefined reference to `_sem_trywait' cc: error: linker command failed with exit code 1 (use -v to see = invocation) *** [ruby24] Error code 1 Can=E2=80=99t build or install a pkg for this:=20 pkg install ruby24 Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. Checking integrity... done (0 conflicting) The following 1 package(s) will be affected (of 0 checked): New packages to be INSTALLED: ruby24: 2.4.6,1 Number of packages to be installed: 1 The process will require 40 MiB more space. Proceed with this action? [y/N]: y [1/1] Installing ruby24-2.4.6,1... [1/1] Extracting ruby24-2.4.6,1: 100% pkg: Fail to rename /usr/local/bin/.irb24.iECXVm9GpYfz -> = /usr/local/bin/irb24:Is a directory = /usr/ports/graphics/wayland/work/wayland-1.16.0/.libs/libwayland-client.so= : undefined reference to `_sem_timedwait' = /usr/ports/graphics/wayland/work/wayland-1.16.0/.libs/libwayland-client.so= : undefined reference to `_sem_getvalue' = /usr/ports/graphics/wayland/work/wayland-1.16.0/.libs/libwayland-client.so= : undefined reference to `_sem_destroy' = /usr/ports/graphics/wayland/work/wayland-1.16.0/.libs/libwayland-client.so= : undefined reference to `_sem_wait' = /usr/ports/graphics/wayland/work/wayland-1.16.0/.libs/libwayland-client.so= : undefined reference to `_sem_init' = /usr/ports/graphics/wayland/work/wayland-1.16.0/.libs/libwayland-client.so= : undefined reference to `_sem_post' = /usr/ports/graphics/wayland/work/wayland-1.16.0/.libs/libwayland-client.so= : undefined reference to `_sem_trywait' = /usr/ports/graphics/wayland/work/wayland-1.16.0/.libs/libwayland-client.so= : undefined reference to `_sem_timedwait' = /usr/ports/graphics/wayland/work/wayland-1.16.0/.libs/libwayland-client.so= : undefined reference to `_sem_getvalue' = /usr/ports/graphics/wayland/work/wayland-1.16.0/.libs/libwayland-client.so= : undefined reference to `_sem_destroy' = /usr/ports/graphics/wayland/work/wayland-1.16.0/.libs/libwayland-client.so= : undefined reference to `_sem_wait' = /usr/ports/graphics/wayland/work/wayland-1.16.0/.libs/libwayland-client.so= : undefined reference to `_sem_init' = /usr/ports/graphics/wayland/work/wayland-1.16.0/.libs/libwayland-client.so= : undefined reference to `_sem_post' = /usr/ports/graphics/wayland/work/wayland-1.16.0/.libs/libwayland-client.so= : undefined reference to `_sem_trywait' cc: error: linker command failed with exit code 1 (use -v to see = invocation) cc: error: linker command failed with exit code 1 (use -v to see = invocation) gmake[3]: *** [Makefile:1516: client-test] Error 1 gmake[3]: *** Waiting for unfinished jobs.... gmake[3]: *** [Makefile:1510: array-test] Error 1 gmake[3]: Leaving directory = '/usr/ports/graphics/wayland/work/wayland-1.16.0' gmake[2]: *** [Makefile:2031: all-recursive] Error 1 gmake[2]: Leaving directory = '/usr/ports/graphics/wayland/work/wayland-1.16.0' gmake[1]: *** [Makefile:1236: all] Error 2 gmake[1]: Leaving directory = '/usr/ports/graphics/wayland/work/wayland-1.16.0' =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the = failure to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/graphics/wayland Why does pkg keep reinstalling itself? [root@www /usr/ports/graphics/wayland]# pkg install wayland=20 Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. Updating database digests format: 100% Checking integrity... done (0 conflicting) The following 1 package(s) will be affected (of 0 checked): Installed packages to be REINSTALLED: pkg-1.10.5_5 (needed shared library changed) Number of packages to be reinstalled: 1 Proceed with this action? [y/N]: y [1/1] Reinstalling pkg-1.10.5_5... [1/1] Extracting pkg-1.10.5_5: 100% why can=E2=80=99t it find libraries that are there?=20 binutils is missing a required shared library: libc++.so.1 cmake is missing a required shared library: libc++.so.1 cmake is missing a required shared library: libform.so.5 cmake is missing a required shared library: libexecinfo.so.1 coreutils is missing a required shared library: librt.so.1 cups is missing a required shared library: libusb.so.3 cups is missing a required shared library: libdl.so.1 cups is missing a required shared library: libpam.so.6 cups is missing a required shared library: libc++.so.1 curl is missing a required shared library: libkrb5.so.11 curl is missing a required shared library: libgssapi_krb5.so.10 curl is missing a required shared library: libgssapi.so.10 cyrus-sasl is missing a required shared library: libdl.so.1 cyrus-sasl is missing a required shared library: libopie.so.8 dbus is missing a required shared library: libexecinfo.so.1 gmp is missing a required shared library: libc++.so.1 gnutls is missing a required shared library: libdl.so.1 gnutls is missing a required shared library: libc++.so.1 gobject-introspection is missing a required shared library: libdl.so.1 harfbuzz is missing a required shared library: libc++.so.1 libunwind is missing a required shared library: liblzma.so.5 libxml2 is missing a required shared library: liblzma.so.5 libxslt is missing a required shared library: liblzma.so.5 mysql56-client is missing a required shared library: libexecinfo.so.1 mysql56-client is missing a required shared library: libc++.so.1 pcre is missing a required shared library: libc++.so.1 php72 is missing a required shared library: liblzma.so.5 php72-dom is missing a required shared library: liblzma.so.5 php72-pdo_sqlite is missing a required shared library: librt.so.1 php72-simplexml is missing a required shared library: liblzma.so.5 php72-soap is missing a required shared library: liblzma.so.5 php72-xml is missing a required shared library: liblzma.so.5 php72-xmlreader is missing a required shared library: liblzma.so.5 php72-xmlrpc is missing a required shared library: liblzma.so.5 php72-xmlwriter is missing a required shared library: liblzma.so.5 protobuf is missing a required shared library: libc++.so.1 rrdtool is missing a required shared library: libwrap.so.6 subversion is missing a required shared library: libmagic.so.4 tiff is missing a required shared library: libc++.so.1 tiff is missing a required shared library: liblzma.so.5 Here they are:=20 /usr/lib/libc++.so.1: ELF 32-bit LSB shared object, Intel 80386, version = 1 (FreeBSD), dynamically linked, stripped /usr/lib/libdl.so.1: ELF 32-bit LSB shared object, Intel 80386, version = 1 (FreeBSD), dynamically linked, stripped /usr/lib/libexecinfo.so.1: ELF 32-bit LSB shared object, Intel 80386, = version 1 (FreeBSD), dynamically linked, stripped /usr/lib/libform.so.5: ELF 32-bit LSB shared object, Intel 80386, = version 1 (FreeBSD), dynamically linked, stripped /usr/lib/libgssapi.so.10: ELF 32-bit LSB shared object, Intel 80386, = version 1 (FreeBSD), dynamically linked, stripped /usr/lib/libgssapi_krb5.so.10: ELF 32-bit LSB shared object, Intel = 80386, version 1 (FreeBSD), dynamically linked, stripped /usr/lib/libkrb5.so.11: ELF 32-bit LSB shared object, Intel 80386, = version 1 (FreeBSD), dynamically linked, stripped /usr/lib/liblzma.so.5: ELF 32-bit LSB shared object, Intel 80386, = version 1 (FreeBSD), dynamically linked, stripped /usr/lib/libmagic.so.4: ELF 32-bit LSB shared object, Intel 80386, = version 1 (FreeBSD), dynamically linked, stripped /usr/lib/libopie.so.8: ELF 32-bit LSB shared object, Intel 80386, = version 1 (FreeBSD), dynamically linked, stripped /usr/lib/libpam.so.6: ELF 32-bit LSB shared object, Intel 80386, version = 1 (FreeBSD), dynamically linked, stripped /usr/lib/librt.so.1: ELF 32-bit LSB shared object, Intel 80386, version = 1 (FreeBSD), dynamically linked, stripped /usr/lib/libusb.so.3: ELF 32-bit LSB shared object, Intel 80386, version = 1 (FreeBSD), dynamically linked, stripped /usr/lib/libwrap.so.6: ELF 32-bit LSB shared object, Intel 80386, = version 1 (FreeBSD), dynamically linked, stripped
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ED5C48AA-F87D-4011-9FAC-F29CCF269C18>