[MacPorts] #34399: mysql55 - fix build & destroot problems

MacPorts noreply at macports.org
Thu May 17 12:31:10 PDT 2012


#34399: mysql55 - fix build & destroot problems
--------------------------------------+-------------------------------------
 Reporter:  macintosh@…               |       Owner:  pixilla@…           
     Type:  defect                    |      Status:  new                 
 Priority:  Normal                    |   Milestone:                      
Component:  ports                     |     Version:  2.0.4               
 Keywords:  haspatch                  |        Port:  mysql55             
--------------------------------------+-------------------------------------

Comment(by ryandesign@…):

 Replying to [ticket:34399 macintosh@…]:
 > destroot problem : [[BR]]
 > a wrong value is given for -DCMAKE_INSTALL_NAME_DIR in the mysql55
 Portfile leading to all mysql55 libmysqlclient.* files to contain the
 wrong absolute file path as well as to ports compiled against mysql55 to
 try to link against the wrong absolute path in their binaries
 > http://lists.macosforge.org/pipermail/macports-dev/2012-May/019169.html

 I am waiting for at least this fix to be committed so that I can add a
 mysql55 variant to the ${php}-mysql subports of the php port; as is, I
 get:
 {{{
 PHP Warning:  PHP Startup: Unable to load dynamic library
 '/opt/local/lib/php54/extensions/no-debug-non-zts-20100525/mysql.so' -
 dlopen(/opt/local/lib/php54/extensions/no-debug-non-zts-20100525/mysql.so,
 9): Library not loaded: /opt/local/lib/mysql55/libmysqlclient.18.dylib
   Referenced from: /opt/local/lib/php54/extensions/no-debug-non-
 zts-20100525/mysql.so
   Reason: image not found in Unknown on line 0
 PHP Warning:  PHP Startup: Unable to load dynamic library
 '/opt/local/lib/php54/extensions/no-debug-non-zts-20100525/mysqli.so' -
 dlopen(/opt/local/lib/php54/extensions/no-debug-non-
 zts-20100525/mysqli.so, 9): Library not loaded:
 /opt/local/lib/mysql55/libmysqlclient.18.dylib
   Referenced from: /opt/local/lib/php54/extensions/no-debug-non-
 zts-20100525/mysqli.so
   Reason: image not found in Unknown on line 0
 PHP Warning:  PHP Startup: Unable to load dynamic library
 '/opt/local/lib/php54/extensions/no-debug-non-zts-20100525/pdo_mysql.so' -
 dlopen(/opt/local/lib/php54/extensions/no-debug-non-
 zts-20100525/pdo_mysql.so, 9): Library not loaded:
 /opt/local/lib/mysql55/libmysqlclient.18.dylib
   Referenced from: /opt/local/lib/php54/extensions/no-debug-non-
 zts-20100525/pdo_mysql.so
   Reason: image not found in Unknown on line 0
 }}}

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


More information about the macports-tickets mailing list