*** Warning: linker path does not have real file for library -lc-client. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because I did check the linker path looking for a file starting *** with libc-client and none of the candidates passed a file format test *** using a file magic. Last file checked: /usr/lib/c-client.a /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.4/../../../../lib64/libc-client.a(osdep.o)(.text+0x8875): In function `ssl_onceonlyinit': : warning: the use of `tmpnam' is dangerous, better use `mkstemp' *** Warning: libtool could not satisfy all declared inter-library *** dependencies of module libphp5. Therefore, libtool will create *** a static module, that should work as long as the dlopening *** application is linked with the -dlopen flag. Build complete. (It is safe to ignore warnings about tempnam and tmpnam). >>> Install php-5.0.1 into /var/tmp/portage/php-5.0.1/image/ category dev-php Installing PHP SAPI module: embed cp: cannot stat `libs/libphp5.so': No such file or directory make: *** [install-sapi] Error 1 !!! ERROR: dev-php/php-5.0.1 failed. !!! Function php5-sapi_src_install, Line 436, Exitcode 2 !!! install failed
amd64: this is explictly your problem. c-client's upstream specifically wants it build as static lib and never a shared lib.
Sorry Per, but i can't reproduce this bug. Would you please attach the output of "emerge info" to this bug ? Thx!
I found that it compiles (and works great!) if I set USE=-imap so it's the imap-support that fails.
As above.. -imap works. I found this thread: http://bugs.php.net/bug.php?id=26248 where it mentions that if c-client is compiled with kerberos support that it succeeds.. Will have to have a play around with the c-client ebuild when I have a minute..
My system runs with "Portage 2.0.51_rc9 (default-linux/amd64/gcc34-2004.2, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.9-rc3 x86_64)" and there it is no problem to build php5* with imap. I had the same problems (also with e.g. mtr) with a glibc compiled with gcc 3.3! Please remember that gcc 3.3.4 does not fully support amd64. Regards Jens
I can't reproduce comment #5. My system runs Portage 2.0.51-r3 (gcc34-amd64-2004.1, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r6 x86_64) and I get the following error: *** Warning: linker path does not have real file for library -lc-client. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because I did check the linker path looking for a file starting *** with libc-client and none of the candidates passed a file format test *** using a file magic. Last file checked: /usr/lib/c-client.a /usr/lib/gcc/x86_64-pc-linux-gnu/../../../lib/libc-client.a(osdep.o)(.text+0x9319): In function `ssl_onceonlyinit': : warning: the use of `tmpnam' is dangerous, better use `mkstemp' *** Warning: libtool could not satisfy all declared inter-library *** dependencies of module libphp5. Therefore, libtool will create *** a static module, that should work as long as the dlopening *** application is linked with the -dlopen flag.
1st off I just flushed and reinstalled everything Thursday so this is a new install and should be clean. I had the exact same error message from my emerge *** Warning: linker path does not have real file for library -lc-client. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because I did check the linker path looking for a file starting *** with libc-client and none of the candidates passed a file format test *** using a file magic. Last file checked: /usr/lib/c-client.a //usr/lib/libc-client.a(osdep.o)(.text+0x8e99): In function `ssl_onceonlyinit':: warning: the use of `tmpnam' is dangerous, better use `mkstemp' *** Warning: libtool could not satisfy all declared inter-library *** dependencies of module libphp5. Therefore, libtool will create *** a static module, that should work as long as the dlopening *** application is linked with the -dlopen flag. Build complete. (It is safe to ignore warnings about tempnam and tmpnam). >>> Test phase [not enabled]: dev-php/php-5.0.3 >>> Install php-5.0.3 into /var/tmp/portage/php-5.0.3/image/ category dev-php Installing PHP SAPI module: embed cp: cannot stat `libs/libphp5.so': No such file or directory make: *** [install-sapi] Error 1 !!! ERROR: dev-php/php-5.0.3 failed. !!! Function php5-sapi_src_install, Line 441, Exitcode 2 !!! install failed !!! If you need support, post the topmost build error, NOT this status message. 1st off i am new to linux and ebuilds but that said I noticed this at the beginning of the emerge Do you want me to merge these packages? [Yes/No] y >>> emerge (1 of 2) dev-php/php-5.0.3 to / >>> md5 src_uri ;-) php-5.0.3.tar.bz2 >>> Unpacking source... >>> Unpacking php-5.0.3.tar.bz2 to /var/tmp/portage/php-5.0.3/work * Applying php5_soap_persistence_session.diff ... [ ok ] * Applying uClibc/libtool patches ... * Fixing ${S}/configure... [ ok ] >>> Source unpacked. Shouldn't the ${S} have been filled in with the actual value instead of just the var name??? just wondering if this is showing a blank/null value for a path ?? Here is my emerge info Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r9 x86_64) ================================================================= System uname: 2.6.9-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="http://gentoo.seren.com/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.mirrors.pair.com/ http://mirrors.tds.net/gentoo http://mirror.tucdemonic.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X aac acl acpi adns aim alsa apache2 apm arts audiofile avi bash-completion bcmath berkdb bitmap-fonts bmp cdr crypt cups dba dbx dedicated divx4linux dvd dvdr encode esd evo exifflac f77 fam flac flash flatfile foomaticdb fortran freetds ftp gb gd gdbm gif gmp gnome gpm gstreamer gtk gtk2 gtkhtml icq imagemagick imap imlib inifile innodb ipv6 jack jikes joystick jp2 jpeg kde kdexdeltas kerberos krb4 ldap libwww lzw lzw-tiff mad maildir mailwrapper mcal mime mng mozilla mpeg msn multilib mysql mysqli ncurses nls nptl nptlonly odbc offensive oggvorbis openal opengl oscar oss pam perl php png posix ppds prelude python qt quicktime readline samba scanner sdl sockets socks5 speex spell spl ssl tcltk tcpd theora tiff tokenizer truetype usb userlocales vhosts videos xine xinerama xml xml2 xmlrpc xmms xpm xprint xrandr xsl xv xvid yahoo zlib" As you can see I have kerberos in my use and has been since since I emerged system. Just to be sure I have re-emerged c-client I also read something that someone had the same trouble with php 4.xx and had got it working with either a USE="-mcal" or a USE="shared" on the c-client, but neither seemed to help with this for me. Another post said that the issue showed up with nptl and went when they switched away from nptl. So they thought it was that, which threw the monkey wrench into the works. I will say that the USE="imap" let the emerge function,
for what it's worth (or not), php-5.0.3 compiles for me, though, it took some time to set the use flags (ie, @@: try to emerge || change package.use either due to error or "select use flag A or B but not both", jmp @B). yes, I know it's not that pretty, but wfm ;) /etc/portage/pacakge.keywords: -------------------------------------------------------------------------------- =dev-php/php-5.0.3 ~amd64 ~x86 -------------------------------------------------------------------------------- /etc/portage/package.use: -------------------------------------------------------------------------------- =dev-php/php-5.0.3 -mysqli -readline -recode -cdb -berkdb -gdbm dba -sasl session -msession -------------------------------------------------------------------------------- emerge info: -------------------------------------------------------------------------------- Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.10-ck2 x86_64) ================================================================= System uname: 2.6.10-ck2 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.4.16 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1-r2 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-march=k8 -O3 -pipe" CHOST="x86_64-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/ 3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ / usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox userpriv" GENTOO_MIRRORS=" -- 8< snip snip 8< -- " MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 16bit 3ds S3TC X a52 aac aalib acpi acpi4linux alsa apache2 artworkextra async audiofile avi bash-completion bcmath bdf beep berkdb bidi bindist bitmap-fonts blender-game bzlib calendar canna cap caps cdb cdparanoia cdr cdrom chr oot cjk cnamefix codecs crypt cscope css ctype cups curl curlwrappers dga dio divx4linux dnd droproot dts dv dvd dvdr dv dread edl emacs emacs-w3 emul-linux-x86 encode erandom escreen ethereal exif f2c f77 faac faad fam fastcgi festival fftw flac flash fmod font-server fortran freetype freewnn ftp gcj gd gdbm gif gimp gimpprint ginac gkrellm glgd glut gnome g pm gps gs gstreamer gtk gtk2 hal iconv icq ieee1394 image imagemagick imlib imlib2 immqt inifile innodb ipv6 jack javasc ript jbig jikes joystick jp2 jpeg jpeg2k kde kerberos ladcca lcms leim lesstif libcaca libedit libwww live ltsp lua lynx keymap lzo lzw lzw-tiff m17n-lib mad mailbox maildir mbox mcal memlimit mikmod mime ming mmap mng monkey motif mozcalend ar mozctl mozdevelop moznoirc mozp3p mozsvg mozxmlterm mp3 mpeg mpeg4 mpi mplayer msession mule multi-tty multilib mysql mysqli nas native ncurses network nls no-old-linux nocardbus nodrm nptl nvidia offensive oggvorbis openal opengl pam pc ntl pcre pdflib perl php physfs pic pie png posix povray ppds prelude print private pthreads python qemu-fast qt readlin e recode rrdtool rtc ruby samba sasl scanner sdl sharedmem skk slang slp snmp sockets speex spl sqlite ssl stencil-buffe r svg sysvipc tcpd tetex tga threads tidy tiff tokenizer truetype truetype-fonts type1-fonts unicode usb userlocales vho sts videos wmf xanim xemacs xml xml2 xmlrpc xmms xosd xpm xrandr xscreensaver xsl xv xvid xvmc yv12 zlib" --------------------------------------------------------------------------------
This should now be resolved with the latest ~amd64 ebuilds of c-client or uw-imap. Please see bug 70133 for some more details. Hopefully all imap related issues on amd64 now, PHP 5.0.3 is in testing now.