RE: [PHP] Error compiling lib

From: Date: Thu, 08 Feb 2007 16:26:31 +0000
Subject: RE: [PHP] Error compiling lib
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-248587@lists.php.net to get a copy of this message
> -----Message d'origine----- > De : Mário Gamito [mailto:gamito@gmail.com] > 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 >

« previous php.general (#248587) next »