/usr/local/bin/lynx: Bad CPU type in executable
Ryan Schmidt
ryandesign at macports.org
Sun Dec 22 14:51:07 UTC 2019
On Dec 21, 2019, at 23:42, Dave Horsfall wrote:
> On Sat, 21 Dec 2019, Ryan Schmidt wrote:
>
>> And more generally, remove anything you have in /usr/local.
>>
>> https://trac.macports.org/wiki/FAQ#usrlocal
>
> I use /usr/local all the time for stuff I either wrote myself
That's fine.
> or grabbed
> from somewhere else, without any problems; I reserve /opt/local for MacPorts stuff.
If the stuff you grabbed from somewhere else is something like a library or a program that a MacPorts port might use, you can run into problems if the MacPorts port inadvertently uses the thing you put in /usr/local rather than a copy that MacPorts installed.
> Of course, I've been using /usr/local for some decades on BSD-type boxes, so it's a hard habit to change...
>
> FWIW, FreeBSD (my other main system) uses /usr/local for its own ports system, along with my own stuff etc.
>
> My remaining box, a Penguin, shovels everything under /usr/bin which I detest.
That's fine, but there are very good reasons why we tell you not to put things in /usr/local. If you do, it is at your own risk, and we don't want to spend time helping troubleshoot any issues that arise as a result.
More information about the macports-users
mailing list