From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:46246) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3nXm-0002JL-01 for qemu-devel@nongnu.org; Sat, 03 Mar 2012 06:54:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S3nXj-0001rJ-LZ for qemu-devel@nongnu.org; Sat, 03 Mar 2012 06:54:33 -0500 Received: from isrv.corpit.ru ([86.62.121.231]:60863) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3nXj-0001pi-E3 for qemu-devel@nongnu.org; Sat, 03 Mar 2012 06:54:31 -0500 Message-ID: <4F52066B.4040206@msgid.tls.msk.ru> Date: Sat, 03 Mar 2012 15:54:19 +0400 From: Michael Tokarev MIME-Version: 1.0 References: <20120213132417.GG32182@redhat.com> <4F51FD52.6080407@suse.de> In-Reply-To: <4F51FD52.6080407@suse.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] QEMU desired libiscsi.so clashes with libiscsi.so from iscsi-initiator-utils List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?ISO-8859-1?Q?Andreas_F=E4rber?= Cc: qemu-devel@nongnu.org, ronnie sahlberg , Hannes Reinecke On 03.03.2012 15:15, Andreas F=E4rber wrote: > Am 03.03.2012 07:43, schrieb ronnie sahlberg: >> Yes, >> >> Very unfortuante since libiscsi is such a nice name for a >> multiplatform library what even works on win32 :-( >> >> I have so renamed it to libiscsiclient and sent a patch to qemu to >> this list to use -liscsiclient instead of -liscsi >=20 > Mind letting us know which library exactly this clashes with (URL)? > According to Hannes there was no clash on openSUSE (which I would call = a > standard Linux distro as well), so it sounded like a Fedora-specific > packaging problem to him. It looks like iscsi-initiator-utils package in fedora is built using shared libiscsi which appears to be package-specific, e.g. http://www.rpmseek.com/rpm/iscsi-initiator-utils-6.2.0.870-13.fc13.x86_64= .html?hl=3Dcom&cx=3D0:-:0:8107228:0:0:0: Files: /sbin/iscsi-iname /sbin/iscsiadm /sbin/iscsid /sbin/iscsistart /usr/lib64/libiscsi.so.0 ... I'd rename _that_ library to be libiscsi-initiator-utils.so, to reflect the name of the package in question, since it - again - _appears_ to be package-specific. Thanks, /mjt >> tarballs can be found at >> https://github.com/sahlberg/libiscsi/downloads >> >> >> That resolves all issues you are concerned about ? >> >> >> regards >> ronnie sahlberg >> >> On Tue, Feb 14, 2012 at 12:24 AM, Daniel P. Berrange >> wrote: >>> I was investigating how to build latest QEMU with the iSCSI block dri= ver >>> enabled. I saw that configure wanted a libiscsi.so, so I installed th= at >>> library from Fedora RPMs via the iscsi-initiator-utils package, but i= t >>> still wouldn't build. >>> >>> After further investigation, I find that QEMU in fact wants a complet= ely >>> different, unlreated libiscsi.so library: >>> >>> https://github.com/sahlberg/libiscsi >>> >>> Obviously we have a problem here because we can't have two different >>> libraries called libiscsi.so installed at the same time. >>> >>> Since iscsi-initiator-utils is a standard Linux distro package whose = usage >>> of libiscsi.so predates this github project, it seems that to resolve= this >>> it will be neccessary to rename the latter. eg perhaps libiscsi-clien= t.so ? >>> >>> The followup question is where to find actual libiscsi releases to pa= ckage >>> up for OS distros ? It is not very desirable to just package GIT snap= shots. >>> >>> Regards, >>> Daniel >>> -- >>> |: http://berrange.com -o- http://www.flickr.com/photos/dberr= ange/ :| >>> |: http://libvirt.org -o- http://virt-manage= r.org :| >>> |: http://autobuild.org -o- http://search.cpan.org/~dan= berr/ :| >>> |: http://entangle-photo.org -o- http://live.gnome.org/gt= k-vnc :| >=20