[libvirt] libvirt library binary name for linux

arnaud.champion at devatom.fr arnaud.champion at devatom.fr
Tue Oct 19 12:31:59 UTC 2010


?Okay, I have found it, I must use "libc.so.6" and the function name is 
strdup not _strdup...

So, it push to an other questions :

Is libc.so.6 present on any linux distro ? (I use a fedora 13 here)


Arnaud
--------------------------------------------------
From: <arnaud.champion at devatom.fr>
Sent: Tuesday, October 19, 2010 2:25 PM
To: "Eric Blake" <eblake at redhat.com>; "Justin Clift" <jclift at redhat.com>
Cc: <libvir-list at redhat.com>
Subject: Re: [libvirt] libvirt library binary name for linux

> ?I have tried libc.so and it doesn't contains _strdup, amybe it's strdup 
> instead I will try. Anyway I have a little question (a windowsian question 
> :) ). Under windows I have a tool named "depends.exe" with it, I can sse 
> what is exposed thru a dll, is there any equivalent under linux ?
>
> Arnaud
>
> --------------------------------------------------
> From: "Eric Blake" <eblake at redhat.com>
> Sent: Tuesday, October 19, 2010 2:15 PM
> To: "Justin Clift" <jclift at redhat.com>
> Cc: <libvir-list at redhat.com>
> Subject: Re: [libvirt] libvirt library binary name for linux
>
>> On 10/19/2010 06:07 AM, Justin Clift wrote:
>>> I'm not sure which library file the code is in though. For most
>>> things it's not needed.
>>
>> glibc (that is, libc.so, which is pretty much universally linked in to 
>> every other program already).  You don't need to add -lc to your compiler 
>> line, at any rate.
>>
>> -- 
>> Eric Blake   eblake at redhat.com    +1-801-349-2682
>> Libvirt virtualization library http://libvirt.org
>>
>> --
>> libvir-list mailing list
>> libvir-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/libvir-list
>>
>
> --
> libvir-list mailing list
> libvir-list at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list 





More information about the libvir-list mailing list