On Wednesday, Dec 11, 2002, at 17:52 Europe/Brussels, Aaron Magill wrote:

I am having problems compiling OpenLDAP under Jaguar -- it appears to be pulling symbols from the system libraries instead of fink ones (which I'm assuming are more up to date). Renaming /usr/local/lib and re-running the install doesn't seem to help.
Use the following diff :
(for running also on fink 0.11.1 and not only on fink-0.11.1.cvs, just
add "export LIBRARY_PATH=%p/lib ; export DYLD_ LIBRARY_PATH=%p/lib ; " before
the export statement in the CompileScript)

~# diff -Naur /sw/fink/cvs/update/dists/10.2/unstable/crypto/finkinfo/openldap-ssl- 2.0.23-5.info /sw/fink/10.2/unstable/crypto/finkinfo/openldap-ssl-2.0.23-5.info
--- /sw/fink/cvs/update/dists/10.2/unstable/crypto/finkinfo/openldap-ssl- 2.0.23-5.info 2002-11-24 16:31:08.000000000 +0100
+++ /sw/fink/10.2/unstable/crypto/finkinfo/openldap-ssl-2.0.23-5.info 2002-11-22 16:31:39.000000000 +0100
@@ -9,17 +9,19 @@
Provides: openldap
Conflicts: openldap
Replaces: openldap
+NoSetLDFLAGS: true
+SetLDFLAGS: -L%b/libraries/liblber/.libs -L%b/libraries/libldap/.libs -L%b/libraries/libldap_r/.libs
SetCFLAGS: -fno-common
+NoSetCPPFLAGS: true
SetCPPFLAGS: -I%p/include/db3 -I%p/include/cyrus-sasl -no-cpp-precomp
UpdateConfigGuessInDirs: build
ConfigureParams: --libexecdir=%p/sbin --mandir=%p/share/man --infodir=%p/share/info/%n --with-ldbm_api=berkeley --with-cyrus-sasl
+DocFiles: ANNOUNCEMENT COPYRIGHT LICENSE README CHANGES doc/drafts/draft*
CompileScript: <<
- (unset DYLD_LIBRARY_PATH; ./configure %c)
- (unset DYLD_LIBRARY_PATH; make)
+ ( export CPATH=%p/include ; ./configure %c ; make )
<<
-DocFiles: ANNOUNCEMENT COPYRIGHT LICENSE README CHANGES doc/drafts/draft*
InstallScript: <<
- (unset DYLD_LIBRARY_PATH; make install DESTDIR=%d)
+ make install DESTDIR=%d
<<
ConfFiles: <<
%p/etc/openldap/ldap.conf


> Should I contact the maintainer directly?

Patch was sent to maintainer and others a month ago.


JF Mertens



-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to