Re: RTLD_LAZY considered harmful (Re: pltlc and pltlcu

From: "Zeugswetter Andreas SB SD" <ZeugswetterA(at)spardat(dot)at>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: RTLD_LAZY considered harmful (Re: pltlc and pltlcu
Date: 2002-02-12 16:28:06
Message-ID: 46C15C39FEB2C44BA555E356FBCD6FA48877F0@m0114.s-mxs.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> > Next thing to watch out for is, that RTLD_NOW will probably not load
> > a shared lib, that was not linked with a "no entry" flag.
>
> Say again?

On e.g. AIX (and Sun?) the Makefile.shlib does not use a "-bnoentry" flag
when linking shared libs. While the pg backend successfully loads
those libs, tclsh e.g. fails. Without reading the tcl code, I thought it
might be RTLD_NOW.

I just tested 7.2 on AIX with RTLD_NOW though, and it works fine,
so the issue must be something else.

Andreas

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Kalchev 2002-02-12 16:36:55 Re: again on index usage (7.1.3)
Previous Message Stephan Szabo 2002-02-12 16:22:17 Re: again on index usage (7.1.3)