Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Dec 2015 11:41:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 204964] emulators/open-vm-tools-nox11: linker error: missing libelf.so.2
Message-ID:  <bug-204964-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204964

            Bug ID: 204964
           Summary: emulators/open-vm-tools-nox11: linker error: missing
                    libelf.so.2
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: swills@FreeBSD.org
          Reporter: tps@vr-web.de
             Flags: maintainer-feedback?(swills@FreeBSD.org)
          Assignee: swills@FreeBSD.org

libtool: link: c++ -O2 -pipe -fno-strict-aliasing -o .libs/vmware-hgfsclient
vmware_hgfsclient-hgfsclient.o  ../lib/hgfsBd/.libs/libHgfsBd.a
-L/usr/local/lib
/usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-9.4.0-1280544/libhgfs/.libs/libhgfs.so
/usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-9.4.0-1280544/libvmtools/.libs/libvmtools.so
-lgthread-2.0 -lkvm -lcrypt -lthr -lglib-2.0 -lintl -licui18n -licuuc -licudata
-pthread -Wl,-rpath -Wl,/usr/local/lib
/usr/bin/ld: warning: libelf.so.2, needed by /usr/lib/libkvm.so, not found (try
using -rpath or -rpath-link)
/usr/lib/libkvm.so: undefined reference to `elf_version@R1.0'
/usr/lib/libkvm.so: undefined reference to `elf_errmsg@R1.0'
/usr/lib/libkvm.so: undefined reference to `elf_getphdrnum@R1.0'
/usr/lib/libkvm.so: undefined reference to `gelf_getphdr@R1.0'
/usr/lib/libkvm.so: undefined reference to `elf_begin@R1.0'
/usr/lib/libkvm.so: undefined reference to `elf_end@R1.0'
/usr/lib/libkvm.so: undefined reference to `gelf_getehdr@R1.0'
/usr/lib/libkvm.so: undefined reference to `gelf_getclass@R1.0'
/usr/lib/libkvm.so: undefined reference to `elf_kind@R1.0'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
*** [vmware-hgfsclient] Error code 1

make[3]: stopped in
/usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-9.4.0-1280544/hgfsclient
1 error

make[3]: stopped in
/usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-9.4.0-1280544/hgfsclient
*** [all-recursive] Error code 1

make[2]: stopped in
/usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-9.4.0-1280544
1 error

make[2]: stopped in
/usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-9.4.0-1280544
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/emulators/open-vm-tools-nox11
*** Error code 1

Stop.
make: stopped in /usr/ports/emulators/open-vm-tools-nox11


Various parts of the system reference libelf.so.2 which is missing after
upgrading base system. It seems it is not installed by
# cd /usr/src; make buildworld
# cd /usr/src; make installworld

I could find libelf.so.2 in the build tree, but not installed.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204964-13>