public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* AIX and ORACLE Client Shell
@ 1999-12-30  2:25 Bernard Schletz
  1999-12-30  3:34 ` Neil Cudd
  1999-12-31 22:24 ` Bernard Schletz
  0 siblings, 2 replies; 8+ messages in thread
From: Bernard Schletz @ 1999-12-30  2:25 UTC (permalink / raw)
  To: help-gcc

Hi,

i switched from AIX 4.1 to 4.3: But when I now try
to link my application the linker didn't accept the
Oracle-Client-Shell libclntsh.a.

I get the error:
'collect2: /usr/lib/libc_r.a: not an import library'

What is collect2 doing?
What does this error mean?
What could I do?
Can anybody help me?

Thanks
Bernard


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: AIX and ORACLE Client Shell
  1999-12-30  2:25 AIX and ORACLE Client Shell Bernard Schletz
@ 1999-12-30  3:34 ` Neil Cudd
  1999-12-30  4:05   ` Bernard Schletz
  1999-12-31 22:24   ` Neil Cudd
  1999-12-31 22:24 ` Bernard Schletz
  1 sibling, 2 replies; 8+ messages in thread
From: Neil Cudd @ 1999-12-30  3:34 UTC (permalink / raw)
  To: help-gcc

When upgrading AIX with an Oracle db, you need to re-run rootpre.sh to
re-install the kernel extensions.
Would this be a cause of the problem ?

neil.

Bernard Schletz wrote in message < 84fb5e$gu$1@mailusr.wdf.sap-ag.de >...
>Hi,
>
>i switched from AIX 4.1 to 4.3: But when I now try
>to link my application the linker didn't accept the
>Oracle-Client-Shell libclntsh.a.
>
>I get the error:
>'collect2: /usr/lib/libc_r.a: not an import library'
>
>What is collect2 doing?
>What does this error mean?
>What could I do?
>Can anybody help me?
>
>Thanks
>Bernard
>
>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: AIX and ORACLE Client Shell
  1999-12-30  3:34 ` Neil Cudd
@ 1999-12-30  4:05   ` Bernard Schletz
  1999-12-30 12:15     ` HÃ¥kan Winbom
  1999-12-31 22:24     ` Bernard Schletz
  1999-12-31 22:24   ` Neil Cudd
  1 sibling, 2 replies; 8+ messages in thread
From: Bernard Schletz @ 1999-12-30  4:05 UTC (permalink / raw)
  To: help-gcc

Hi,

after the AIX-Upgrade the Oracle-Database has been upgraded from 7.3.2
to 7.3.4. The database is running. But the person did this is in holiday.

Do you know if:
Is it neccessary to run rootpre.sh in order to upgrade Oracle?
Is there any possibility to check if this script has been used?

Thanks
Bernard

Neil Cudd wrote in message
< 946553346.26144.0.nnrp-02.c2de6f3d@news.demon.co.uk >...
>When upgrading AIX with an Oracle db, you need to re-run rootpre.sh to
>re-install the kernel extensions.
>Would this be a cause of the problem ?
>
>neil.
>
>Bernard Schletz wrote in message < 84fb5e$gu$1@mailusr.wdf.sap-ag.de >...
>>Hi,
>>
>>i switched from AIX 4.1 to 4.3: But when I now try
>>to link my application the linker didn't accept the
>>Oracle-Client-Shell libclntsh.a.
>>
>>I get the error:
>>'collect2: /usr/lib/libc_r.a: not an import library'
>>
>>What is collect2 doing?
>>What does this error mean?
>>What could I do?
>>Can anybody help me?
>>
>>Thanks
>>Bernard
>>
>>
>
>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: AIX and ORACLE Client Shell
  1999-12-30  4:05   ` Bernard Schletz
@ 1999-12-30 12:15     ` HÃ¥kan Winbom
  1999-12-31 22:24       ` HÃ¥kan Winbom
  1999-12-31 22:24     ` Bernard Schletz
  1 sibling, 1 reply; 8+ messages in thread
From: HÃ¥kan Winbom @ 1999-12-30 12:15 UTC (permalink / raw)
  To: help-gcc

I think You have hit a problem which is documented in Oracle 8.0.4 and 8.1.5

Actually I doubt that Oracle supports V7 on AIX 4.3.3 but that is an other
story

The problem is that Oracle will only link with Posix draft 7 thread model
AIX 4.3.3 defaults to Posix draft 10 threads
try:
export  LINK_CONTROL=L_PTHREADS_D7
This essentially replaces the default  libpthreads.a library
with libpthreadscompat.a

It is documented in the Oracle V8 installation manuals.

Hopes this helps
/HW

Bernard Schletz wrote:

> Hi,
>
> >>
> >>i switched from AIX 4.1 to 4.3: But when I now try
> >>to link my application the linker didn't accept the
> >>Oracle-Client-Shell libclntsh.a.
> >>
> >>I get the error:
> >>'collect2: /usr/lib/libc_r.a: not an import library'
> >>
> >>What is collect2 doing?
> >>What does this error mean?
> >>What could I do?
> >>Can anybody help me?
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* AIX and ORACLE Client Shell
  1999-12-30  2:25 AIX and ORACLE Client Shell Bernard Schletz
  1999-12-30  3:34 ` Neil Cudd
