|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-09-12 11:49 UTC] jimjag@php.net
[2013-09-12 11:59 UTC] ingwie2000 at googlemail dot com
[2013-09-12 12:32 UTC] ingwie2000 at googlemail dot com
[2013-09-12 12:50 UTC] ingwie2000 at googlemail dot com
[2013-09-12 13:09 UTC] jimjag@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: jimjag
[2013-09-12 13:09 UTC] jimjag@php.net
[2013-09-12 13:29 UTC] ingwie2000 at googlemail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 08:00:01 2025 UTC |
Description: ------------ I am unable to build the extension under listed PHP version. I am getting the following error: Undefined symbols for architecture x86_64: "_gpg_strerror", referenced from: _zim_gnupg_keylistiterator_rewind in gnupg_keylistiterator.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [sapi/cli/php] Error 1 It happens when the complete php-binary is being built. My config flags are: ./configure \ --prefix=$PREFIX \ --bindir=$PREFIX/bin \ --sbindir=$EPREFIX/sbin \ --libexecdir=$EPREFIX/local/libexec \ --sysconfdir=$PREFIX/etc \ --sharedstatedir=$EPREFIX/com \ --localstatedir=$PREFIX/var \ --libdir=$PREFIX/lib \ --includedir=$EPREFIX/local/include \ --oldincludedir=$PREFIX/local/include \ --datarootdir=$EPREFIX/local/share \ --infodir=$EPREFIX/local/share/info \ --localedir=$EPREFIX/local/share/locale \ --mandir=$EPREFIX/local/share/man \ --docdir=$PREFIX/doc/plain \ --htmldir=$PREFIX/doc/html \ --dvidir=$PREFIX/doc/dvi \ --pdfdir=$PREFIX/doc/pdf \ --psdir=$PREFIX/doc/ps \ --enable-embed=static \ --enable-static=yes \ --with-config-file-path="" \ --with-config-file-scan-dir="" \ --enable-maintainer-zts \ --enable-pthreads \ --with-ssh2 \ --enable-mbstring \ --enable-sockets \ --enable-ftp \ --enable-soap \ --enable-zip \ --enable-opcache \ --with-tidy \ --with-libedit \ --with-curl=/usr/local \ --with-mcrypt \ --with-gd \ --with-pear \ --with-libedit \ --enable-intl \ --enable-soap \ --enable-libxml pthreads can be found on github if interested. Test script: --------------- cd php-5.5.3/ext mkdir gnupg curl -O {download link to latest version} tar xvfz gnupg rm *.xml mv -Rv gnupg-1.3.3/* . rm -Rvfd gnupg-1.3.3 cd ../../ rm configure ./buildconf --force export PREFIX=... ./configure \ --prefix=$PREFIX \ --bindir=$PREFIX/bin \ --sbindir=$EPREFIX/sbin \ --libexecdir=$EPREFIX/local/libexec \ --sysconfdir=$PREFIX/etc \ --sharedstatedir=$EPREFIX/com \ --localstatedir=$PREFIX/var \ --libdir=$PREFIX/lib \ --includedir=$EPREFIX/local/include \ --oldincludedir=$PREFIX/local/include \ --datarootdir=$EPREFIX/local/share \ --infodir=$EPREFIX/local/share/info \ --localedir=$EPREFIX/local/share/locale \ --mandir=$EPREFIX/local/share/man \ --docdir=$PREFIX/doc/plain \ --htmldir=$PREFIX/doc/html \ --dvidir=$PREFIX/doc/dvi \ --pdfdir=$PREFIX/doc/pdf \ --psdir=$PREFIX/doc/ps \ --enable-embed=static \ --enable-static=yes \ --with-config-file-path="" \ --with-config-file-scan-dir="" \ --enable-maintainer-zts \ --enable-pthreads \ --with-ssh2 \ --enable-mbstring \ --enable-sockets \ --enable-ftp \ --enable-soap \ --enable-zip \ --enable-opcache \ --with-tidy \ --with-libedit \ --with-curl=/usr/local \ --with-mcrypt \ --with-gd \ --with-pear \ --with-libedit \ --enable-intl \ --enable-soap \ --enable-libxml && make Expected result: ---------------- The php-binary should compile, but appearently it does not. Actual result: -------------- Compiling breaks at said point, at the cli-binary. Will most possibly fail on every other binary too.