shared library compile error - Mailing list pgsql-bugs

From Carl Anderson
Subject shared library compile error
Date
Msg-id 3B450608.F3C5646A@mindspring.com
Whole thread Raw
Responses Re: shared library compile error
List pgsql-bugs
version 7.1.2

using gcc3.0 under solaris 2.7

Compile completes without error but the shared libraries are not realy
shared libs.

If i link against them (with package such as php or tcl) I get the
message
"symbol main not found". an inspection using nm -a shows
and undefined symbol "main"

FIX

edit
src.Makefile.shlib

change section for gnu-ld and solaris to include the flag -shared.

clean
recompile

All is well.


--
----------------------------------
E-Mail: candrsn@mindspring.com

New Hampshire tells us "common sense for all"
    where can I get mine?
----------------------------------

pgsql-bugs by date:

Previous
From: José María Fernández González
Date:
Subject: Re: Referential Integrity corrupted sometimes by Rules
Next
From: Tom Lane
Date:
Subject: Re: sql query cursor problem