Multiple ports error on upgrade

Philip Hudson phil.hudson at
Thu Mar 3 07:20:09 PST 2011

On 2 Mar, 2011, at 4:02 pm, Ryan Schmidt wrote:

> Sounds like you have a rogue dlfcn.h header, either in /usr/local/ 
> include or /opt/local/include, which should be removed. If it's in / 
> usr/local, remove it, and anything else you may have in /usr/local;  
> having things in /usr/local is a great way to cause problems for  
> MacPorts. If it's in /opt/local, use "port provides" to find out  
> what port provided it; if it's not provided by a port, remove it; if  
> it is, let us know what port so we can investigate.

I did indeed have a file /usr/local/include/dlfcn.h; I deleted it, re- 
ran port upgrade, and got exactly the same error and log.

sudo find /opt -name dlfcn.h reveals 4 files (3 distinct according to  
diff) under /opt/local/var/macports/build, two each for xulrunner and  
Python 2.7.1. Each is "not provided by a MacPorts port" according to  
port provides.

Phil Hudson        
@UWascalWabbit                 PGP/GnuPG ID: 0x887DCA63

More information about the macports-users mailing list