Hi Ryan,

On Sun, May 04, 2014 at 02:16:52PM -0700, Ryan Tandy wrote:
> Thanks for the patch!
> 
> Unfortunately, based on a test build with libkrb5-dev and
> heimdal-multidev installed, #705884 seems to be reintroduced.
> 
> The build log says:
> 
> libtool: relink: cc -shared  -fPIC -DPIC  .libs/smbk5pwd.o
> -L/home/rtandy/Packages/work/openldap/openldap/debian/tmp/usr/lib/x86_64-linux-gnu
> -L/usr/lib/x86_64-linux-gnu -lldap_r -llber
> -L/usr/lib/x86_64-linux-gnu/heimdal -lkadm5srv -lgcrypt  -O2 -Wl,-z
> -Wl,relro -Wl,-z -Wl,now   -pthread -Wl,-soname -Wl,smbk5pwd.so.0 -o
> .libs/smbk5pwd.so.0.0.0
> 
> I see /usr/lib/x86_64-linux-gnu ahead of
> /usr/lib/x86_64-linux-gnu/heimdal, and with libkrb5-dev installed I
> suppose -lkadm5srv is being picked up from the former location.
> 
> I'm totally new to libtool. Do you know of a way to resolve this?

Unfortunately my familiarity with libtool is also limited.

It seems like one way to work around this should be to change the
order of the libraries in the smb5pwd Makefile, i.e. this line:

LIBS = $(LDAP_LIB) $(HEIMDAL_LIB) $(SSL_LIB)

to

LIBS = $(HEIMDAL_LIB) $(LDAP_LIB) $(SSL_LIB)

Cheers,

Jelmer

Attachment: signature.asc
Description: Digital signature

Reply via email to