problem on static link to libsmbclient.a
Posted
by
Rex
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Rex
Published on 2013-11-12T04:01:50Z
Indexed on
2013/11/12
4:16 UTC
Read the original article
Hit count: 307
samba
I've tried to develop a library using libsmbclient-dev to access net share folders. I wish to static link libsmbclient.a in my project , but a lot of error happens when I tried to static link it, it seems that the libsmbclient.a doesn't include some objects it needed , while everything goes well with libsmbclient.so.
Because my project need to support various linux versions like centOS , Ubuntu ..., we wish not to install libsmbclient-dev everywhere. Can anybody tell me that if I can static link this libsmbclient.a in an easy way ? Or what kind of installation strategy should I take to cause less trouble to users?
If anyone have use this library to develop projects before , can you tell me how you deal with this case?
Thank you very much!!!
© Ask Ubuntu or respective owner