[MacPorts] #23057: Configuring MySQL5 error can't open input file: /opt/local/lib/libz.dylib

MacPorts noreply at macports.org
Wed Dec 30 21:00:49 PST 2009


#23057: Configuring MySQL5 error can't open input file: /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:  mysql5                 
-------------------------------------+--------------------------------------

Comment(by tim.tunbridge@…):

 Replying to [comment:5 ryandesign@…]:
 > Please remember WikiFormatting.
 >
 > Replying to [comment:4 tim.tunbridge@…]:
 > > I did not uninstall and reinstall all ports (as per the migration
 page). This is the very first time I have used Macports, so did I need to
 do that first?
 >
 > If you're sure you never had MacPorts installed before, then that's
 fine; then there would be nothing to uninstall.
 >
 > > I upgraded to 10.6, downloaded and tried Macports which failed, then
 installed Xcode and got to this point.
 >
 > It failed presumably due to missing Xcode?
 Yes I presume so too as the install then started to work only stopping at
 the current point.

 > > I did not uninstall my copy of MySQL5 either manually or via Macports
 during this process, is that where I went wrong? [[br]]
 > > [[br]]
 > > There is no panic on this as I have now manually reinstalled MySQL5
 >
 > Which MySQL do you have installed? MacPorts does not use libraries you
 have installed separately. If you want to use MySQL with something from
 MacPorts, you probably want to uninstall any MySQL you manually installed,
 then "sudo port install mysql5" (if you want the MySQL client) and "sudo
 port install mysql5-server" (if you want a MySQL server).

 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.
 >
 > > however I am still getting the same error message and I'm keen to try
 Macports in future. [[br]]
 > > [[br]]
 > > Error: Target org.macports.configure returned: lipo: can't open input
 file: /opt/local/lib/libz.dylib (No such file or directory)
 >
 > Does the file /opt/local/lib/libz.dylib exist? What does "port contents
 zlib" say?

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

 port contents zlib returns:
 Port zlib contains:
   /opt/local/include/zconf.h
   /opt/local/include/zlib.h
   /opt/local/lib/libz.a
   /opt/local/share/doc/zlib-1.2.3/ChangeLog
   /opt/local/share/doc/zlib-1.2.3/examples/example.c
   /opt/local/share/doc/zlib-1.2.3/examples/fitblk.c
   /opt/local/share/doc/zlib-1.2.3/examples/gun.c
   /opt/local/share/doc/zlib-1.2.3/examples/gzappend.c
   /opt/local/share/doc/zlib-1.2.3/examples/gzjoin.c
   /opt/local/share/doc/zlib-1.2.3/examples/gzlog.c
   /opt/local/share/doc/zlib-1.2.3/examples/gzlog.h
   /opt/local/share/doc/zlib-1.2.3/examples/README.examples
   /opt/local/share/doc/zlib-1.2.3/examples/zlib_how.html
   /opt/local/share/doc/zlib-1.2.3/examples/zpipe.c
   /opt/local/share/doc/zlib-1.2.3/examples/zran.c
   /opt/local/share/doc/zlib-1.2.3/FAQ
   /opt/local/share/doc/zlib-1.2.3/README
   /opt/local/share/man/man3/zlib.3.gz

 Thanks for taking the time with this.

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


More information about the macports-tickets mailing list