[MacPorts] #23057: zlib doesn't install /opt/local/lib/libz.dylib (was: Configuring MySQL5 error can't open input file: /opt/local/lib/libz.dylib)

MacPorts noreply at macports.org
Wed Dec 30 23:53:45 PST 2009


#23057: zlib doesn't install /opt/local/lib/libz.dylib
-------------------------------------+--------------------------------------
 Reporter:  tim.tunbridge@…          |       Owner:  ryandesign@…           
     Type:  defect                   |      Status:  new                    
 Priority:  Normal                   |   Milestone:                         
Component:  ports                    |     Version:  1.8.1                  
 Keywords:                           |        Port:  zlib                   
-------------------------------------+--------------------------------------
Changes (by ryandesign@…):

  * port:  mysql5 => zlib


Comment:

 Replying to [comment:6 tim.tunbridge@…]:
 > At the time MySQL 5.0.45 (as I mentioned I have now manually upgraded to
 5.1.41). Maybe I am not understanding how best to use Macports: I was
 assuming that it would be able to upgrade from a previous version (of
 MySQL) that I had installed manually prior to installing and using
 Macports. From your statement, I am now thinking that Macports is used to
 install an initial version and will then subsequently keep it up to date.

 MacPorts does not use or update software not installed with MacPorts.
 MacPorts may also get confused by software you have installed manually,
 which is why I recommend removing manually-installed software first.

 > No /opt/local/lib/libz.dylib does not exist.

 zlib is supposed to build and install that file. I don't know why it
 didn't. Please selfupdate to make sure you have the latest port
 definitions, then rebuild zlib with the debug switch:

 {{{
 sudo port selfupdate
 sudo port -dn upgrade --force zlib 2>&1 | tee ~/Desktop/zlib.txt
 }}}

 Then check `port contents zlib` again. If it still shows no libz.dylib,
 please attach the file zlib.txt from your desktop to this ticket so I can
 see what went wrong.

-- 
Ticket URL: <http://trac.macports.org/ticket/23057#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list