Re: RTLD_LAZY considered harmful (Re: pltlc and pltlcu - Mailing list pgsql-hackers

From Zeugswetter Andreas SB SD
Subject Re: RTLD_LAZY considered harmful (Re: pltlc and pltlcu
Date
Msg-id 46C15C39FEB2C44BA555E356FBCD6FA48877F0@m0114.s-mxs.net
Whole thread Raw
List 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


pgsql-hackers by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: again on index usage (7.1.3)
Next
From: Daniel Kalchev
Date:
Subject: Re: again on index usage (7.1.3)