[MacPorts] #42927: libapreq2 not working, can't start apache2
MacPorts
noreply at macports.org
Tue Mar 18 18:10:30 PDT 2014
#42927: libapreq2 not working, can't start apache2
-----------------------+--------------------------------
Reporter: jul_bsd@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: p5-libapreq2
-----------------------+--------------------------------
When starting apache2 w this module
{{{
httpd: Syntax error on line 495 of /opt/local/apache2/conf/httpd.conf:
Syntax error on line 4 of /opt/local/apache2/conf/extra/apache-cif.conf:
Cannot load /opt/local/apache2/modules/mod_apreq2.so into server:
dlopen(/opt/local/apache2/modules/mod_apreq2.so, 10): Library not loaded:
/opt/local/lib/libexpat.1.dylib\n Referenced from:
/opt/local/apache2/modules/mod_apreq2.so\n Reason: Incompatible library
version: mod_apreq2.so requires version 8.0.0 or later, but
libexpat.1.dylib provides version 7.0.0
}}}
{{{
$ otool -L /opt/local/apache2/modules/mod_apreq2.so
/opt/local/apache2/modules/mod_apreq2.so:
/opt/local/lib/libapreq2.3.dylib (compatibility version 12.0.0,
current version 12.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1197.1.1)
/opt/local/lib/libexpat.1.dylib (compatibility version 8.0.0,
current version 8.0.0)
/opt/local/lib/libiconv.2.dylib (compatibility version 8.0.0,
current version 8.1.0)
/opt/local/lib/libapr-1.0.dylib (compatibility version 6.0.0,
current version 6.0.0)
/opt/local/lib/libaprutil-1.0.dylib (compatibility version 6.0.0,
current version 6.3.0)
$ otool -L /opt/local/apache2/modules/mod_perl.so
/opt/local/apache2/modules/mod_perl.so:
/opt/local/lib/perl5/5.16.1/darwin-thread-multi-
2level/CORE/libperl.dylib (compatibility version 5.16.0, current version
5.16.1)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1197.1.1)
/usr/lib/libutil.dylib (compatibility version 1.0.0, current
version 1.0.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
version 2577.0.0)
$ locate libexpat.1.dylib
/Applications/Extra/Print/GIMP.app/Contents/Resources/lib/libexpat.1.dylib
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/lib/libexpat.1.dylib
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/lib/libexpat.1.dylib
/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libexpat.1.dylib
/Developer/SDKs/MacOSX10.6.sdk/usr/lib/libexpat.1.dylib
/Volumes/Data/opt.old2/local/lib/libexpat.1.dylib
/opt/local/lib/libexpat.1.dylib
/usr/lib/libexpat.1.dylib
$ otool -L /usr/lib/libexpat.1.dylib
/usr/lib/libexpat.1.dylib:
/usr/lib/libexpat.1.dylib (compatibility version 7.0.0, current
version 7.2.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1197.1.1)
$ port installed |egrep '(apreq|mod_perl|apache)'
apache2 @2.2.26_0+preforkmpm (active)
mod_perl2 @2.0.7_1 (active)
p5.16-apache2-rest @0.70.0_0 (active)
p5.16-libapreq2 @2.130.0_3 (active)
}}}
--
Ticket URL: <https://trac.macports.org/ticket/42927>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list