RE: [PHP] Error compiling lib

2007-02-08 Thread Tim
 

 -Message d'origine-
 De : Mário Gamito [mailto:[EMAIL PROTECTED] 
 Envoyé : jeudi 8 février 2007 16:56
 À : php-general@lists.php.net
 Objet : [PHP] Error compiling lib
 
 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 ?

Think your missing some libs on your distrib i would first try installing
glibc-debuginfo-common or glibc-devel.

Regards,

Tim
 
 Warm Regards,
 Mário Gamito
 
 --
 PHP General Mailing List (http://www.php.net/) To 
 unsubscribe, visit: http://www.php.net/unsub.php
 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Error compiling lib

2007-02-08 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-02-08 15:56:25 +:
 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'

../c-client/LDFLAGS is missing -ldl or similar.

-- 
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man.  You don't KNOW.
Cause you weren't THERE. http://bash.org/?255991

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php