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 -Duse64bitall
I 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