Richard Cook ([EMAIL PROTECTED]) reports a bug with a severity of 2
The lower the number the more severe it is.

Short Description
Wrong shlib flag for GCC compilation on Solaris

Long Description
In the file .../src/Makefile.shlib, line 178, the "-G" flag is set for compilation of 
shared libraries on Solaris.  This is okay if you are using the Sun toolset.  
Unfortunately GCC needs the flag "-shared" instead.  The symptom that reveals this is 
that pgaccess won't work because libpgtcl.so contains the "main" symbol.  My 
workaround was to edit in the new flag.  Somebody on the team might want to modify the 
Makefile to account for use of the gcc toolset.  This defect set me back three days.  
Please don't let anyone else suffer through this.  It might be well to post it as a 
known problem on Solaris.

Sample Code


No file was uploaded with this report


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Reply via email to