This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

I need some SSL patching help with eggdrop1.6.17

General support and discussion of Eggdrop bots.
Post Reply
b
bigmike
Voice
Posts: 8
Joined: Mon Oct 24, 2005 9:22 pm

I need some SSL patching help with eggdrop1.6.17

Post by bigmike »

when i get up to ./configure and it finish's. It says

checking whether to include SSL support... will try to find
checking for SSL_accept in -lssl... no
configure: error: OpenSSL was not found. Please supply a pathname to OpenSSL

so i did whereis openssl and i get "openssl: /usr/bin/openssl /usr/share/man/man1/openssl.1ssl.gz" and i have given eggy the dir for it and i have also installed openssl in my home dir.

can someone plz help me thanks
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

you can tell configure where it is with the ENV vars like,

export CFLAGS="$CFLAGS -i /path/to/ssl/includes -l /path/to/ssl/libs";export LDFLAGS="$LDFLAGS -L /path/to/ssl/libs";./configure -options

I usually make a small shell script to set all of the vars and options then just run that to do the configure. So a shell script would look like:

export CFLAGS="$CFLAGS -i /path/to/ssl/includes -l /path/to/ssl/libs"
export LDFLAGS="$LDFLAGS -L /path/to/ssl/libs"
./configure -options
b
bigmike
Voice
Posts: 8
Joined: Mon Oct 24, 2005 9:22 pm

Post by bigmike »

gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c bg.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c botcmd.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c botmsg.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c botnet.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c chanprog.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c cmds.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c dcc.c
dcc.c:38:25: openssl/md5.h: No such file or directory
dcc.c: In function `dcc_bot_digest':
dcc.c:302: error: `MD5_CTX' undeclared (first use in this function)
dcc.c:302: error: (Each undeclared identifier is reported only once
dcc.c:302: error: for each function it appears in.)
dcc.c:302: error: syntax error before "md5context"
dcc.c:307: warning: implicit declaration of function `MD5_Init'
dcc.c:307: error: `md5context' undeclared (first use in this function)
dcc.c:308: warning: implicit declaration of function `MD5_Update'
dcc.c:310: warning: implicit declaration of function `MD5_Final'
dcc.c: In function `dcc_bot_check_digest':
dcc.c:508: error: `MD5_CTX' undeclared (first use in this function)
dcc.c:508: error: syntax error before "md5context"
dcc.c:517: error: `md5context' undeclared (first use in this function)
make[1]: *** [dcc.o] Error 1
make[1]: Leaving directory `/home/bigmike/eggdrop1.6.17/src'
make: *** [modegg] Error 2


i get that now
Post Reply