[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: make install makes bad binaries

What does it print before "Killed"? I can't think of how to coerce that, and only that, out of a binary. It is a binary, right? (elfdump and/or file?)

My guess would be that something in your build environment changed. The fact that your binaries are in /usr/local without setting an RPATH is pretty suspect, for one thing -- I'd assume you put your libs in /usr/local/lib.

If it's really not printing anything other than "Killed," you'll need another tool to get observability. ldd comes to mind as a first step.

On Mon, 28 Apr 2008, Pieter Donche wrote:

I want to update my OpenLDAP to 2.3.39 on my Sun Solaris 10
last year I installed OpenLDAP 2.3.32 without problem.
All software requirements as specified in the README file are met

(default prefix /usr/local used)
# ./configure
# make
# make depend
# make
# make test
# make install
all succeed

but $ /usr/local/bin/ldapsearch
on the other hand, if I use the ldapsearch binary from my
openldap-2.3.39 build directory:
# ./clients/tools/ldapsearch
succeeds and I can perform a search on my LDAP database returning the
correct results..

I noticed a big difference in size between:
-rwxr-xr-x  1 root  root    457772 Apr 28 09:02 ./clients/tools/ldapsearch
-rwxr-xr-x  1 root  root   1023664 Apr 28 09:27 /usr/local/bin/ldapsearch

All the clients tools have that same size difference between the compiled
versions in ./openldap-2.3.39/clients/tools/ldap* and the ones in

I also noted (from my notes of last year), that the installed versions
of the 2.3.32 did not have such size differences...

What changed in make install between 2.3.32 and 2.3.39 and how to fix this?