Richard W.M. Jones
2017-Aug-30 09:37 UTC
Re: [Libguestfs] libguestfs binaries missing when built from source code
On Wed, Aug 30, 2017 at 01:50:25AM +0000, emlyn.jose@wipro.com wrote:> Hi,> We installed it from the source code.Most likely you've run ‘make install’ at some point and now have multiple copies installed all over the place, which is why binaries and libraries are linked to the wrong versions. I suggest started from scratch (reinstalling your operating system), and NOT running ’make install’ at any point. You can use the ‘./run’ script to run things from the build directory. More on this topic here: http://libguestfs.org/guestfs-building.1.html#installing Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top
emlyn.jose at wipro.com
2017-Sep-01 04:38 UTC
[Libguestfs] libguestfs binaries missing when built from source code
Hi, Any update on how to use ./run? Regards, Emlyn Jose _____________________________________________ From: Emlyn Jose (GIS) Sent: 31 August 2017 14:53 To: 'Richard W.M. Jones' <rjones at redhat.com> Cc: libguestfs at redhat.com Subject: RE: [Libguestfs] libguestfs binaries missing when built from source code Hi, I tried the same, this is what I get: + cd ../libguestfs-1.30.3 + ./run run: warning: You used './configure --disable-appliance' so LIBGUESTFS_PATH run: warning: has not been set automatically. 0 seconds: The path exported is: export LIBGUESTFS_PATH=PREFIX/lib/guestfs/appliance:$LIBGUESTFS_PATH The libguestfs directory is as below: $ ls SOURCES/libguestfs-1.30.3 aclocal.m4 configure.ac gnulib Makefile.in sparsify align contrib GNUmakefile make-fs src appliance COPYING gobject mllib subdir-rules.mk AUTHORS COPYING.LIB golang ocaml sysprep autogen.sh csharp guestfs-release-notes.pod ocaml-link.sh tests bash customize guestfs-release-notes.txt p2v test-tool bindtests daemon HACKING perl tmp bootstrap df haskell php TODO BUGS dib html pick-guests.pl.in tools bugs-in-changelog.sh diff inspector po update-bugs.sh build-aux edit installcheck.sh.in po-docs v2v builder erlang java podwrapper.pl.in valgrind-suppressions cat examples libtool-kill-dependency_libs.sh python zanata-pull.sh cfg.mk fish logo README zanata.xml ChangeLog format lua rescue common-rules.mk fuse m4 resize config.h.in generator maint.mk ruby configure get-kernel Makefile.am run.in Regards, Emlyn Jose -----Original Message----- From: Richard W.M. Jones [mailto:rjones at redhat.com] Sent: 30 August 2017 15:08 To: Emlyn Jose (GIS) <emlyn.jose at wipro.com<mailto:emlyn.jose at wipro.com>> Cc: libguestfs at redhat.com<mailto:libguestfs at redhat.com> Subject: Re: [Libguestfs] libguestfs binaries missing when built from source code ** This mail has been sent from an external source ** On Wed, Aug 30, 2017 at 01:50:25AM +0000, emlyn.jose at wipro.com<mailto:emlyn.jose at wipro.com> wrote:> Hi,> We installed it from the source code.Most likely you've run ?make install? at some point and now have multiple copies installed all over the place, which is why binaries and libraries are linked to the wrong versions. I suggest started from scratch (reinstalling your operating system), and NOT running ?make install? at any point. You can use the ?./run? script to run things from the build directory. More on this topic here: https://clicktime.symantec.com/a/1/vwqEr7bxcPHmwBDM16aP25qf40cd13cGH0FmSmbXC2g=?d=ruYh4EExewHVioHwe6IIiYFqpwaO4SyZSlUnGDYMSR_xhDZBRH9HA4DJqux87WrdVbR8gc8WtS0i5G0fq0rUa_bb__gCkEgHFBQrT1Q83ViQBSX81uuS5mBHSPsHkMZ5NvwwVvK7yls2WPX1yV_0KAyTX9RHBh2WYVT1qmZbagxMctyrqbwJo7Jne5Bhus-C9uIzTW0cynaxTUPRJ_YpWpITDzpagmgRAU8-vC3giXs10PcbUjdtkHNN03UU1_HmKPHV7TjKP2QsYClWOt-5grR_EosLRM-lig7d2ZYrQeStYADzmFeRHLmrRl83a8hC8Z74zq-we4rzHAo8jCw0l2RA-8kVdRT9fMtwRczHdccCEOBiDpMCYb8pjsqVQZYOOh2Jx1867gOnsWyRA3nV-SM%3D&u=http%3A%2F%2Flibguestfs.org%2Fguestfs-building.1.html%23installing Rich. -- Richard Jones, Virtualization Group, Red Hat https://clicktime.symantec.com/a/1/f3mX78Uu4DllQfa2dj2CU2RA1xb4Fx0Nfg9JxzsIP-g=?d=ruYh4EExewHVioHwe6IIiYFqpwaO4SyZSlUnGDYMSR_xhDZBRH9HA4DJqux87WrdVbR8gc8WtS0i5G0fq0rUa_bb__gCkEgHFBQrT1Q83ViQBSX81uuS5mBHSPsHkMZ5NvwwVvK7yls2WPX1yV_0KAyTX9RHBh2WYVT1qmZbagxMctyrqbwJo7Jne5Bhus-C9uIzTW0cynaxTUPRJ_YpWpITDzpagmgRAU8-vC3giXs10PcbUjdtkHNN03UU1_HmKPHV7TjKP2QsYClWOt-5grR_EosLRM-lig7d2ZYrQeStYADzmFeRHLmrRl83a8hC8Z74zq-we4rzHAo8jCw0l2RA-8kVdRT9fMtwRczHdccCEOBiDpMCYb8pjsqVQZYOOh2Jx1867gOnsWyRA3nV-SM%3D&u=http%3A%2F%2Fpeople.redhat.com%2F~rjones Read my programming and virtualization blog: https://clicktime.symantec.com/a/1/dg7Nj9tCLQmtTWNcUF5IiNSwzFogbO7aiKiH_VElzmI=?d=ruYh4EExewHVioHwe6IIiYFqpwaO4SyZSlUnGDYMSR_xhDZBRH9HA4DJqux87WrdVbR8gc8WtS0i5G0fq0rUa_bb__gCkEgHFBQrT1Q83ViQBSX81uuS5mBHSPsHkMZ5NvwwVvK7yls2WPX1yV_0KAyTX9RHBh2WYVT1qmZbagxMctyrqbwJo7Jne5Bhus-C9uIzTW0cynaxTUPRJ_YpWpITDzpagmgRAU8-vC3giXs10PcbUjdtkHNN03UU1_HmKPHV7TjKP2QsYClWOt-5grR_EosLRM-lig7d2ZYrQeStYADzmFeRHLmrRl83a8hC8Z74zq-we4rzHAo8jCw0l2RA-8kVdRT9fMtwRczHdccCEOBiDpMCYb8pjsqVQZYOOh2Jx1867gOnsWyRA3nV-SM%3D&u=http%3A%2F%2Frwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. https://clicktime.symantec.com/a/1/FtsAxPfjhYj9JFgwBYVQaAtSsvhdluIFWtgP-54RY0g=?d=ruYh4EExewHVioHwe6IIiYFqpwaO4SyZSlUnGDYMSR_xhDZBRH9HA4DJqux87WrdVbR8gc8WtS0i5G0fq0rUa_bb__gCkEgHFBQrT1Q83ViQBSX81uuS5mBHSPsHkMZ5NvwwVvK7yls2WPX1yV_0KAyTX9RHBh2WYVT1qmZbagxMctyrqbwJo7Jne5Bhus-C9uIzTW0cynaxTUPRJ_YpWpITDzpagmgRAU8-vC3giXs10PcbUjdtkHNN03UU1_HmKPHV7TjKP2QsYClWOt-5grR_EosLRM-lig7d2ZYrQeStYADzmFeRHLmrRl83a8hC8Z74zq-we4rzHAo8jCw0l2RA-8kVdRT9fMtwRczHdccCEOBiDpMCYb8pjsqVQZYOOh2Jx1867gOnsWyRA3nV-SM%3D&u=http%3A%2F%2Fpeople.redhat.com%2F~rjones%2Fvirt-top ______________________________________________________________________ This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com ______________________________________________________________________ The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libguestfs/attachments/20170901/24cb91d6/attachment.htm>