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

shared library compile error

From: Carl Anderson <candrsn(at)mindspring(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: shared library compile error
Date: 2001-07-06 00:27:52
Message-ID: 3B450608.F3C5646A@mindspring.com (view raw or flat)
Thread:
Lists: 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(at)mindspring(dot)com

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

Responses

pgsql-bugs by date

Next:From: Justin CliftDate: 2001-07-06 04:42:21
Subject: Postmaster 7.1.2 hanging
Previous:From: pgsql-bugsDate: 2001-07-05 13:40:38
Subject: Problem with Euro currency symbol with JDBC-Driver on WinNT

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