Bryn Dyment wrote:
Stas "Mr. Clever, Helpful & Persistent" Bekman wrote...
I think I know what your problem is. The failing command includes:
-L/usr/lib, so it finds /usr/lib/libperl.so.3 instead of
/usr/local/lib/perl5/5.8.1/i386-freebsd/CORE/libperl.so. I bet
that if you remove temporary /usr/
Stas "Mr. Clever, Helpful & Persistent" Bekman wrote...
> I think I know what your problem is. The failing command includes:
> -L/usr/lib, so it finds /usr/lib/libperl.so.3 instead of
> /usr/local/lib/perl5/5.8.1/i386-freebsd/CORE/libperl.so. I bet
> that if you remove temporary /usr/lib/libperl.
Bryn Dyment wrote:
(All the below tests are with dynamic Perl.)
OK, what if you take the original (with dynamic perl) and replace
-L/usr/local/lib/perl5/5.8.1/i386-freebsd/CORE -lperl
with
-Wl,-L/usr/local/lib/perl5/5.8.1/i386-freebsd/CORE -Wl,-lperl
Same problem.
What if you add -Wl,-i
Vivek Khera wrote:
"SB" == Stas Bekman <[EMAIL PROTECTED]> writes:
I'm all set (using your patch). However, if the consensus is that I'd be
better off with Perl built shared, then how do I "link perl's libperl.so to
mod_perl's libperl.a"?
SB> I'm not familiar with FreeBSD to give the right adv
> "SB" == Stas Bekman <[EMAIL PROTECTED]> writes:
>> I'm all set (using your patch). However, if the consensus is that I'd be
>> better off with Perl built shared, then how do I "link perl's libperl.so to
>> mod_perl's libperl.a"?
SB> I'm not familiar with FreeBSD to give the right advice. I
(All the below tests are with dynamic Perl.)
> OK, what if you take the original (with dynamic perl) and replace
>
> -L/usr/local/lib/perl5/5.8.1/i386-freebsd/CORE -lperl
>
> with
>
> -Wl,-L/usr/local/lib/perl5/5.8.1/i386-freebsd/CORE -Wl,-lperl
Same problem.
> What if you add -Wl,-i to t
Bryn Dyment wrote:
I'd appreciate if you test that patch
I did another fresh install of the OS, re-installed Perl w/o the
'-Duseshrplib' option, and built SSL/mod_perl/Apache (after applying your
patch). Worked!
Now I wonder whether apply that patch for freebsd only or all.
does it work if you
> I'd appreciate if you test that patch
I did another fresh install of the OS, re-installed Perl w/o the
'-Duseshrplib' option, and built SSL/mod_perl/Apache (after applying your
patch). Worked!
> does it work if you remove the -Wl,-E part?
Didn't work (this was with the earlier, shared Perl v
Bryn Dyment wrote:
Thanks for the detailed explanation.
;)
I did a fresh install of the OS, and re-installed Perl 5.8.1, but this time
with the '-Duseshrplib' option. After installation, I confirmed that I had
'libperl.so' in '/usr/local/lib/perl5/5.8.1/i386-freebsd/CORE'.
wow, that was quick!
T
Thanks for the detailed explanation.
I did a fresh install of the OS, and re-installed Perl 5.8.1, but this time
with the '-Duseshrplib' option. After installation, I confirmed that I had
'libperl.so' in '/usr/local/lib/perl5/5.8.1/i386-freebsd/CORE'.
Then I re-installed SSL/mod_perl/Apache (wit
Stas Bekman wrote:
4. Could you explain a little more about the change you made?
Let's say your perl is build using a shared library libperl.so, which normally
resides at /usr/local/lib/perl5/5.8.0/i386-freebsd/CORE/libperl.so. When you
are linking a shared perl library you need to specify:
-
Bryn Dyment wrote:
1. Should I be able to safely run 'make install' now?
Yup.
I noticed when omitting SSL from the Apache build (which resulted in a
successful 'make') that a bunch of Apache 'utility' binaries are linked
after httpd is built (a half-dozen or so). So, I'm assuming 'make install'
>> 1. Should I be able to safely run 'make install' now?
>
> Yup.
I noticed when omitting SSL from the Apache build (which resulted in a
successful 'make') that a bunch of Apache 'utility' binaries are linked
after httpd is built (a half-dozen or so). So, I'm assuming 'make install'
will install
Stas Bekman wrote:
Bryn Dyment wrote:
and you don't have:
/usr/local/lib/perl5/5.8.0/i386-freebsd/CORE/libperl.so
Right.
I assume that when you run:
perl Makefile.PL APACHE_SRC=../apache_1.3.28/src \
perl == /usr/local/bin/perl5.8.0, right?
Right. (Perl 5.8.1's installation doesn
Bryn Dyment wrote:
and you don't have:
/usr/local/lib/perl5/5.8.0/i386-freebsd/CORE/libperl.so
Right.
I assume that when you run:
perl Makefile.PL APACHE_SRC=../apache_1.3.28/src \
perl == /usr/local/bin/perl5.8.0, right?
Right. (Perl 5.8.1's installation doesn't automatically rep
> and you don't have:
> /usr/local/lib/perl5/5.8.0/i386-freebsd/CORE/libperl.so
Right.
> I assume that when you run:
>
> perl Makefile.PL APACHE_SRC=../apache_1.3.28/src \
>
> perl == /usr/local/bin/perl5.8.0, right?
Right. (Perl 5.8.1's installation doesn't automatically replace the
Bryn Dyment wrote:
>>Next check that it has those symbols defined.
>
> % nm /usr/local/lib/perl5/5.8.0/i386-freebsd/CORE/libperl.a | grep
> Perl_get_sv
> 21ac T Perl_get_sv
why libperl.a and not libperl.so. Do you have a static perl build?
Before any Apache stuff, but after upgrading Pe
>>Next check that it has those symbols defined.
>
> % nm /usr/local/lib/perl5/5.8.0/i386-freebsd/CORE/libperl.a | grep
> Perl_get_sv
> 21ac T Perl_get_sv
>why libperl.a and not libperl.so. Do you have a static perl build?
Before any Apache stuff, but after upgrading Perl, I have libperl
Bryn Dyment wrote:
Hi,
Stas Bekman wrote:
You do have it in the apache tree, the problem is that you overwrite
it later on. See:
http://perl.apache.org/docs/1.0/guide/install.html#mod_perl_and_mod_ssl___op
enssl
This link describes a similar build process to the one I'm using (although
I'm not h
Hi,
Stas Bekman wrote:
> You do have it in the apache tree, the problem is that you overwrite
> it later on. See:
>
http://perl.apache.org/docs/1.0/guide/install.html#mod_perl_and_mod_ssl___op
enssl
This link describes a similar build process to the one I'm using (although
I'm not having mod_per
Bryn Dyment wrote:
I have no httpd, since it failed to build (correct?). Also, I'm building in
mod_perl statically, so I assume there will be no 'libperl.so' file
(correct?).
You do have it in the apache tree, the problem is that you overwrite it later
on. See:
http://perl.apache.org/docs/1.0/gu
se symbols defined.
% nm /usr/local/lib/perl5/5.8.0/i386-freebsd/CORE/libperl.a | grep
Perl_get_sv
21ac T Perl_get_sv
-Original Message-
From: Stas Bekman [mailto:[EMAIL PROTECTED]
Sent: Monday, October 20, 2003 3:08 PM
To: Bryn Dyment
Cc: [EMAIL PROTECTED]
Subject: Re: mod_perl/mod_
Bryn Dyment wrote:
I've isolated this pretty well... hope someone has some insight:
After a fresh* install of FreeBSD 4.8, I can build Apache alone with
mod_ssl, and Apache alone with mod_perl (static). However, I'm getting
errors when trying to install both together.
Here are my steps:
I've isolated this pretty well... hope someone has some insight:
After a fresh* install of FreeBSD 4.8, I can build Apache alone with
mod_ssl, and Apache alone with mod_perl (static). However, I'm getting
errors when trying to install both together.
Here are my steps:
tar -xzf apache_1.
24 matches
Mail list logo