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

Re: ocaml compiled binaries and rpath



> And you really cannot put them in a separate C library that is common to
> both stub libs ?

 It would not make much sense. We are talking about a very small set
 of #define and 1-line functions. Each binding should always provide
 its own separate 50-lines C library. Moreover, I do not see
 anything bad a priori in one binding using another one.

>   2) imagine you have more than one version of the library around, or
>   two different ocaml runtime (ocaml-3.06 and ocaml-3.07 for example),
>   then you would have to choose which of these you will have installed
>   in the ld.so aware library or in the /etc/ld.so.conf file.

 That's convince me. Probably moving the symbolic links to
 /usr/lib (and using versioned .so names) is the best option.

> Finally, maybe all this shows that there is a propper usage of rpath
> finally, and that the ocaml_packaging_policy should allow rpath for
> these cases, and these cases only.

 Maybe. But the scary scenario of Denis where you end up compiling
 against an old version still applied, doesn't it?

> What do you think about this Denis ?

 					Cheers,
					C.S.C.

-- 
----------------------------------------------------------------
Real name: Claudio Sacerdoti Coen
PhD Student in Computer Science at University of Bologna
E-mail: sacerdot@cs.unibo.it
http://www.cs.unibo.it/~sacerdot
----------------------------------------------------------------



Reply to: