You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Laurent MARTIN <la...@gide.net> on 2007/11/11 18:12:45 UTC
Prob. installing libapreq2 under Leopard
Hi there!
I'm trying to install libapreq2 under my newly installed Mac OS X 10.5
on a MacBook Pro (Core Duo 2, SantaRosa), but something must be wrong
in what I'm doing as Apache refuses to launch as soon as I add the
following to the httpd.conf file:
LoadModule apreq_module libexec/apache2/mod_apreq2.so
Below is the message I get in the console:
httpd: Syntax error on line 509 of /private/etc/apache2/httpd.conf:
Cannot load /usr/libexec/apache2/mod_apreq2.so into server: dlopen(/
usr/libexec/apache2/mod_apreq2.so, 10): no suitable image found. Did
find:\n\t/usr/libexec/apache2/mod_apreq2.so: mach-o, but wrong
architecture
FYI, I'm using the default softwares provided with Leopard: Apache
2.2.6 & mod_perl 2.0.2 & Perl 5.8.8.
What I'm typing to install libapreq2:
% perl Makefile.PL --with-apache2-apxs=/usr/sbin/apxs
% make
% sudo make install
I've noticed the following message while compiling (make):
ld: warning in /Users/laurent/Downloads/libapreq2-2.08/library/.libs/
libapreq2.dylib, file is not of required architecture
If it can help, here is what I get when I apply the "file" command on
this .dylib file:
/Users/laurent/Downloads/libapreq2-2.08/library/.libs/libapreq2.dylib:
Mach-O dynamically linked shared library i386
After having installed (sudo make install), here is what I get when I
apply the "file" command on the newly created and installed /usr/
libexec/apache2/mod_apreq2.so file:
/usr/libexec/apache2/mod_apreq2.so: Mach-O bundle i386
Is this normal? Below is what I get for example for the mod_perl.so
file:
mod_perl.so: Mach-O universal binary with 4 architectures
mod_perl.so (for architecture ppc7400): Mach-O bundle ppc
mod_perl.so (for architecture ppc64): Mach-O 64-bit bundle ppc64
mod_perl.so (for architecture i386): Mach-O bundle i386
mod_perl.so (for architecture x86_64): Mach-O 64-bit bundle x86_64
Shouldn't I get the same for all .so file? Shouldn't mod_apreq2.so be
compiled as universal binary too?
Any idea? Thank you very much in advance!
--
Laurent, Nantes (FR) - http://blog.lmartin.fr
Apple MacBook Pro 15"
Nokia Internet Tablet N800
Palm Treo 650 (unlocked GSM)
Re: Prob. installing libapreq2 under Leopard
Posted by Hendrik Van Belleghem <he...@gmail.com>.
Hi,
amazingly it passed initial tests.. Still doing some tests on other stuff :)
DBD::Mysql is one of the other things I'm still working out on Leopard. Once
that's fixed, I can test if mod_perl and A2::P work for my app :)
I'll keep this list posted.
Hendrik
On Nov 11, 2007 8:09 PM, Fred Moyer <fr...@redhotpenguin.com> wrote:
> Hendrik Van Belleghem wrote:
> > Hi,
> >
> > actually, I double checked.. rebuild Apache2::Request from scratch after
> > removing every reference to existing A2::R.. Same error applies.
> > I never loaded the module into the httpd.conf though. I stuck to using
> > it as a replacement for CGI (but for mod_perl) :)
>
> So adding LoadModule apreq_module fixed it?
>
> >
> > Hendrik
> >
> > On Nov 11, 2007 7:46 PM, Fred Moyer <fred@redhotpenguin.com
> > <ma...@redhotpenguin.com>> wrote:
> >
> > Hendrik Van Belleghem wrote:
> > > This fixed the compilation.. but when I loaded it in my code, it
> spit
> > > out the following message in my logs:
> > >
> > > dyld: lazy symbol binding failed: Symbol not found:
> > _apreq_handle_apache2
> >
> > I'm going to take a guess here and say that you have more than one
> > version of libapreq installed.
> >
> > or... are you sure that you have LoadModule apreq_module
> mod_apreq2.so
> > pointing to the correct version of libapreq?
> >
> >
> > > Referenced from: /Library/Perl/5.8.8/darwin
> > > -thread-multi-2level/auto/APR/Request/Apache2/Apache2.bundle
> > > Expected in: dynamic lookup
> > >
> > > dyld: Symbol not found: _apreq_handle_apache2
> > > Referenced from:
> > >
> >
> /Library/Perl/5.8.8/darwin-thread-multi-2level/auto/APR/Request/Apache2/Apache2.bundle
> > > Expected in: dynamic lookup
> > >
> > > Anyone any suggestions on how to fix this?
> > >
> > > Hendrik
> > >
> > >
> > > On Nov 11, 2007 6:12 PM, Laurent MARTIN <laurent@gide.net
> > <ma...@gide.net>
> > > <mailto: laurent@gide.net <ma...@gide.net>>> wrote:
> > >
> > > Hi there!
> > >
> > > I'm trying to install libapreq2 under my newly installed Mac
> OS X
> > > 10.5 on a MacBook Pro (Core Duo 2, SantaRosa), but something
> > must be
> > > wrong in what I'm doing as Apache refuses to launch as soon
> > as I add
> > > the following to the httpd.conf file:
> > > LoadModule apreq_module libexec/apache2/mod_apreq2.so
> > > Below is the message I get in the console:
> > > httpd: Syntax error on line 509 of
> > /private/etc/apache2/httpd.conf:
> > > Cannot load /usr/libexec/apache2/mod_apreq2.so into server:
> > > dlopen(/usr/libexec/apache2/mod_apreq2.so, 10): no suitable
> > image
> > > found. Did find:\n\t/usr/libexec/apache2/mod_apreq2.so:
> > mach-o, but
> > > wrong architecture
> > >
> > > FYI, I'm using the default softwares provided with Leopard:
> > Apache
> > > 2.2.6 & mod_perl 2.0.2 & Perl 5.8.8.
> > >
> > > What I'm typing to install libapreq2:
> > > % perl Makefile.PL --with-apache2-apxs=/usr/sbin/apxs
> > > % make
> > > % sudo make install
> > >
> > > I've noticed the following message while compiling (make):
> > > ld: warning in
> > >
> > /Users/laurent/Downloads/libapreq2-2.08
> /library/.libs/libapreq2.dylib,
> > > file is not of required architecture
> > >
> > > If it can help, here is what I get when I apply the "file"
> > command
> > > on this .dylib file:
> > >
> > /Users/laurent/Downloads/libapreq2-2.08
> /library/.libs/libapreq2.dylib:
> > > Mach-O dynamically linked shared library i386
> > > After having installed (sudo make install), here is what I
> > get when
> > > I apply the "file" command on the newly created and
> > > installed /usr/libexec/apache2/mod_apreq2.so file:
> > > /usr/libexec/apache2/mod_apreq2.so: Mach-O bundle i386
> > > Is this normal? Below is what I get for example for the
> > mod_perl.so
> > > file:
> > > mod_perl.so: Mach-O universal binary with 4 architectures
> > > mod_perl.so (for architecture ppc7400): Mach-O bundle ppc
> > > mod_perl.so (for architecture ppc64): Mach-O 64-bit bundle
> ppc64
> > > mod_perl.so (for architecture i386): Mach-O bundle i386
> > > mod_perl.so (for architecture x86_64): Mach-O 64-bit bundle
> > x86_64
> > > Shouldn't I get the same for all .so file? Shouldn't
> > mod_apreq2.so
> > > be compiled as universal binary too?
> > >
> > > Any idea? Thank you very much in advance!
> > >
> > > --
> > > *Laurent*, Nantes (FR) - *http://blog.lmartin.fr*
> > > < http://blog.lmartin.fr/>
> > > /Apple MacBook Pro 15"/
> > > /Nokia Internet Tablet N800/
> > > /Palm Treo 650 (unlocked GSM)/
> > >
> > >
> > >
> > >
> > > --
> > > Hendrik Van Belleghem
> > > Spine - The backbone for your website - http://spine.sf.net
> >
> >
> >
> >
> > --
> > Hendrik Van Belleghem
> > Spine - The backbone for your website - http://spine.sf.net
>
>
--
Hendrik Van Belleghem
Spine - The backbone for your website - http://spine.sf.net
Re: Prob. installing libapreq2 under Leopard
Posted by Fred Moyer <fr...@redhotpenguin.com>.
Hendrik Van Belleghem wrote:
> Hi,
>
> actually, I double checked.. rebuild Apache2::Request from scratch after
> removing every reference to existing A2::R.. Same error applies.
> I never loaded the module into the httpd.conf though. I stuck to using
> it as a replacement for CGI (but for mod_perl) :)
So adding LoadModule apreq_module fixed it?
>
> Hendrik
>
> On Nov 11, 2007 7:46 PM, Fred Moyer <fred@redhotpenguin.com
> <ma...@redhotpenguin.com>> wrote:
>
> Hendrik Van Belleghem wrote:
> > This fixed the compilation.. but when I loaded it in my code, it spit
> > out the following message in my logs:
> >
> > dyld: lazy symbol binding failed: Symbol not found:
> _apreq_handle_apache2
>
> I'm going to take a guess here and say that you have more than one
> version of libapreq installed.
>
> or... are you sure that you have LoadModule apreq_module mod_apreq2.so
> pointing to the correct version of libapreq?
>
>
> > Referenced from: /Library/Perl/5.8.8/darwin
> > -thread-multi-2level/auto/APR/Request/Apache2/Apache2.bundle
> > Expected in: dynamic lookup
> >
> > dyld: Symbol not found: _apreq_handle_apache2
> > Referenced from:
> >
> /Library/Perl/5.8.8/darwin-thread-multi-2level/auto/APR/Request/Apache2/Apache2.bundle
> > Expected in: dynamic lookup
> >
> > Anyone any suggestions on how to fix this?
> >
> > Hendrik
> >
> >
> > On Nov 11, 2007 6:12 PM, Laurent MARTIN <laurent@gide.net
> <ma...@gide.net>
> > <mailto: laurent@gide.net <ma...@gide.net>>> wrote:
> >
> > Hi there!
> >
> > I'm trying to install libapreq2 under my newly installed Mac OS X
> > 10.5 on a MacBook Pro (Core Duo 2, SantaRosa), but something
> must be
> > wrong in what I'm doing as Apache refuses to launch as soon
> as I add
> > the following to the httpd.conf file:
> > LoadModule apreq_module libexec/apache2/mod_apreq2.so
> > Below is the message I get in the console:
> > httpd: Syntax error on line 509 of
> /private/etc/apache2/httpd.conf:
> > Cannot load /usr/libexec/apache2/mod_apreq2.so into server:
> > dlopen(/usr/libexec/apache2/mod_apreq2.so, 10): no suitable
> image
> > found. Did find:\n\t/usr/libexec/apache2/mod_apreq2.so:
> mach-o, but
> > wrong architecture
> >
> > FYI, I'm using the default softwares provided with Leopard:
> Apache
> > 2.2.6 & mod_perl 2.0.2 & Perl 5.8.8.
> >
> > What I'm typing to install libapreq2:
> > % perl Makefile.PL --with-apache2-apxs=/usr/sbin/apxs
> > % make
> > % sudo make install
> >
> > I've noticed the following message while compiling (make):
> > ld: warning in
> >
> /Users/laurent/Downloads/libapreq2-2.08/library/.libs/libapreq2.dylib,
> > file is not of required architecture
> >
> > If it can help, here is what I get when I apply the "file"
> command
> > on this .dylib file:
> >
> /Users/laurent/Downloads/libapreq2-2.08/library/.libs/libapreq2.dylib:
> > Mach-O dynamically linked shared library i386
> > After having installed (sudo make install), here is what I
> get when
> > I apply the "file" command on the newly created and
> > installed /usr/libexec/apache2/mod_apreq2.so file:
> > /usr/libexec/apache2/mod_apreq2.so: Mach-O bundle i386
> > Is this normal? Below is what I get for example for the
> mod_perl.so
> > file:
> > mod_perl.so: Mach-O universal binary with 4 architectures
> > mod_perl.so (for architecture ppc7400): Mach-O bundle ppc
> > mod_perl.so (for architecture ppc64): Mach-O 64-bit bundle ppc64
> > mod_perl.so (for architecture i386): Mach-O bundle i386
> > mod_perl.so (for architecture x86_64): Mach-O 64-bit bundle
> x86_64
> > Shouldn't I get the same for all .so file? Shouldn't
> mod_apreq2.so
> > be compiled as universal binary too?
> >
> > Any idea? Thank you very much in advance!
> >
> > --
> > *Laurent*, Nantes (FR) - *http://blog.lmartin.fr*
> > < http://blog.lmartin.fr/>
> > /Apple MacBook Pro 15"/
> > /Nokia Internet Tablet N800/
> > /Palm Treo 650 (unlocked GSM)/
> >
> >
> >
> >
> > --
> > Hendrik Van Belleghem
> > Spine - The backbone for your website - http://spine.sf.net
>
>
>
>
> --
> Hendrik Van Belleghem
> Spine - The backbone for your website - http://spine.sf.net
Re: Prob. installing libapreq2 under Leopard
Posted by Hendrik Van Belleghem <he...@gmail.com>.
Hi,
actually, I double checked.. rebuild Apache2::Request from scratch after
removing every reference to existing A2::R.. Same error applies.
I never loaded the module into the httpd.conf though. I stuck to using it as
a replacement for CGI (but for mod_perl) :)
Hendrik
On Nov 11, 2007 7:46 PM, Fred Moyer <fr...@redhotpenguin.com> wrote:
> Hendrik Van Belleghem wrote:
> > This fixed the compilation.. but when I loaded it in my code, it spit
> > out the following message in my logs:
> >
> > dyld: lazy symbol binding failed: Symbol not found:
> _apreq_handle_apache2
>
> I'm going to take a guess here and say that you have more than one
> version of libapreq installed.
>
> or... are you sure that you have LoadModule apreq_module mod_apreq2.so
> pointing to the correct version of libapreq?
>
>
> > Referenced from: /Library/Perl/5.8.8/darwin
> > -thread-multi-2level/auto/APR/Request/Apache2/Apache2.bundle
> > Expected in: dynamic lookup
> >
> > dyld: Symbol not found: _apreq_handle_apache2
> > Referenced from:
> >
> /Library/Perl/5.8.8/darwin-thread-multi-2level/auto/APR/Request/Apache2/Apache2.bundle
> > Expected in: dynamic lookup
> >
> > Anyone any suggestions on how to fix this?
> >
> > Hendrik
> >
> >
> > On Nov 11, 2007 6:12 PM, Laurent MARTIN <laurent@gide.net
> > <ma...@gide.net>> wrote:
> >
> > Hi there!
> >
> > I'm trying to install libapreq2 under my newly installed Mac OS X
> > 10.5 on a MacBook Pro (Core Duo 2, SantaRosa), but something must be
> > wrong in what I'm doing as Apache refuses to launch as soon as I add
> > the following to the httpd.conf file:
> > LoadModule apreq_module libexec/apache2/mod_apreq2.so
> > Below is the message I get in the console:
> > httpd: Syntax error on line 509 of /private/etc/apache2/httpd.conf:
> > Cannot load /usr/libexec/apache2/mod_apreq2.so into server:
> > dlopen(/usr/libexec/apache2/mod_apreq2.so, 10): no suitable image
> > found. Did find:\n\t/usr/libexec/apache2/mod_apreq2.so: mach-o, but
> > wrong architecture
> >
> > FYI, I'm using the default softwares provided with Leopard: Apache
> > 2.2.6 & mod_perl 2.0.2 & Perl 5.8.8.
> >
> > What I'm typing to install libapreq2:
> > % perl Makefile.PL --with-apache2-apxs=/usr/sbin/apxs
> > % make
> > % sudo make install
> >
> > I've noticed the following message while compiling (make):
> > ld: warning in
> > /Users/laurent/Downloads/libapreq2-2.08
> /library/.libs/libapreq2.dylib,
> > file is not of required architecture
> >
> > If it can help, here is what I get when I apply the "file" command
> > on this .dylib file:
> > /Users/laurent/Downloads/libapreq2-2.08
> /library/.libs/libapreq2.dylib:
> > Mach-O dynamically linked shared library i386
> > After having installed (sudo make install), here is what I get when
> > I apply the "file" command on the newly created and
> > installed /usr/libexec/apache2/mod_apreq2.so file:
> > /usr/libexec/apache2/mod_apreq2.so: Mach-O bundle i386
> > Is this normal? Below is what I get for example for the mod_perl.so
> > file:
> > mod_perl.so: Mach-O universal binary with 4 architectures
> > mod_perl.so (for architecture ppc7400): Mach-O bundle ppc
> > mod_perl.so (for architecture ppc64): Mach-O 64-bit bundle ppc64
> > mod_perl.so (for architecture i386): Mach-O bundle i386
> > mod_perl.so (for architecture x86_64): Mach-O 64-bit bundle x86_64
> > Shouldn't I get the same for all .so file? Shouldn't mod_apreq2.so
> > be compiled as universal binary too?
> >
> > Any idea? Thank you very much in advance!
> >
> > --
> > *Laurent*, Nantes (FR) - *http://blog.lmartin.fr*
> > <http://blog.lmartin.fr/>
> > /Apple MacBook Pro 15"/
> > /Nokia Internet Tablet N800/
> > /Palm Treo 650 (unlocked GSM)/
> >
> >
> >
> >
> > --
> > Hendrik Van Belleghem
> > Spine - The backbone for your website - http://spine.sf.net
>
>
--
Hendrik Van Belleghem
Spine - The backbone for your website - http://spine.sf.net
Re: Prob. installing libapreq2 under Leopard
Posted by Fred Moyer <fr...@redhotpenguin.com>.
Hendrik Van Belleghem wrote:
> This fixed the compilation.. but when I loaded it in my code, it spit
> out the following message in my logs:
>
> dyld: lazy symbol binding failed: Symbol not found: _apreq_handle_apache2
I'm going to take a guess here and say that you have more than one
version of libapreq installed.
or... are you sure that you have LoadModule apreq_module mod_apreq2.so
pointing to the correct version of libapreq?
> Referenced from: /Library/Perl/5.8.8/darwin
> -thread-multi-2level/auto/APR/Request/Apache2/Apache2.bundle
> Expected in: dynamic lookup
>
> dyld: Symbol not found: _apreq_handle_apache2
> Referenced from:
> /Library/Perl/5.8.8/darwin-thread-multi-2level/auto/APR/Request/Apache2/Apache2.bundle
> Expected in: dynamic lookup
>
> Anyone any suggestions on how to fix this?
>
> Hendrik
>
>
> On Nov 11, 2007 6:12 PM, Laurent MARTIN <laurent@gide.net
> <ma...@gide.net>> wrote:
>
> Hi there!
>
> I'm trying to install libapreq2 under my newly installed Mac OS X
> 10.5 on a MacBook Pro (Core Duo 2, SantaRosa), but something must be
> wrong in what I'm doing as Apache refuses to launch as soon as I add
> the following to the httpd.conf file:
> LoadModule apreq_module libexec/apache2/mod_apreq2.so
> Below is the message I get in the console:
> httpd: Syntax error on line 509 of /private/etc/apache2/httpd.conf:
> Cannot load /usr/libexec/apache2/mod_apreq2.so into server:
> dlopen(/usr/libexec/apache2/mod_apreq2.so, 10): no suitable image
> found. Did find:\n\t/usr/libexec/apache2/mod_apreq2.so: mach-o, but
> wrong architecture
>
> FYI, I'm using the default softwares provided with Leopard: Apache
> 2.2.6 & mod_perl 2.0.2 & Perl 5.8.8.
>
> What I'm typing to install libapreq2:
> % perl Makefile.PL --with-apache2-apxs=/usr/sbin/apxs
> % make
> % sudo make install
>
> I've noticed the following message while compiling (make):
> ld: warning in
> /Users/laurent/Downloads/libapreq2-2.08/library/.libs/libapreq2.dylib,
> file is not of required architecture
>
> If it can help, here is what I get when I apply the "file" command
> on this .dylib file:
> /Users/laurent/Downloads/libapreq2-2.08/library/.libs/libapreq2.dylib:
> Mach-O dynamically linked shared library i386
> After having installed (sudo make install), here is what I get when
> I apply the "file" command on the newly created and
> installed /usr/libexec/apache2/mod_apreq2.so file:
> /usr/libexec/apache2/mod_apreq2.so: Mach-O bundle i386
> Is this normal? Below is what I get for example for the mod_perl.so
> file:
> mod_perl.so: Mach-O universal binary with 4 architectures
> mod_perl.so (for architecture ppc7400): Mach-O bundle ppc
> mod_perl.so (for architecture ppc64): Mach-O 64-bit bundle ppc64
> mod_perl.so (for architecture i386): Mach-O bundle i386
> mod_perl.so (for architecture x86_64): Mach-O 64-bit bundle x86_64
> Shouldn't I get the same for all .so file? Shouldn't mod_apreq2.so
> be compiled as universal binary too?
>
> Any idea? Thank you very much in advance!
>
> --
> *Laurent*, Nantes (FR) - *http://blog.lmartin.fr*
> <http://blog.lmartin.fr/>
> /Apple MacBook Pro 15"/
> /Nokia Internet Tablet N800/
> /Palm Treo 650 (unlocked GSM)/
>
>
>
>
> --
> Hendrik Van Belleghem
> Spine - The backbone for your website - http://spine.sf.net
Re: Prob. installing libapreq2 under Leopard
Posted by Hendrik Van Belleghem <he...@gmail.com>.
Hey,
I'm having similar problems but I've fixed the archictecture problems while
compiling..
During compilation, I've forced the architecture:
export ARCHFLAGS="-arch x86_64"
export CFLAGS="-arch x86_64"
I know one one person who used
export CFLAGS=-m64
but YMMV. It didn't work for me.
This fixed the compilation.. but when I loaded it in my code, it spit out
the following message in my logs:
dyld: lazy symbol binding failed: Symbol not found: _apreq_handle_apache2
Referenced from: /Library/Perl/5.8.8/darwin
-thread-multi-2level/auto/APR/Request/Apache2/Apache2.bundle
Expected in: dynamic lookup
dyld: Symbol not found: _apreq_handle_apache2
Referenced from:
/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/APR/Request/Apache2/Apache2.bundle
Expected in: dynamic lookup
Anyone any suggestions on how to fix this?
Hendrik
On Nov 11, 2007 6:12 PM, Laurent MARTIN <la...@gide.net> wrote:
> Hi there!
> I'm trying to install libapreq2 under my newly installed Mac OS X 10.5 on
> a MacBook Pro (Core Duo 2, SantaRosa), but something must be wrong in what
> I'm doing as Apache refuses to launch as soon as I add the following to the
> httpd.conf file:
> LoadModule apreq_module libexec/apache2/mod_apreq2.so
> Below is the message I get in the console:
> httpd: Syntax error on line 509 of /private/etc/apache2/httpd.conf: Cannot
> load /usr/libexec/apache2/mod_apreq2.so into server:
> dlopen(/usr/libexec/apache2/mod_apreq2.so, 10): no suitable image found.
> Did find:\n\t/usr/libexec/apache2/mod_apreq2.so: mach-o, but wrong
> architecture
>
> FYI, I'm using the default softwares provided with Leopard: Apache 2.2.6 &
> mod_perl 2.0.2 & Perl 5.8.8.
>
> What I'm typing to install libapreq2:
> % perl Makefile.PL --with-apache2-apxs=/usr/sbin/apxs
> % make
> % sudo make install
>
> I've noticed the following message while compiling (make):
> ld: warning in /Users/laurent/Downloads/libapreq2-2.08/library/.libs/libapreq2.dylib,
> file is not of required architecture
>
> If it can help, here is what I get when I apply the "file" command on this
> .dylib file:
> /Users/laurent/Downloads/libapreq2-2.08/library/.libs/libapreq2.dylib:
> Mach-O dynamically linked shared library i386
> After having installed (sudo make install), here is what I get when I
> apply the "file" command on the newly created and installed /usr/libexec/apache2/mod_apreq2.so
> file:
> /usr/libexec/apache2/mod_apreq2.so: Mach-O bundle i386
> Is this normal? Below is what I get for example for the mod_perl.so file:
> mod_perl.so: Mach-O universal binary with 4 architectures
> mod_perl.so (for architecture ppc7400): Mach-O bundle ppc
> mod_perl.so (for architecture ppc64): Mach-O 64-bit bundle ppc64
> mod_perl.so (for architecture i386): Mach-O bundle i386
> mod_perl.so (for architecture x86_64): Mach-O 64-bit bundle x86_64
> Shouldn't I get the same for all .so file? Shouldn't mod_apreq2.so be
> compiled as universal binary too?
>
> Any idea? Thank you very much in advance!
>
> --
> *Laurent*, Nantes (FR) - *http://blog.lmartin.fr*<http://blog.lmartin.fr/>
> *Apple MacBook Pro 15"*
> *Nokia Internet Tablet N800*
> *Palm Treo 650 (unlocked GSM)*
>
--
Hendrik Van Belleghem
Spine - The backbone for your website - http://spine.sf.net
Re: Prob. installing libapreq2 under Leopard
Posted by Hendrik Van Belleghem <he...@gmail.com>.
Hey,
Are you using a beta Leopard? All my modules are timestamped about 20 days
later :)
Hendrik
On Nov 11, 2007 9:54 PM, Laurent MARTIN <la...@gide.net> wrote:
> I've neglected to look into the modules folder before I started compiling.
> Is yours timestamped on the 24/09? Does that one work? Any differences with
> the compiled one?
>
> See the stamp below:
> -rwxr-xr-x 1 root wheel 864840 24 sep 04:21 mod_perl.so
> In fact, I haven't tried to compile mod_perl yet: I'm using the one
> installed by default w/ Leopard since the beginning.
> --
> *Laurent*, Nantes (FR) - *http://blog.lmartin.fr*<http://blog.lmartin.fr/>
> *Apple MacBook Pro 15"*
> *Nokia Internet Tablet N800*
> *Palm Treo 650 (unlocked GSM)*
>
>
--
Hendrik Van Belleghem
Spine - The backbone for your website - http://spine.sf.net
Re: Prob. installing libapreq2 under Leopard
Posted by Laurent MARTIN <la...@gide.net>.
> I've neglected to look into the modules folder before I started
> compiling. Is yours timestamped on the 24/09? Does that one work?
> Any differences with the compiled one?
See the stamp below:
-rwxr-xr-x 1 root wheel 864840 24 sep 04:21 mod_perl.so
In fact, I haven't tried to compile mod_perl yet: I'm using the one
installed by default w/ Leopard since the beginning.
--
Laurent, Nantes (FR) - http://blog.lmartin.fr
Apple MacBook Pro 15"
Nokia Internet Tablet N800
Palm Treo 650 (unlocked GSM)
Re: Prob. installing libapreq2 under Leopard
Posted by Hendrik Van Belleghem <he...@gmail.com>.
Hi,
I've neglected to look into the modules folder before I started compiling.
Is yours timestamped on the 24/09? Does that one work? Any differences with
the compiled one?
Hendrik
On Nov 11, 2007 9:27 PM, Laurent MARTIN <la...@gide.net> wrote:
> Hi Hendrik!
> Thank you for your help: things are going much better now, as
> mod_apreq2.so loads well now! Thank you.
> Something I've noticed: you said that mod_perl wasn't included with
> Leopard but I haven't installed it by myself. I've found a mod_perl.sofile in
> /usr/libexec/apache2: don't you have the same? I've simply added the
> following line in httpd.conf:
> LoadModule perl_module libexec/apache2/mod_perl.so
> Note that I've installed Xcode 3.0: maybe something added by it.
>
> Now things are going much better. The only problem I've encountered (for
> the moment...) is the following error when trying to use Archive::Zip:
> [Sun Nov 11 20:41:24 2007] [error] is only avaliable with the XS version
> at /Library/Perl/5.8.8/Compress/Zlib.pm line 9\nBEGIN failed--compilation
> aborted at /Library/Perl/5.8.8/Compress/Zlib.pm line 9.\nCompilation failed
> in require at /Library/Perl/5.8.8/Archive/Zip.pm line 11.\nBEGIN
> failed--compilation aborted at /Library/Perl/5.8.8/Archive/Zip.pm line
> 11.\nCompilation failed in require at
> /Users/laurent/cawi/TWIQ/cgi/Twiq/filman.pm line 11.\nBEGIN
> failed--compilation aborted at /Users/laurent/cawi/TWIQ/cgi/Twiq/filman.pm
> line 11.\nCompilation failed in require at /data/www/twiq/cgi-bin/twiq.pl
> line 18.\nBEGIN failed--compilation aborted at
> /data/www/twiq/cgi-bin/twiq.pl line 18.\n
> Any idea?
>
> Laurent.
>
> On 11 nov. 07, at 19:33, Hendrik Van Belleghem wrote:
>
> Hey,
>
> I'm having similar problems but I've fixed the archictecture problems
> while compiling..
> During compilation, I've forced the architecture:
>
> export ARCHFLAGS="-arch x86_64"
> export CFLAGS="-arch x86_64"
>
> I know one one person who used
>
> export CFLAGS=-m64
>
> but YMMV. It didn't work for me.
> This fixed the compilation.. but when I loaded it in my code, it spit out
> the following message in my logs:
>
> dyld: lazy symbol binding failed: Symbol not found: _apreq_handle_apache2
> Referenced from:
> /Library/Perl/5.8.8/darwin-thread-multi-2level/auto/APR/Request/Apache2/Apache2.bundle
> Expected in: dynamic lookup
>
> dyld: Symbol not found: _apreq_handle_apache2
> Referenced from:
> /Library/Perl/5.8.8/darwin-thread-multi-2level/auto/APR/Request/Apache2/Apache2.bundle
> Expected in: dynamic lookup
>
> Anyone any suggestions on how to fix this?
>
> Hendrik
>
>
> --
> *Laurent*, Nantes (FR) - *http://blog.lmartin.fr*<http://blog.lmartin.fr/>
> *Apple MacBook Pro 15"*
> *Nokia Internet Tablet N800*
> *Palm Treo 650 (unlocked GSM)*
>
>
--
Hendrik Van Belleghem
Spine - The backbone for your website - http://spine.sf.net
Re: Prob. installing libapreq2 under Leopard
Posted by Laurent MARTIN <la...@gide.net>.
Hi Hendrik!
Thank you for your help: things are going much better now, as
mod_apreq2.so loads well now! Thank you.
Something I've noticed: you said that mod_perl wasn't included with
Leopard but I haven't installed it by myself. I've found a mod_perl.so
file in /usr/libexec/apache2: don't you have the same? I've simply
added the following line in httpd.conf:
LoadModule perl_module libexec/apache2/mod_perl.so
Note that I've installed Xcode 3.0: maybe something added by it.
Now things are going much better. The only problem I've encountered
(for the moment...) is the following error when trying to use
Archive::Zip:
[Sun Nov 11 20:41:24 2007] [error] is only avaliable with the XS
version at /Library/Perl/5.8.8/Compress/Zlib.pm line 9\nBEGIN failed--
compilation aborted at /Library/Perl/5.8.8/Compress/Zlib.pm line
9.\nCompilation failed in require at /Library/Perl/5.8.8/Archive/
Zip.pm line 11.\nBEGIN failed--compilation aborted at /Library/Perl/
5.8.8/Archive/Zip.pm line 11.\nCompilation failed in require at /Users/
laurent/cawi/TWIQ/cgi/Twiq/filman.pm line 11.\nBEGIN failed--
compilation aborted at /Users/laurent/cawi/TWIQ/cgi/Twiq/filman.pm
line 11.\nCompilation failed in require at /data/www/twiq/cgi-bin/
twiq.pl line 18.\nBEGIN failed--compilation aborted at /data/www/twiq/
cgi-bin/twiq.pl line 18.\n
Any idea?
Laurent.
On 11 nov. 07, at 19:33, Hendrik Van Belleghem wrote:
> Hey,
>
> I'm having similar problems but I've fixed the archictecture
> problems while compiling..
> During compilation, I've forced the architecture:
>
> export ARCHFLAGS="-arch x86_64"
> export CFLAGS="-arch x86_64"
>
> I know one one person who used
>
> export CFLAGS=-m64
>
> but YMMV. It didn't work for me.
> This fixed the compilation.. but when I loaded it in my code, it
> spit out the following message in my logs:
>
> dyld: lazy symbol binding failed: Symbol not found:
> _apreq_handle_apache2
> Referenced from: /Library/Perl/5.8.8/darwin-thread-multi-2level/
> auto/APR/Request/Apache2/Apache2.bundle
> Expected in: dynamic lookup
>
> dyld: Symbol not found: _apreq_handle_apache2
> Referenced from: /Library/Perl/5.8.8/darwin-thread-multi-2level/
> auto/APR/Request/Apache2/Apache2.bundle
> Expected in: dynamic lookup
>
> Anyone any suggestions on how to fix this?
>
> Hendrik
--
Laurent, Nantes (FR) - http://blog.lmartin.fr
Apple MacBook Pro 15"
Nokia Internet Tablet N800
Palm Treo 650 (unlocked GSM)