LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 01-22-2016, 02:11 AM   #1
anak_bawang
Member
 
Registered: Jun 2015
Location: Bandung Indonesia
Distribution: Debian, LFS/BLFS
Posts: 138

Rep: Reputation: 23
open-vm-tools-stable-10.0.5 install problem


Hi everyone.

I've build LFS & BLFS on VMWare.
Some problem while building Open VM Tools.

LFS version : 7.7-systemd
BLFS version : svn 2015-08-05 systemd edition
Open VM Tools version 10.0.5

Code:
tar -xf open-vm-tools-stable-10.0.5.tar.gz
cd open-vm-tools-stable-10.0.5
cd open-vm-tools
autoreconf -fi

./configure --prefix=/usr --disable-static --without-xmlsecurity --without-xerces --disable-vgauth --without-kernel-modules

make

sudo make install
Output problem while running install
Code:
Making install in libhgfs
make[1]: Entering directory '/sources/open-vm-tools-stable-10.0.5/open-vm-tools/libhgfs'
make[2]: Entering directory '/sources/open-vm-tools-stable-10.0.5/open-vm-tools/libhgfs'
 /bin/mkdir -p '/usr/lib'
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   libhgfs.la '/usr/lib'
libtool: warning: relinking 'libhgfs.la'
libtool: install: (cd /sources/open-vm-tools-stable-10.0.5/open-vm-tools/libhgfs; /bin/sh "/sources/open-vm-tools-stable-10.0.5/open-vm-tools/libtool"  --tag CC --mode=relink gcc -g -O2 -Wall -Werror -Wno-pointer-sign -Wno-unused-value -fno-strict-aliasing -Wno-unknown-pragmas -Wno-uninitialized -Wno-deprecated-declarations -Wno-unused-but-set-variable -Wl,-z,defs -Wl,-lc -L/usr/lib -o libhgfs.la -rpath /usr/lib libhgfs_la-hgfslib.lo ../lib/hgfs/libHgfs.la ../lib/hgfsHelper/libHgfsHelper.la ../lib/hgfsServer/libHgfsServer.la ../lib/hgfsUri/libHgfsUri.la ../lib/hgfsServerManagerGuest/libHgfsServerManagerGuest.la ../lib/hgfsServerPolicyGuest/libHgfsServerPolicyGuest.la -lglib-2.0 -lgthread-2.0 -pthread -lglib-2.0 /sources/open-vm-tools-stable-10.0.5/open-vm-tools/libvmtools/libvmtools.la -lglib-2.0 )
libtool: relink: gcc -shared  -fPIC -DPIC  .libs/libhgfs_la-hgfslib.o  -Wl,--whole-archive ../lib/hgfs/.libs/libHgfs.a ../lib/hgfsHelper/.libs/libHgfsHelper.a ../lib/hgfsServer/.libs/libHgfsServer.a ../lib/hgfsUri/.libs/libHgfsUri.a ../lib/hgfsServerManagerGuest/.libs/libHgfsServerManagerGuest.a ../lib/hgfsServerPolicyGuest/.libs/libHgfsServerPolicyGuest.a -Wl,--no-whole-archive  -L/usr/lib -lgthread-2.0 -lvmtools -ldnet -ldl -lrt -lcrypt -licui18n -licuuc -licudata -lssl -lcrypto -lglib-2.0 -lpcre -lpthread  -g -O2 -Wl,-z -Wl,defs -Wl,-lc -pthread   -pthread -Wl,-soname -Wl,libhgfs.so.0 -o .libs/libhgfs.so.0.0.0
/usr/bin/ld: cannot find -ldnet
collect2: error: ld returned 1 exit status
libtool:   error: error: relink 'libhgfs.la' with the above command before installing it
Makefile:473: recipe for target 'install-libLTLIBRARIES' failed
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory '/sources/open-vm-tools-stable-10.0.5/open-vm-tools/libhgfs'
Makefile:647: recipe for target 'install-am' failed
make[1]: *** [install-am] Error 2
make[1]: Leaving directory '/sources/open-vm-tools-stable-10.0.5/open-vm-tools/libhgfs'
Makefile:506: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
Please help.
 
Old 01-22-2016, 03:41 AM   #2
huffdad
Member
 
Registered: Jan 2006
Location: Missouri
Distribution: Slackware & LFS
Posts: 31

Rep: Reputation: 6
I have not personally encountered this error, but maybe this LFS support thread applies to your situation, or maybe use it as a starting point for investigation.

http://lists.linuxfromscratch.org/pi...er/011778.html
 
Old 01-22-2016, 03:13 PM   #3
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 3,137

Rep: Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855
Quote:
Originally Posted by anak_bawang View Post
Hi everyone.

I've build LFS & BLFS on VMWare.
Some problem while building Open VM Tools.

LFS version : 7.7-systemd
BLFS version : svn 2015-08-05 systemd edition
Open VM Tools version 10.0.5

