Re: [GENERAL] libperl.so

2000-08-06 Thread Alex Pilosov
Yeah, openbsd ld/ld.so for example will bitch and moan when its asked to do this. (nonPIC code loaded as so). So this is to be used as last resort. On Sat, 5 Aug 2000, Lamar Owen wrote: > Charles Tassell wrote: > > There is also a way to recompile a .a library into a shared > > library. Someth

Re: [GENERAL] libperl.so

2000-08-05 Thread Lamar Owen
Charles Tassell wrote: > 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 But a shared lib is _supposed_ to be compiled with position-independent code with -fPIC -- otherwise you are just asking for trouble t

Re: [GENERAL] libperl.so

2000-08-05 Thread tc lewis
i removed the perl rpm and installed perl 5.6.0 from source on a redhat 6.2 machine without problems. i went through a lot of extra steps to ensure cleanliness, however, which you may or may not be able to do. here's basically what i did: rpm -e mod_perl rpm -qa | grep piranha | xargs rpm -e r

Re: [GENERAL] libperl.so

2000-08-05 Thread Charles Tassell
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: >O