Mantis - leafnode
Viewing Issue Advanced Details
1058 regular use major always 2005-07-03 00:56 2009-02-16 16:42
james  
dam  
normal  
closed  
fixed  
none    
none  
0001058: RPATH is missing /opt/csw/lib
None of the leafnode programs run as the RPATH is missing /opt/csw/lib.


Workaround: set LD_LIBRARY_PATH=/opt/csw/lib

Fix: use -R/opt/csw/lib on compile
  Example:

/opt/csw/sbin/leafnode
ld.so.1: /opt/csw/sbin/leafnode: fatal: libpcre.so.0: open failed: No such file or directory
zsh: killed /opt/csw/sbin/leafnode


$ ldd /opt/csw/sbin/leafnode
    libpcre.so.0 => (file not found)
    libsocket.so.1 => /usr/lib/libsocket.so.1
    libnsl.so.1 => /usr/lib/libnsl.so.1
    libc.so.1 => /usr/lib/libc.so.1
    libdl.so.1 => /usr/lib/libdl.so.1
    libmp.so.2 => /usr/lib/libmp.so.2



LD_LIBRARY_PATH=/opt/csw/lib ldd /opt/csw/sbin/leafnode
    libpcre.so.0 => /opt/csw/lib/libpcre.so.0
    libsocket.so.1 => /usr/lib/libsocket.so.1
    libnsl.so.1 => /usr/lib/libnsl.so.1
    libc.so.1 => /usr/lib/libc.so.1
    libdl.so.1 => /usr/lib/libdl.so.1
    libmp.so.2 => /usr/lib/libmp.so.2
Issue History
2009-02-16 16:41 dam Note Added: 0005538
2009-02-16 16:41 dam Status assigned => closed
2009-02-16 16:41 dam Resolution open => fixed
2009-02-16 16:41 dam Status closed => assigned
2009-02-16 16:41 dam Assigned To gcasano => dam
2009-02-16 16:42 dam Status assigned => closed

Notes
(0003316)
james   
2006-03-20 05:06   
Problem not yet fixed, hence leafnode still excluded from stable release.
(0005538)
dam   
2009-02-16 16:41   
The issue is fixed in the current release.