There is also a way to recompile a .a library into a shared
library. Something like:
ar x library.a
ld -shared -o library.so *.o
It's documented somewhere, a web search on "convert shared library" will
probably turn up some detailed documentation.
At 11:52 PM 8/4/00, Alex Pilosov wrote:
>On Fri, 4 Aug 2000, Ron Peterson wrote:
>
> > I can't compile the perl module because libperl is not a shared
> > library. So what I'd like to do is simply download the 5.6 perl source,
> > compile, and go.
> >
> > I'm using Red Had 6.1, which has the perl-5.00503-6 rpm installed. Of
> > course there are a jillion other packages which depend on this one.
> >
> > So my question is, what happens if I rpm -e perl, then make, make
> > install the latest 5.6 source? Is my whole world going to fall apart?
>The best idea for you is to install SRPM for 5.005, and then change the
>configuration to build libperl.so, and manually copy libperl.so to
>/usr/lib.
>
>-alex