Hi Hez:

To follow up on the recent permission bits thread with Andrew I have
made this installed ocaml stublibs change as of revision 11880 to make
all our installed shared objects consistently drop the execution
permission bits.

The result of "make install" on my system is as follows:

software@raven> ls -l
/home/software/plplot_svn/installcmake/lib/ocaml/3.11.2/stublibs/
total 148
-rw-r--r-- 1 software software   6240 Aug 12 11:09 dllplcairo_stubs.so
-rw-r--r-- 1 software software 136378 Aug 12 11:09 dllplplot_stubs.so

where my install prefix option for cmake was

-DCMAKE_INSTALL_PREFIX=/home/software/plplot_svn/installcmake

Could you please test this result on your own Linux system to make
sure the lack of permissions bits is okay for these installed shared
objects?  I removed these permission bits using consistency arguments,
but ocaml may have special needs that we are unaware of.

My guess is our CMake-based build and test system
"test_noninteractive" target includes ocaml tests of our standard
examples that already use dllplplot_stubs.so, but I am not completely
sure about that, and I am not aware of any test that uses
dllplcairo_stubs.so (although there might be one).  I assume these
shared objects are dlopened by ocaml in some way so that ldd (which is
based on the run-time loader rather than dynamic loading) won't help
you to figure out what is using what. So to figure out when/where
these shared objects are needed will probably require some brute-force
experiments of renaming those shared objects to see what tests fail
(if any).

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
Subversion made easy with a complete admin console. Easy 
to use, easy to manage, easy to install, easy to extend. 
Get a Free download of the new open ALM Subversion platform now.
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to