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

make install makes bad binaries



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
answers:
Killed
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
and
-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
/usr/local/bin/ldap*

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?