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.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!