[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] libvirt library binary name for linux



?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 devatom fr>
Sent: Tuesday, October 19, 2010 2:25 PM
To: "Eric Blake" <eblake redhat com>; "Justin Clift" <jclift redhat com>
Cc: <libvir-list 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 redhat com>
Sent: Tuesday, October 19, 2010 2:15 PM
To: "Justin Clift" <jclift redhat com>
Cc: <libvir-list 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 redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

--
libvir-list mailing list
libvir-list redhat com
https://www.redhat.com/mailman/listinfo/libvir-list


--
libvir-list mailing list
libvir-list redhat com
https://www.redhat.com/mailman/listinfo/libvir-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]