BUG #2094: AIX: libraries contain the symbol main

From: "Hans Schlper" <hans(dot)schlueper(at)atosorigin(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #2094: AIX: libraries contain the symbol main
Date: 2005-12-06 14:19:13
Message-ID: 20051206141913.07962F144A@svr2.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 2094
Logged by: Hans Schlper
Email address: hans(dot)schlueper(at)atosorigin(dot)com
PostgreSQL version: 8.1.0
Operating system: AIX 5.3
Description: AIX: libraries contain the symbol main
Details:

Problem:
with xlc compiler under AIX 5.3 (also 4.3) we found the following problem.
The linker per default assumes that
you are linking a main program when you do not specify a module type. So
shared libraries contain the symbol
main. So you couldn't use the libraries

Solution:
Using LDFLAGS_SL="-bnoentry"
=> noentry point is specified.
=> no symbol main

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Nickolas Golubev 2005-12-06 17:11:03 BUG #2095: make looping
Previous Message Richard van den Berg 2005-12-06 13:11:12 pg_restore fails midstream