in reply to Problem compiling DBD::Informix in Solaris10/SPARC

If you read the output from perl -V you'll see your perl was compiled with the Sun C compiler, so it naturally has options and what not for that compiler's linker and not gcc and its ld. You may be able to finagle things into compiling by hand-editing the generated Makefile, but you're just asking for problems not using the same compiler.

The "safest" (FSVO safest) option would be to recompile your own copy of Perl with the compiler tool chain you have (gcc) and use that rather than the (presumably) system's perl (this also has the benefit of isolating your "application perl" from arbitrary changes to the "OS' perl" which patches or other updates may bring about; this gets periodically discussed but I can't recall the supersearch terms to call it up off hand).

The cake is a lie.
The cake is a lie.
The cake is a lie.

  • Comment on Re: Problem compiling DBD::Informix in Solaris10/SPARC

Replies are listed 'Best First'.
Re^2: Problem compiling DBD::Informix in Solaris10/SPARC
by HeatSeekerCannibal (Beadle) on Jan 28, 2008 at 18:46 UTC
    I had asked this same question in the chatterbox just before posting it and didnt see tye's answer until recently. He was giving exactly the same advice.

    Thank you both.

    Heatseeker Cannibal