Error compiling lib

From: Date: Thu, 08 Feb 2007 15:56:25 +0000
Subject: Error compiling lib
Groups: php.general 
Request: Send a blank email to php-general+get-248585@lists.php.net to get a copy of this message
Hi, I want to compile PHP with IMAP support. I've downloaded imap2006e and run: # make slx but i got this error: "make[2]: Entering directory `/usr/local/src/imap-2006e/mtest' cat ../c-client/CCTYPE -I../c-client cat ../c-client/CFLAGS -o mtest
mtest.o               ../c-client/c-client.a cat ../c-client/LDFLAGS
.../c-client/c-client.a(osdep.o)(.text+0x87e4): In function `ssl_onceonlyinit':
/usr/local/src/imap-2006e/c-client/osdep.c:301: warning: the use of tmpnam' is                   dangerous, better use mkstemp'
mtest.o(.text+0x1680): In function `smtptest': /usr/local/src/imap-2006e/mtest/mtest.c:781: warning: the `gets'
function is dan                      gerous and should not be used.
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x38): In function `dlfcn_load                  ':
: undefined reference to `dlopen' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xa0): In function
`dlfcn_load                  ':
: undefined reference to `dlclose' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xc9): In function
`dlfcn_load                  ':
: undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x13e): In function
`dlfcn_unl                 oad':
: undefined reference to `dlclose' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x1f5): In function
`dlfcn_bin                 d_var':
: undefined reference to `dlsym' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x241): In function
`dlfcn_bin                 d_var':
: undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x2d5): In function
`dlfcn_bin                 d_func':
: undefined reference to `dlsym' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x321): In function
`dlfcn_bin                 d_func':
: undefined reference to `dlerror' collect2: ld returned 1 exit status make[2]: *** [mtest] Error 1 make[2]: Leaving directory `/usr/local/src/imap-2006e/mtest' make[1]: *** [bundled] Error 2 make[1]: Leaving directory `/usr/local/src/imap-2006e' make: *** [slx] Error 2" Can someone help me out, please ? Warm Regards, Mário Gamito

« previous php.general (#248585) next »