RE: Installing DBI and getting a fatal error.

"Callegari, Nick" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.general
Message-ID <1201BDD6170B7C48BF088F8CCB92220701D1B586@sydexchtmp4.au.fjanz.com>
Hi Jonathan, 

 

Thank-you for your help. 

 

Kind regards,

Nick Callegari
[email protected] <mailto:[email protected]> 
au.fujitsu.com <http://au.fujitsu.com> 




From: Jonathan Leffler [mailto:[email protected]] 
Sent: Thursday, 19 September 2013 5:15 PM
To: Callegari, Nick
Cc: DBI Users Mailing List; Lieng, Gia
Subject: Re: Installing DBI and getting a fatal error.

 

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
<[email protected]> 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
[email protected]
au.fujitsu.com






-- 

Jonathan Leffler <[email protected]>  #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."
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.