On Sat, 2005-10-22 at 18:41 +0100, Antoine Martin wrote:
> On Sat, 2005-10-22 at 13:31 -0400, solar wrote:
> > On Sat, 2005-10-22 at 17:37 +0100, Antoine Martin wrote:
> > > On Sat, 2005-10-22 at 17:53 +0200, [EMAIL PROTECTED] wrote:
> > > > On 22 Oct 2005 at 16:45, Antoine Martin wrote:
> > > > > > what does scanelf -T /usr/lib/libmysqlclient.so.14 report?
> > > > > > if it's not text relocs, then post an strace please.
> > > > > Is scanelf a PaX tool?
> > > >
> > > > app-misc/pax-utils
> > > Thanks,
> > >
> > > scanelf -T /usr/lib/libmysqlclient.so.14
> > > shows nothing at all.
> > > (I also tried adding a -R, even -a shows nothing!)
> >
> >
> > This should help pinpoint whats up. Post the results of the following
> > commands.
> >
> >
> > emerge portage-utils pax-utils ; # If you don't already have both.
> I didn't.
> >
> > #1
> > qlist mysql | scanelf -qtf -
> TEXTREL /usr/lib/mysql/libmysqlclient.so
> TEXTREL /usr/lib/mysql/libmysqlclient_r.so
> TEXTREL /usr/lib/libmysqlclient.so
> TEXTREL /usr/lib/libmysqlclient.so.14.0.0
> TEXTREL /usr/lib/libmysqlclient_r.so
> TEXTREL /usr/lib/libmysqlclient_r.so.14.0.0
Looks like you do infact have textrels in your mysql.
I've seen this happen before when linked with a miscompiled
libcrypto.so
> > #2
> > scanelf -a /usr/lib/libmysqlclient.so.14
> Nothing here
If nothing here then chances are your running scanelf while trying to
enforce and no such policy exists for scanelf.
> >
> > #3
> > scanelf -a $(qfile -C $(scanelf -BF%n /usr/lib/libmysqlclient.so.14 \
> > | awk '{print $1}'| tr , ' ' ) | cut -d '(' -f 2 | tr ')' ' ' )
> scanelf: Unknown option
Perhaps you typo something here.
You should be able to copy + paste the command.
It should look something like the following.
tinderbox ~ # scanelf -a -- $(qfile -C $(scanelf -BF%
n /usr/lib/libmysqlclient.so.14 | awk '{print $1}'| tr , ' ' ) | cut -d
'(' -f 2 | tr ')' ' ' )
TYPE PAX STK/REL/PTL TEXTREL RPATH BIND FILE
ET_DYN ---xe- RW- R-- RW- - - NOW /lib/libcrypt.so.1
ET_DYN ---xe- RW- R-- RW- - - NOW /lib/libnsl.so.1
ET_DYN ---xe- RW- R-- RW- - - NOW /lib/libm.so.6
ET_DYN ---xe- RW- R-- RW- - - NOW /lib/libz.so.1
ET_DYN ---xe- RW- R-- RW- - - NOW /lib/libc.so.6
ET_DYN ---xe- RW- R-- RW- - - NOW /usr/lib/libssl.so.0.9.7
ET_DYN ---xe- RW- R-- RW- - - NOW /usr/lib/libcrypto.so.0.9.7
--
solar <[EMAIL PROTECTED]>
Gentoo Linux
--
[email protected] mailing list