Andreas,

I created a file called fgilain.sh in bninc root folder containing :

# cat fgilain.sh
cd src
g++  -g -O2 -Wall -fno-exceptions -O2 -I/usr/local/ssl/include \
-o bincimap-up  arg-arg.o arg-error.o arg-parser.o authenticate.o \
base64.o bincimap-up.o broker.o convert.o greeting.o imapparser.o \
io.o io-ssl.o operator-authenticate.o operator-capability.o \
operator-noop.o operator-login.o operator-logout.o \
operator-starttls.o recursivedescent.o session.o \
session-initialize-bincimap-up.o status.o storage.o \
storageparser.o tools.o -L/usr/local/ssl/lib -lssl -lcrypto -ldl

Then I ran this :

sh ./fgilain.sh

I get theses errors :

# sh ./fgilain.sh
Symbole                 premiere reference
 non defini                         dans le fichier
connect
/usr/local/ssl/lib/libcrypto.a(rand_egd.o)
shutdown
/usr/local/ssl/lib/libcrypto.a(bss_sock.o)
socket
/usr/local/ssl/lib/libcrypto.a(rand_egd.o)
ld: fatal :  Erreurs dans le referencement des symboles. Aucun resultat n'a
ete ecrit dans bincimap-up
collect2: ld returned 1 exit status

Florent

-----Message d'origine-----
De : Andreas Aardal Hanssen [mailto:[EMAIL PROTECTED]
Envoye : lundi 3 novembre 2003 11:05
A : Binc IMAP General
Objet : RE: [binc] Problem with SSL library not found..


On Mon, 3 Nov 2003, Florent Gilain wrote:
>Andreas,
>Here are my 2 interesting files :
>the MakeFile used to run the make command
>The log file of the make operation..

Great, here's something you can try.

Locate the LIBDL definition in the Makefile, then prepend
-L/usr/local/ssl/lib -lssl -lcrypto

So it becomes

LIBDL = -L/usr/local/ssl/lib -lssl -lcrypto -ldl

See if that helps. If it doesn't then you can run the link command
yourself, by entering src/ and the running this command:

g++  -g -O2 -Wall -fno-exceptions -O2 -I/usr/local/ssl/include \
-o bincimap-up  arg-arg.o arg-error.o arg-parser.o authenticate.o \
base64.o bincimap-up.o broker.o convert.o greeting.o imapparser.o \
io.o io-ssl.o operator-authenticate.o operator-capability.o \
operator-noop.o operator-login.o operator-logout.o \
operator-starttls.o recursivedescent.o session.o \
session-initialize-bincimap-up.o status.o storage.o \
storageparser.o tools.o -L/usr/local/ssl/lib -lssl -lcrypto -ldl

Then run "make" again.

Andy :-)

--
Andreas Aardal Hanssen   | http://www.andreas.hanssen.name/gpg
Author of Binc IMAP      |  "It is better not to do something
http://www.bincimap.org/ |        than to do it poorly."


Reply via email to