error in building rpm of open ldap from source using rpm package manager
I am trying to build rpm through source of Openldap_2.4.30 version but getting below build error:
/bin/sh ../../libtool --mode=install ../../build/shtool install -c -m 644 libldap.la /usr/local/openldap-2.4.31-root/usr/lib
libtool: install: error: cannot install 'libldap.la' to a directory not ending in usr/local/lib
I have searched a lot on google to find the solution of this problem. Most of the articles say to run make clean after configure. But it did not work.
Some threads say that this is a known bug in libldap library and it is unresolved. But in previous versions it is running.
Please provide your valuable suggestions. Is it a known bug? If yes, how can I avoid this problem?
Help us in helping you ...
What distro are you on?
Which rpm build are you using? I find it odd that it would complain about /usr/local, as
that's NOT the default path for any rpm based distro I know of.
P.S.: What happened to your abandoned thread that's marked as solved?
distro is Red Hat Linux Server release 5.3 (Tikanga)
rpm build: RPM version 220.127.116.11
About Abandoned Thread: By using debugging options I have traced the problem.
|All times are GMT -5. The time now is 11:28 AM.|