Re: [ILUG] complex one...

From: John P. Looney (jplooney-ilug at domain online.ie)
Date: Thu 10 Feb 2000 - 14:03:22 GMT


On Thu, Feb 10, 2000 at 01:29:16PM -0000, Kenn Humborg mentioned:
> > You know the way that you can edit & play around with .a files with 'ar'.
> > Well, can you remove functions or rename function names in a library ?
> > Just thinking of that Oracle shared library with all those ldap_
> > functions I don't want in it...
>
> You should be able to remove the object file that contains those
> functions. Hopefully they're not mixed in with other stuff that
> you require.

 Not quite that easy. It's a 5MB shared object.

 Judicous use of find & nm located a bourne shell script that rebuilds the
libclntsh.so.8.0 shared library. And, removing any mention of ldap from
that, and any files with ldap in them, from the $ORACLE_HOME directory
allowed me to prune any mention of LDAP from Oracle's client libraries!

Kate, the very happy camper.



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:05:24 GMT