Qmail-LDAP
[Top] [All Lists]

Re: Compilation problems in qmail-ldap

To: QMAIL-LDAP <qmail-ldap@qmail-ldap.org>
Subject: Re: Compilation problems in qmail-ldap
From: Claudio Jeker <jeker@n-r-g.com>
Date: Tue, 12 Dec 2006 17:07:07 +0100
Delivered-to: sp-com-lists@consult.net
Delivered-to: qmail-ldap-list@securepoint.com
Delivered-to: mailing list qmail-ldap@qmail-ldap.org
In-reply-to: <036f01c71e05$e5aa1ff0$0301120a@jfsecco.com.ar>
Mail-followup-to: Claudio Jeker <jeker@n-r-g.com>, QMAIL-LDAP <qmail-ldap@qmail-ldap.org>
Mailing-list: contact qmail-ldap-help@qmail-ldap.org; run by ezmlm
References: <018901c71de3$1c05eac0$0301120a@jfsecco.com.ar> <20061212120826.GC10181@diehard.n-r-g.com> <036f01c71e05$e5aa1ff0$0301120a@jfsecco.com.ar>
User-agent: Mutt/1.5.12-2006-07-14
On Tue, Dec 12, 2006 at 12:55:05PM -0300, Leandro wrote:
> It didn´t work.
> I think perhaps I´ve made a mistake.
> 
> Is this correct ?
> 
> # cat conf-ld
> ld -s
> 
> # cat conf-ld.OLD
> cc -s
> 

Normaly cc -s is better as cc is smarter with linker options.

> 
> # cat Makefile
> ...
> LDAPLIBS=-L/usr/local/lib -lldap -llber
> LDAPINCLUDES=-I/usr/local/include
> ...
> 
> Which is correct?
> LDAPLIBS=-L/usr/local/lib -lldap -llber
> LDAPLIBS=-L/usr/local/lib -lldap -llber -rpath/usr/local/lib
> LDAPLIBS=-L/usr/local/lib -lldap -llber -rpath /usr/local/lib
> LDAPLIBS=-L/usr/local/lib -lldap -llber -R/usr/local/lib
> 

one of the to last one should probably work. I have no linux box anywhere
near me adnd this will not change so I can't tell you more than to look at
the ld and cc man page. They normaly have sections about this.

-- 
:wq Claudio

<Prev in Thread] Current Thread [Next in Thread>