hi everybody, i had installed php with the command "sudo port -v install php5 +apache2 +mysql5 " and the i wanted to update the version of php5 but i have this error : /usr/bin/ld: warning -prebind has no effect with -bundle /usr/bin/ld: Undefined symbols: _res_nclose _res_ninit _res_nmkquery _res_nsend collect2: ld returned 1 exit status make: *** [libs/libphp5.bundle] Error 1 Warning: the following items did not execute (for php5): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. thanks for your help :) -- Maire Alban.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 02.09.2007 um 16:40 schrieb Maire Alban.:
i had installed php with the command "sudo port -v install php5 +apache2 +mysql5 " and the i wanted to update the version of php5 but i have this error :
/usr/bin/ld: warning -prebind has no effect with -bundle /usr/bin/ld: Undefined symbols: _res_nclose _res_ninit _res_nmkquery _res_nsend collect2: ld returned 1 exit status make: *** [libs/libphp5.bundle] Error 1
Warning: the following items did not execute (for php5): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
maybe it works if you first deactivate (uninstall) php and then reinstall it. btw, try $ sudo port -v install php5 +apache2 +mysql5 +pear -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iD8DBQFG2s6yGbg5U7LNki4RAuXCAJ0S+5GElNn0+kEd09bGh94FyKk7JACglxGI IlO80W5+UBzVbhKViUa6G7Y= =tFPe -----END PGP SIGNATURE-----
it is what i made ... :/ On 9/2/07, Matthias Müller <matthias@ixplosive.de> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 02.09.2007 um 16:40 schrieb Maire Alban.:
i had installed php with the command "sudo port -v install php5 +apache2 +mysql5 " and the i wanted to update the version of php5 but i have this error :
/usr/bin/ld: warning -prebind has no effect with -bundle /usr/bin/ld: Undefined symbols: _res_nclose _res_ninit _res_nmkquery _res_nsend collect2: ld returned 1 exit status make: *** [libs/libphp5.bundle] Error 1
Warning: the following items did not execute (for php5): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
maybe it works if you first deactivate (uninstall) php and then reinstall it. btw, try $ sudo port -v install php5 +apache2 +mysql5 +pear -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin)
iD8DBQFG2s6yGbg5U7LNki4RAuXCAJ0S+5GElNn0+kEd09bGh94FyKk7JACglxGI IlO80W5+UBzVbhKViUa6G7Y= =tFPe -----END PGP SIGNATURE----- _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
-- Maire Alban.
On Sep 2, 2007, at 10:05, Maire Alban. wrote:
On 9/2/07, Matthias Müller wrote:
Am 02.09.2007 um 16:40 schrieb Maire Alban.:
i had installed php with the command "sudo port -v install php5 +apache2 +mysql5 " and the i wanted to update the version of php5 but i have this error :
/usr/bin/ld: warning -prebind has no effect with -bundle /usr/bin/ld: Undefined symbols: _res_nclose _res_ninit _res_nmkquery _res_nsend collect2: ld returned 1 exit status make: *** [libs/libphp5.bundle] Error 1
Warning: the following items did not execute (for php5): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
maybe it works if you first deactivate (uninstall) php and then reinstall it. btw, try $ sudo port -v install php5 +apache2 +mysql5 +pear
it is what i made ... :/
What does that mean? The problem is that you have bind9 installed. See this bug: http://trac.macosforge.org/projects/macports/ticket/11283 If you do not require bind9, uninstall bind9. Then you can upgrade php5. If you do require bind9, then deactivate bind9, then upgrade php5, then activate bind9. If anybody can suggest a better fix for this issue, I'm all ears.
thanks :) al. On 9/3/07, Ryan Schmidt <ryandesign@macports.org> wrote:
On Sep 2, 2007, at 10:05, Maire Alban. wrote:
On 9/2/07, Matthias Müller wrote:
Am 02.09.2007 um 16:40 schrieb Maire Alban.:
i had installed php with the command "sudo port -v install php5 +apache2 +mysql5 " and the i wanted to update the version of php5 but i have this error :
/usr/bin/ld: warning -prebind has no effect with -bundle /usr/bin/ld: Undefined symbols: _res_nclose _res_ninit _res_nmkquery _res_nsend collect2: ld returned 1 exit status make: *** [libs/libphp5.bundle] Error 1
Warning: the following items did not execute (for php5): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
maybe it works if you first deactivate (uninstall) php and then reinstall it. btw, try $ sudo port -v install php5 +apache2 +mysql5 +pear
it is what i made ... :/
What does that mean?
The problem is that you have bind9 installed. See this bug:
http://trac.macosforge.org/projects/macports/ticket/11283
If you do not require bind9, uninstall bind9. Then you can upgrade php5.
If you do require bind9, then deactivate bind9, then upgrade php5, then activate bind9.
If anybody can suggest a better fix for this issue, I'm all ears.
-- Maire Alban.
participants (3)
-
Maire Alban.
-
Matthias Müller
-
Ryan Schmidt