Please post the output from a make. Might be that either the wrong ld is
called (instead of letting gcc handle that).

You DID actually install perl after building and testing it, right ?

As for the order:

1. Perl
2. DBI (preferably 1.30)
3. DBD (1.12)

To build DBI extact tar-file and run 'perl Makefile.PL;make test' that
should be enough to see if it works at all for you.

-----------------------------------
Frans Postma, (050-58) 81 852
ATOS Origin, Unix Support 
     "If at first you don't succeed, skydiving isn't for you"




> -----Oorspronkelijk bericht-----
> Van: De Reus, Jaap J SITI-ITDGE12 [mailto:[EMAIL PROTECTED]]
> Verzonden: woensdag 19 februari 2003 10:40
> Aan: '[EMAIL PROTECTED]'
> Onderwerp: Problems with compiling and linking DBD::Oracle
> 
> 
> Hi,
> 
>   I am new to this arena of "Make" and "GCC", so I probably 
> do something
> wrong. Searching around in news groups and internet did gave 
> some hints and
> tips but not the solution for the following problem:
> 
> The linker LD can not find "libgcc.a and libgcc_eh.a". The 
> first step "perl
> Makefile.PL" seems to run fine. The next step gives lots of 
> the following
> messages:
> dbdimp.c:85: warning: initialization from incompatible 
> pointer type   and
> dbdimp.c:236: warning: passing arg 1 of `fprintf' from 
> incompatible pointer
> type
> 
> These are warnings, so I asume they are not really important, 
> the linker
> gives more important error
> 
> ld: 0706-005 Cannot find or open file: libgcc.a
>         ld:open(): A file or directory in the path name does 
> not exist.
> 
> The last step I took is that I copied the last step from the 
> make into a
> seperate script and added the absolute directory to the 
> LD_LIBRARY_PATH
> variable. I also made symbolic links in /usr/local/lib. This 
> didnot gave me
> any positive result.
> 
> What did I do:
> I downloaded perl 5.8, DBI and DBD from this site. I 
> downloaded GCC from an
> site with all kinds of AIX down loads. I build perl 5.8 with 
> GCC and all
> default settings. Did some tests with it and it seems to be 
> alright. I need
> an interface with Oracle and started building the module DBI 
> and DBD. To me
> it is unclear which one needs to be done first.
> 
> Does anyone resolved the linker problem? I have the idea that 
> command is not
> build correctly??? I would appriciate your help very much, so 
> I can start
> using the latest version perl as sonn as possible, as I am 
> now using 5.3
> still.
> 
> Kind regards,
> 
> Jaap de Reus
> Unix System Engineer
> Shell Information Technology International B.V.
> PO Box 1027, 2260 BA  Leidschendam, The Netherlands
> 
> Tel: +31 70 303 4197
> Email: 
> Internet: http://www.shell.com
> 

Reply via email to