[Pkg-openldap-devel] Bug#745356: Bug#745356: Depend on heimdal-multidev rather than heimdal-dev

Jelmer Vernooij jelmer at debian.org
Tue May 6 02:31:44 UTC 2014


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-openldap-devel/attachments/20140506/ddc712e9/attachment.sig>


More information about the Pkg-openldap-devel mailing list