@ 1999-12-31 22:24 ` Bernard Schletz
  1 sibling, 0 replies; 8+ messages in thread
From: Bernard Schletz @ 1999-12-31 22:24 UTC (permalink / raw)
  To: help-gcc

Hi,

i switched from AIX 4.1 to 4.3: But when I now try
to link my application the linker didn't accept the
Oracle-Client-Shell libclntsh.a.

I get the error:
'collect2: /usr/lib/libc_r.a: not an import library'

What is collect2 doing?
What does this error mean?
What could I do?
Can anybody help me?

Thanks
Bernard


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: AIX and ORACLE Client Shell
  1999-12-30 12:15     ` HÃ¥kan Winbom
@ 1999-12-31 22:24       ` HÃ¥kan Winbom
  0 siblings, 0 replies; 8+ messages in thread
From: HÃ¥kan Winbom @ 1999-12-31 22:24 UTC (permalink / raw)
  To: help-gcc

I think You have hit a problem which is documented in Oracle 8.0.4 and 8.1.5

Actually I doubt that Oracle supports V7 on AIX 4.3.3 but that is an other
story

The problem is that Oracle will only link with Posix draft 7 thread model
AIX 4.3.3 defaults to Posix draft 10 threads
try:
export  LINK_CONTROL=L_PTHREADS_D7
This essentially replaces the default  libpthreads.a library
with libpthreadscompat.a

It is documented in the Oracle V8 installation manuals.

Hopes this helps
/HW

Bernard Schletz wrote:

> Hi,
>
> >>
> >>i switched from AIX 4.1 to 4.3: But when I now try
> >>to link my application the linker didn't accept the
> >>Oracle-Client-Shell libclntsh.a.
> >>
> >>I get the error:
> >>'collect2: /usr/lib/libc_r.a: not an import library'
> >>
> >>What is collect2 doing?
> >>What does this error mean?
> >>What could I do?
> >>Can anybody help me?
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: AIX and ORACLE Client Shell
  1999-12-30  4:05   ` Bernard Schletz
  1999-12-30 12:15     ` HÃ¥kan Winbom
@ 1999-12-31 22:24     ` Bernard Schletz
  1 sibling, 0 replies; 8+ messages in thread
From: Bernard Schletz @ 1999-12-31 22:24 UTC (permalink / raw)
  To: help-gcc

Hi,

after the AIX-Upgrade the Oracle-Database has been upgraded from 7.3.2
to 7.3.4. The database is running. But the person did this is in holiday.

Do you know if:
Is it neccessary to run rootpre.sh in order to upgrade Oracle?
Is there any possibility to check if this script has been used?

Thanks
Bernard

Neil Cudd wrote in message
< 946553346.26144.0.nnrp-02.c2de6f3d@news.demon.co.uk >...
>When upgrading AIX with an Oracle db, you need to re-run rootpre.sh to
>re-install the kernel extensions.
>Would this be a cause of the problem ?
>
>neil.
>
>Bernard Schletz wrote in message < 84fb5e$gu$1@mailusr.wdf.sap-ag.de >...
>>Hi,
>>
>>i switched from AIX 4.1 to 4.3: But when I now try
>>to link my application the linker didn't accept the
>>Oracle-Client-Shell libclntsh.a.
>>
>>I get the error:
>>'collect2: /usr/lib/libc_r.a: not an import library'
>>
>>What is collect2 doing?
>>What does this error mean?
>>What could I do?
>>Can anybody help me?
>>
>>Thanks
>>Bernard
>>
>>
>
>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: AIX and ORACLE Client Shell
  1999-12-30  3:34 ` Neil Cudd
  1999-12-30  4:05   ` Bernard Schletz
@ 1999-12-31 22:24   ` Neil Cudd
  1 sibling, 0 replies; 8+ messages in thread
From: Neil Cudd @ 1999-12-31 22:24 UTC (permalink / raw)
  To: help-gcc

When upgrading AIX with an Oracle db, you need to re-run rootpre.sh to
re-install the kernel extensions.
Would this be a cause of the problem ?

neil.

Bernard Schletz wrote in message < 84fb5e$gu$1@mailusr.wdf.sap-ag.de >...
>Hi,
>
>i switched from AIX 4.1 to 4.3: But when I now try
>to link my application the linker didn't accept the
>Oracle-Client-Shell libclntsh.a.
>
>I get the error:
>'collect2: /usr/lib/libc_r.a: not an import library'
>
>What is collect2 doing?
>What does this error mean?
>What could I do?
>Can anybody help me?
>
>Thanks
>Bernard
>
>


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~1999-12-31 22:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-30  2:25 AIX and ORACLE Client Shell Bernard Schletz
1999-12-30  3:34 ` Neil Cudd
1999-12-30  4:05   ` Bernard Schletz
1999-12-30 12:15     ` HÃ¥kan Winbom
1999-12-31 22:24       ` HÃ¥kan Winbom
1999-12-31 22:24     ` Bernard Schletz
1999-12-31 22:24   ` Neil Cudd
1999-12-31 22:24 ` Bernard Schletz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).