There's more than one way to do things | |
PerlMonks |
Building Perl with static and dynamic perllib libsby bergbrains (Acolyte) |
on Nov 10, 2011 at 17:27 UTC ( [id://937417]=perlquestion: print w/replies, xml ) | Need Help?? |
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
Back to
Seekers of Perl Wisdom
|
|