Re: [opensuse] libperl.a gone in opensuse-11.0?



Thanks for the answer, Christian!

On Thu, Jul 31, 2008 at 04:15:20PM -0400, Cristian Rodríguez wrote:
Josef Wolf escribió:

Was this library moved to a different package?
No, it was removed, it has absolutely no use.

I think I have a use for it: I have a home-grown XS library which
provides functionality from a C library to perl. Linking everything
into one binary saves lots of pain when it comes to deployment of
such a program.

Any hints?
Use Shared libraries, there is no reason to use static libperl.

Please remember that with shared libs, you have to recompile on
the host where the final program is to be run. Here is a quote
from perlembed manpage:

! The cardinal rule: COMPILE THE PROGRAMS IN EXACTLY THE SAME WAY
! THAT YOUR PERL WAS COMPILED. (Sorry for yelling.)

I have lots of boxes where no compiler is installed at all. Then
there are boxes running a different distro than the development
machine runs. Linking statically into one binary makes life a lot
easier in such situations.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: Carrying Libraries on Your Back...
    ... > Why not build on an installed based of assemblies, ... > than porting libraries around, ... download source code ... compile local source against header files ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Using Lattice ispLEVER with VHDL libraries
    ... I am assuming there are some advantages to using the IDE rather than ... I also can't see to get Modelsim to work with ispLever, ... You will have to read about the tool you use to specify compile ... user defined libraries to get things to go under ispLever. ...
    (comp.arch.fpga)
  • Re: Getting started on the HP49g+
    ... either the original HP extable lib ... extable2 lib from http://www.hpcalc.org/details.php?id=3940. ... ask again if you have any problem installing libraries. ... compile the string with ASM (listed in the development lib menu, ...
    (comp.sys.hp48)
  • Re: hid.dll & VC++ 6
    ... but never to compile code based upon any current WDK. ... I'm tasked with writing an application to communicate with a USB card ... missing ')' before identifier 'HIDP_REPORT_TYPE' ... pointed it at the headers and libraries and it worked for a bit until i ...
    (microsoft.public.win32.programmer.kernel)
  • Re: <ctype.h> toLower()
    ... If it's a free standing implimentation, then the scope of the standard is ... > considering portability if makes a heck of a big difference.. ... the code you write will work on /any/ machine you compile it for (if ... the platforms provide the same libraries or even the same program entry ...
    (alt.comp.lang.learn.c-cpp)