[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

install vs cp

From: ahoward
Subject: install vs cp
Date: Wed, 10 Apr 2002 06:06:11 +0000 (GMT)

i have a daemon process which uses a dlopened module, which changes from
time to time.  on SIGHUP to daemon dlcloses said module, and reopens what
is (hopefully) the fresh copy, resolves it function ptrs again, and
continues.  this seems to work o.k except for some odd behavior i've seen
with libtool install mode :

        using cp for the install either :
                a)      causes dlclose to core dump
                b)      does not allow the process to pick up the 'new'

        using install always results in the 'right' behavior

i'm running this on 6 or 7 different platforms, and have compiled with
-avoid-versioning to that is not the issue.

can anyone comment on why using cp instead of install should make a
difference?  i've even notice weird behavior using different install

thanks for the advice.



 | Ara Howard
 | NOAA Forecast Systems Laboratory
 | Information and Technology Services
 | Data Systems Group
 | R/FST 325 Broadway
 | Boulder, CO 80305-3328
 | Email: address@hidden
 | Phone:  303-497-7238
 | Fax:    303-497-7259

reply via email to

[Prev in Thread] Current Thread [Next in Thread]