Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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

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

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


pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group