[MacPorts] #29115: db46 @4.6.21_6: jni.h: No such file or directory

MacPorts noreply at macports.org
Sat Jun 25 13:48:12 PDT 2011


#29115: db46 @4.6.21_6: jni.h: No such file or directory
-----------------------------------+----------------------------------------
 Reporter:  tommazzo@…             |       Owner:  blair@…           
     Type:  defect                 |      Status:  new               
 Priority:  Normal                 |   Milestone:                    
Component:  ports                  |     Version:  1.9.2             
 Keywords:                         |        Port:  db46              
-----------------------------------+----------------------------------------

Comment(by ldl@…):

 Ticket 29931 has a similar problem.[
 https://trac.macports.org/ticket/29931]

 I'm running Xcode 4.0 on   System Version:      Mac OS X 10.6.8 (10K540)
 Kernel Version:       Darwin 10.8.0

 /System/Library/Frameworks/JavaVM.framework/Headers/jni.h exists although
 it is in a link to:

 /System/Library/Frameworks/JavaVM.framework/Versions/A/Headers/jni.h

 I downloaded the Dev frameworks from the link above.


 {{{
 sudo port install php5-imap
 Password:
 --->  Computing dependencies for php5-imap
 --->  Dependencies to be installed: php5 apache2 apr-util db46 sqlite3
 readline pcre bzip2 perl5 perl5.12 autoconf213 gawk m4 gsed libtool
 automake autoconf help2man p5-locale-gettext libxml2 pkgconfig glib2
 --->  Building db46
 Error: Target org.macports.build returned: shell command failed (see log
 for details)
 Error: Failed to install db46

 }}}

 The main log shows this:


 {{{
 6/24/11 12:53:17 PM     org.apache.httpd[40062] httpd: Syntax error on
 line 116 of /private/etc/apache2/httpd.conf: Cannot load
 /usr/libexec/apache2/libphp5.2.17.so into server:
 dlopen(/usr/libexec/apache2/libphp5.2.17.so, 10): Library not loaded:
 libmysqlclient.18.dylib\n  Referenced from:
 /usr/libexec/apache2/libphp5.2.17.so\n  Reason: image not found


 dyld: Library not loaded: libmysqlclient.18.dylib
   Referenced from: /usr/local/src/php-5.2.17/sapi/cli/php

 }}}

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


More information about the macports-tickets mailing list