Winbindd not running on Android

Anoop Singh anoop.singh at celstream.com
Mon Sep 14 12:05:35 UTC 2015


Hi Members,

I cross compiled samba for ARM successfully but while running "winbindd" I find this error on my Android device:



soinfo_link_image(linker.cpp:1641): could not load library  "libidmap.so" needed by "winbindd"; caused by  soinfo_relocate(linker.cpp:981): cannot locate symbol  "find_domain_from_name" referenced by libidmap.so"...CANNOT LINK  EXECUTABLE


Is this a linking problem or something else? I read  GNU linker, the -E option tells it to export all symbols but in case of android build I am not able to figure out what it is looking for. Here is the part of Android.cfg file used by me.



export SHLIB_LDFLAGS:= \

        -nostdlib -fstack-protector -Wl,--export-dynamic -Wl,--as-needed -shared



export PROGRAM_LDFLAGS:= \

        -nostdlib -Bdynamic -fPIE -pie -Wl,-dynamic-linker,/system/bin/linker -Wl,--gc-sections -Wl,-z,nocopyreloc \

        -L$(ROOTDIR)/$(PRODUCT_OUT)/obj/lib



export PROGRAM_LIBS:= \

        -lpython2.7 -lc -lm -ldl -lncurses -lz -lcorkscrew



Could anybody please suggest any possible solution?



Thanks & regards,

Anoop.


-----------------------------------------------------------------------------------------------------------------------------
DISCLAIMER: This electronic message and any attachments to this electronic message is intended for the exclusive use of the addressee(s) named herein and may contain legally privileged and confidential information. It is the property of Celstream Technologies Private Limited. If you are not the intended recipient, you are hereby strictly notified not to copy, forward, distribute or use this message or any attachments thereto. If you have received this message in error, please delete it and all copies thereof, from your system and notify the sender at Celstream Technologies or administrator at celstream.com immediately.
-----------------------------------------------------------------------------------------------------------------------------


More information about the samba-technical mailing list