selfupdate failing under Leopard (yes I read the other posts about this)
OK, MacPorts is working fine. I can add ports, upgrade them, etc. I cannot, however, run selfupdate. The latest Xcode is installed, X11 is as well. No ports are being blocked. I ran the install commands manually. Configure completes successfully but Make fails with the following error: "ld: warning in /usr/local/lib/libreadline.dylib, file is not of required architecture" So I used MacPorts to update the copy of libreadline.dylib in /opt to the latest version, copied it over to /usr/local/lib and then ran selfupdate again. It worked properly. I did switch back to the original version of libreadline.dylib because I don't want to screw up anything Apple has going on with it. Ya never know. Given this I'd say, unless this was somehow specific to me alone, either the selfupdate process should be modified as it is, under certain situations, not working in its current form or their may be a bug to file with Apple. Any ideas from you all? Regardless here is a solution that may be useful to others (certainly more useful than the ever annoying yet omnipresent response "Works for me"). -- View this message in context: http://www.nabble.com/selfupdate-failing-under-Leopard-%28yes-I-read-the-oth... Sent from the MacPorts - Users mailing list archive at Nabble.com.
On Nov 16, 2007, at 9:11 AM, Stuart Tannehill wrote:
OK, MacPorts is working fine. I can add ports, upgrade them, etc. I cannot, however, run selfupdate. The latest Xcode is installed, X11 is as well. No ports are being blocked.
I ran the install commands manually. Configure completes successfully but Make fails with the following error: "ld: warning in /usr/local/lib/libreadline.dylib, file is not of required architecture"
So I used MacPorts to update the copy of libreadline.dylib in /opt to the latest version, copied it over to /usr/local/lib and then ran selfupdate again. It worked properly. I did switch back to the original version of libreadline.dylib because I don't want to screw up anything Apple has going on with it. Ya never know.
Apple doesn't install things into /usr/local, you do. You had a bad copy of libreadline installed and it was causing problems. -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
Ahh, OK, thanks. I don't know what I installed that put in a bad copy of libreadline but I imagine others may have this same issue. Hopefully this solution will help them. -Stuart On Nov 16, 2007, at 9:52 AM, Daniel J. Luke wrote:
On Nov 16, 2007, at 9:11 AM, Stuart Tannehill wrote:
OK, MacPorts is working fine. I can add ports, upgrade them, etc. I cannot, however, run selfupdate. The latest Xcode is installed, X11 is as well. No ports are being blocked.
I ran the install commands manually. Configure completes successfully but Make fails with the following error: "ld: warning in /usr/local/lib/libreadline.dylib, file is not of required architecture"
So I used MacPorts to update the copy of libreadline.dylib in /opt to the latest version, copied it over to /usr/local/lib and then ran selfupdate again. It worked properly. I did switch back to the original version of libreadline.dylib because I don't want to screw up anything Apple has going on with it. Ya never know.
Apple doesn't install things into /usr/local, you do. You had a bad copy of libreadline installed and it was causing problems.
-- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
-------------------------------------- Stuart Tannehill stuart@sandhillcreative.com
participants (2)
-
Daniel J. Luke
-
Stuart Tannehill