Create $LOCALBASE/libdata/ldconfig/cde
which points the runtime linker to /usr/dt/lib

There is no need to invoke ldconfig manually
after this.
---
 .../post_install/freebsd/configShlibs.src          |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/cde/admin/IntegTools/post_install/freebsd/configShlibs.src 
b/cde/admin/IntegTools/post_install/freebsd/configShlibs.src
index 3807af3..101ca50 100755
--- a/cde/admin/IntegTools/post_install/freebsd/configShlibs.src
+++ b/cde/admin/IntegTools/post_install/freebsd/configShlibs.src
@@ -78,6 +78,8 @@ FILESET=CDE-SHLIBS
 retval=0
 CDE_TOP=CDE_INSTALLATION_TOP
 CDE_CONF_TOP=CDE_CONFIGURATION_TOP
+LOCALBASE=/usr/local
+LDCONFIGFILE="${LOCALBASE}/libdata/ldconfig/cde"
 
   HandleOption $*
 
@@ -88,6 +90,7 @@ CDE_CONF_TOP=CDE_CONFIGURATION_TOP
 
     RemoveShlibFiles
 
+    rm -rf $LDCONFIGFILE
     /sbin/ldconfig -R
 
     VerifyInstalledFiles
@@ -97,7 +100,8 @@ CDE_CONF_TOP=CDE_CONFIGURATION_TOP
 
     MakeTheLink
 
-    /sbin/ldconfig -m "${DT_TOP}/lib"
+    echo "${DT_OPT}/lib" > $LDCONFIGFILE
+    /sbin/ldconfig -R
 
   elif [ "$OPERATION" = "verify" ]
   then
-- 
1.7.9.2


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to