bergbrains has asked for the wisdom of the Perl Monks concerning the following question:
I'm updating our environment with new perls, and have run into a few gotchas. I'm using perlbrew.
First, the default for building perl does not generate libperl.so, so I had to include the following params:
-Duselargefiles -Dcccdlflags=-fPIC -Doptimize=-O2 -Duseshrplib -Duse64bitallI believe the only parameter relevant to the building of libperl.so instead of libperla is -Dusesshrplib
The conundrum I'm in is that I need libperl.so to build mod_perl and libperl.a to build a static version of DBD::Sybase for those hosts of ours that do not have the sybase libraries installed.
Can anyone tell me how to build perl so that a) I get both libperl.so and libperl.a? Admittedly, I don't understand the larger issues surrounding the building as static/dynamic, but I need to know if it can be done, so any help would be appreciated
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Building Perl with static and dynamic perllib libs
by Eliya (Vicar) on Nov 10, 2011 at 19:08 UTC | |
by syphilis (Archbishop) on Nov 11, 2011 at 00:29 UTC | |
by Eliya (Vicar) on Nov 11, 2011 at 01:53 UTC | |
|
Re: Building Perl with static and dynamic perllib libs
by mpeppler (Vicar) on Nov 17, 2011 at 07:36 UTC |