Re: Error compiling lib
| From: | Roman Neuhauser | Date: | Thu, 08 Feb 2007 15:48:47 +0000 |
| Subject: | Re: Error compiling lib | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-248589@lists.php.net to get a copy of this message | ||
# gamito@gmail.com / 2007-02-08 15:56:25 +0000:
> 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