My interpretation of that output would be that your version of GCC is not
using the same linker as the version of GCC used to build the Perl you're
using.

Either get the original version of GCC onto your machine, or build Perl
with the GCC you've got.  Look at the output of 'perl -V' to see what the
linker was.



On Wed, Sep 18, 2013 at 8:42 PM, Callegari, Nick <
nick.calleg...@au.fujitsu.com> wrote:

> Hi All, ****
>
> ** **
>
> Just having the following issue when we try to install DBI in a Solaris 10
> zone. Any help with this issue would be appreciated.****
>
> ** **
>
> When we run the ‘make’ it comes up with a fatal error see below:****
>
> ** **
>
> root@nevdisdev:/var/tmp/gia/DBI/DBI-1.628# make****
>
> /usr/local/bin/perl -MExtUtils::Command -e 'mkpath' -- blib/lib/DBI****
>
> rm -f blib/lib/DBI/Changes.pm****
>
> {snip…..snip}****
>
> Running Mkbootstrap for DBI ()****
>
> chmod 644 DBI.bs****
>
> rm -f blib/arch/auto/DBI/DBI.so****
>
> gcc -B/usr/ccs/bin/  -Wl,-E -shared -L/usr/local/lib DBI.o  -o
> blib/arch/auto/DBI/DBI.so        \****
>
>         \****
>
> ** **
>
> ld: fatal: unrecognized option '-E'****
>
> ld: fatal: use the -z help option for usage information****
>
> collect2: ld returned 1 exit status****
>
> *** Error code 1****
>
> make: Fatal error: Command failed for target `blib/arch/auto/DBI/DBI.so'**
> **
>
> ** **
>
> The attached file has the ‘perl –V’ and the full printouts.****
>
> ** **
>
> Kind regards,****
>
> *Nick Callegari
> *nick.calleg...@au.fujitsu.com
> au.fujitsu.com
>
>
> ****
>



-- 
Jonathan Leffler <jonathan.leff...@gmail.com>  #include <disclaimer.h>
Guardian of DBD::Informix - v2013.0521 - http://dbi.perl.org
"Blessed are we who can laugh at ourselves, for we shall never cease to be
amused."

Reply via email to