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

[LDM #PXK-681085]: LDM v6.12.6 on Mac OS X v10.8.5



Dave,

You're being bitten by OS X's security feature that doesn't allow relative 
pathnames for shared libraries in setuid programs.

Let's try a static installation via the "--disable-shared" option of the 
configure(1) script. Execute the commands

make distclean
./configure --disable-shared ...

(where "..." is whatever you had before) in the top-level source-directory and 
continue as before.

> Steve,
> 
> Got it, installed it successfully, stopped the old LDM (v6.11.6), removed the 
> “runtime” symbolic link, reestablished the runtime link to ldm-6.12.7, and 
> restarted the LDM. The results:
> 
> ldm_virga% ldmadmin stop
> Stopping the LDM server...
> Waiting for the LDM server to terminate...
> ldm_virga% \rm runtime; ln -s ldm-6.12.7 runtime
> ldm_virga% ldmadmin start
> The product-queue is OK.
> Checking pqact(1) configuration-file(s)...
> /usr/local/unidata/ldm/etc/pqact.conf: syntactically correct
> dyld: Library not loaded: libz.so.1.2.8
> Referenced from: /usr/local/unidata/ldm/bin/hupsyslog
> Reason: unsafe use of relative rpath libz.so.1.2.8 in 
> /usr/local/unidata/ldm/bin/hupsyslog with restricted binary
> new_log(): Couldn't notify system logging daemon
> start_ldm(): Couldn't rotate log files
> 
> (If it matters, libz.so.1.2.8 resides in /usr/local/lib on my machine.)
> 
> — Dave
> 
> 
> ***************************************************************
> * Dr. Dave Dempsey, Chair           |       ^    ___    \|/   *
> * Dept. of Earth & Climate Sciences |  )   ^   /||_||\ —-0—-  *
> * San Francisco State University    | )  )    / ||_|| \ /|\   *
> * 1600 Holloway Ave.                |  )  )  /  ||_||  \      *
> * San Francisco, CA   94132         |  )  ) /   ||_||   \  ^  *
> *                                   | )  )  )   ||_||    \    *
> * Phone:  (415) 338-7716            |  )  )  )~~||~||~~~~~\~~ *
> * FAX:      (415) 338-7705          | )  )  )  ) ~  ~ ~ ~ ~ ~ *
> * Email:   address@hidden         |  )  )   )  ) ) ~ ~  ~ ~ *
> ***************************************************************

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: PXK-681085
Department: Support LDM
Priority: Normal
Status: Closed