Code:
tar -xf open-vm-tools-stable-10.0.5.tar.gz
cd open-vm-tools-stable-10.0.5
cd open-vm-tools
autoreconf -fi

./configure --prefix=/usr --disable-static --without-xmlsecurity --without-xerces --disable-vgauth --without-kernel-modules

make

sudo make install
Output problem while running install
Code:
Making install in libhgfs
make[1]: Entering directory '/sources/open-vm-tools-stable-10.0.5/open-vm-tools/libhgfs'
make[2]: Entering directory '/sources/open-vm-tools-stable-10.0.5/open-vm-tools/libhgfs'
 /bin/mkdir -p '/usr/lib'
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   libhgfs.la '/usr/lib'
libtool: warning: relinking 'libhgfs.la'
libtool: install: (cd /sources/open-vm-tools-stable-10.0.5/open-vm-tools/libhgfs; /bin/sh "/sources/open-vm-tools-stable-10.0.5/open-vm-tools/libtool"  --tag CC --mode=relink gcc -g -O2 -Wall -Werror -Wno-pointer-sign -Wno-unused-value -fno-strict-aliasing -Wno-unknown-pragmas -Wno-uninitialized -Wno-deprecated-declarations -Wno-unused-but-set-variable -Wl,-z,defs -Wl,-lc -L/usr/lib -o libhgfs.la -rpath /usr/lib libhgfs_la-hgfslib.lo ../lib/hgfs/libHgfs.la ../lib/hgfsHelper/libHgfsHelper.la ../lib/hgfsServer/libHgfsServer.la ../lib/hgfsUri/libHgfsUri.la ../lib/hgfsServerManagerGuest/libHgfsServerManagerGuest.la ../lib/hgfsServerPolicyGuest/libHgfsServerPolicyGuest.la -lglib-2.0 -lgthread-2.0 -pthread -lglib-2.0 /sources/open-vm-tools-stable-10.0.5/open-vm-tools/libvmtools/libvmtools.la -lglib-2.0 )
libtool: relink: gcc -shared  -fPIC -DPIC  .libs/libhgfs_la-hgfslib.o  -Wl,--whole-archive ../lib/hgfs/.libs/libHgfs.a ../lib/hgfsHelper/.libs/libHgfsHelper.a ../lib/hgfsServer/.libs/libHgfsServer.a ../lib/hgfsUri/.libs/libHgfsUri.a ../lib/hgfsServerManagerGuest/.libs/libHgfsServerManagerGuest.a ../lib/hgfsServerPolicyGuest/.libs/libHgfsServerPolicyGuest.a -Wl,--no-whole-archive  -L/usr/lib -lgthread-2.0 -lvmtools -ldnet -ldl -lrt -lcrypt -licui18n -licuuc -licudata -lssl -lcrypto -lglib-2.0 -lpcre -lpthread  -g -O2 -Wl,-z -Wl,defs -Wl,-lc -pthread   -pthread -Wl,-soname -Wl,libhgfs.so.0 -o .libs/libhgfs.so.0.0.0
/usr/bin/ld: cannot find -ldnet
collect2: error: ld returned 1 exit status
libtool:   error: error: relink 'libhgfs.la' with the above command before installing it
Makefile:473: recipe for target 'install-libLTLIBRARIES' failed
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory '/sources/open-vm-tools-stable-10.0.5/open-vm-tools/libhgfs'
Makefile:647: recipe for target 'install-am' failed
make[1]: *** [install-am] Error 2
make[1]: Leaving directory '/sources/open-vm-tools-stable-10.0.5/open-vm-tools/libhgfs'
Makefile:506: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
Please help.
MAke sure this library is instaled and available.
 
Old 01-24-2016, 08:59 PM   #4
anak_bawang
Member
 
Registered: Jun 2015
Location: Bandung Indonesia
Distribution: Debian, LFS/BLFS
Posts: 138

Original Poster
Rep: Reputation: 23
I do have libdnet.

When I checked libdnet installation files, there is no *.so files.

libdnet -> libdnet.1.0.1
libdnet.1 -> libdnet.1.0.1
libdnet.1.0.1

so, I created symbolic link

libdnet.so -> libdnet.1.0.1

and solved the problem.

Thanks for you all.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VMWare Tools or open-vm-tools for Slackware64-14.1 ? chicken76 Slackware 1 09-29-2015 06:57 PM
LXer: Install open-vm-tools on Debian 4.0 (Etch) LXer Syndicated Linux News 0 09-29-2008 10:40 AM
Install vmware tools on Ubuntu 7.10 guest problem optimizer Ubuntu 7 02-25-2008 03:25 AM
install new kernel problem with initramfs-tools arsham Linux - General 1 10-04-2006 02:53 PM
squid STABLE 4 install problem t8024328 Linux - Software 0 02-04-2004 04:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 01:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration