dbTalk Databases Forums  

Re: [BUGS] BUG #2094: AIX: libraries contain the symbol main

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss Re: [BUGS] BUG #2094: AIX: libraries contain the symbol main in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Seneca Cunningham
 
Posts: n/a

Default Re: [BUGS] BUG #2094: AIX: libraries contain the symbol main - 12-08-2005 , 09:07 AM






Hans SchlXXper wrote:
Quote:
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"
How did you configure postgres? Every AIX build that I have seen
includes "-Wl,-bnoentry" as part of the LDFLAGS_SL, which is sourced
from src/makefiles/Makefile.aix (I know that a non-gcc build on aix3.2.5
would use "-e _nostart" instead).

--
Seneca Cunningham
scunning (AT) ca (DOT) afilias.info

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.