Unix Programming - unloading a shared lib on HP-UX

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > April 2004 > unloading a shared lib on HP-UX





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author unloading a shared lib on HP-UX
vk02720

2004-04-19, 8:34 pm

How do I unload a shared library on HP-UX ? I am able to compile and
create the .sl file which a daemon process uses. I shut down the
deamon and restart but it is not picking up the new lib.

TIA
Paul Pluzhnikov

2004-04-20, 12:33 am

vk02720@my-deja.com (vk02720) writes:

> How do I unload a shared library on HP-UX ? I am able to compile and
> create the .sl file which a daemon process uses. I shut down the
> deamon and restart but it is not picking up the new lib.


AIX is the only modern UNIX I know that has "sticky" shared
libraries. HP-UX does not do that.

Your problem is somewhere else (e.g. a different copy of the .sl
exists elsewhere, and your daemon picks it up instead of the one
you replaced). Or else, your replace command fails with EBUSY
because the daemon is still running and using it at the time you've
attempted to replace it.

Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com