Re: include was? [auf Viren überprüft]

Hans Moser <[email protected]>
Newsgroups gmane.linux.suse.programming
Message-ID <[email protected]>
David Haller schrieb:

> Entschuldige die lange Verzoegerung.
Danke, dass du dran bleibst!

>>>> Wenn ich export LDFLAGS="-L/mail/lib" setze, wird vorher schon
>>>> SSL nicht mehr gefunden. libssl.a liegt auch in /mail/lib
>>> Das widerspricht sich.
>> Was widerspricht sich?
> Dass die libssl dann nicht gefunden wird... Hast du libssl.so* in 
> /mail/lib/? Und evtl. noch in /lib/ oder /usr/lib oder /usr/local/lib
>  eine libssl.so*?
Alles unter /usr/lib/ :
/usr/lib/libssl.so.0.9.7
/usr/lib/libssl.so
/usr/lib/libssl.so.0

Das ist alles der original SuSE-SSL-Kram. Das kann doch nicht sein!?
Unter /mail/lib/ liegt nur libssl.a. Unter /mail/include/openssl/ gibt
es eine Handvoll *ssl*.h-Dateien.

Ist SSL nicht sauber installiert worden? Bei "make test" rauschen die
Testausgaben minutenlang über den Schirm. Im einzelnen habe ich die 
Ausgabe aber nicht durchgeflöht, sehe aber jede Menge "ok"s.

> Versuch's mal mit:
> 
> LDFLAGS="-L/mail/lib -lssl -lsasl2" \ CFLAGS="-I/mail/include
> -I/mail/include/openssl" \ ./configure \ --prefix=/mail \ 
> --include-dir=/mail/include \ --with-cyrus-sasl --with-tls
> --enable-ldap
checking for sasl/sasl.h usability...yes
checking for sasl/sasl.h presence... no
configure: WARNING: sasl/sasl.h: accepted by the compiler, rejected by
the preprocessor!
configure: WARNING: sasl/sasl.h: proceeding with the compiler's result
checking for sasl/sasl.h... yes
checking for sasl.h usability...no
checking for sasl.h presence... no
checking for sasl/sasl.h usability...yes
checking for sasl.h... no
checking for sasl_client_init in -lsasl2... yes
checking Cyrus SASL library version... no
configure: error Cyrus SASL library located but incompatible

SASL 2.1.21 ist IMHO nicht inkompatibel zu OpenLDAP 2.3.19. DerFehler
muss noch woanders liegen.

>> [Wenn es irgendwo mal Hinweise zum allgemeinen Kompilieren von OSS
>> gibt, die irgendwo zwischen "configure, make, make install
>> aufrufen" und einer kompletten C/C++-Einführung liegen, wäre ich
>> für jeden Hinweis dankbar.]
> Hm. Schon auf selflinux.de geschaut?
Sehe ich mir mal an.

Hans
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.