[Nix-dev] Loading a shared object into the compiler at build time fails
Vincent Laporte
vincent.laporte at irisa.fr
Mon Apr 27 21:14:26 CEST 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Le 2015-04-27 21:08, Vladimír Čunát a ēcrit :
> On 04/27/2015 09:03 PM, Eric Merritt wrote:
>> When ocaml build B, then it fails because it can't load the *.so
>> that is part of A.
>
> That all seems to boil down to the question: how are those
> so-files searched for? (by the ocaml compiler, I guess, or by
> what?)
The compiler looks in the colon-separated list of directories given in
the CAML_LD_LIBRARY_PATH environment variable.
Cheers,
- --
Vincent.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJVPoodAAoJEEEW/4F+UwyXKEgP/RCBFSFvNpnCLqMhhfJCCFoJ
yDE7WcmQ4+nn1OGFQvWpw5XGhnnR/DzMaoKXDWsOjJRTpz01Kynoi1thNiaLWFDW
cwMmk4YN+HhFXwsR9cmse+j3Vqg9qYezFchVFHfFBoVamipQzgKzFx8rPjOQN1dn
e446svgILwSF2rbN+shjIZ4AZ4/eqv5UYa5aURQ0ZnkAqFaH5yKqtnsM0h1sO0Xw
O+bqM4gAv9Mv4L/TH6v689XrU8oNs+4pynjQ2uiUszmCV9WAHM8KJYiZEi90vey9
Ic3Zgdo3xgsIOSbH4C0o7t3WfjtJm2ttugyqEhpJyHBk9jF040QkrPljYsJ4S0ez
z71N4P8NDPD/Rb9Eqrb0U+Q+mZ2a1ripmo2sGmFN4JBSd64517QkDApM+FcjwPRp
63GrHCROBamWj8EoEHZJNyep/dS+3XMzhH0muhbDH/t/r5d6eJ+NnDED3QThttAT
xQwatpNbhBnoVqNRUCDNZovoBiZahJ3y57OeuR2kc42vCJCoYWtJwQNqZ3IXLlmP
NSrRKkgQTM+VLBDzmy+2RSkFO7NnEhknUEzezIfYxGR2+UiKtfjbuoSrnVE7AIhf
bhW87a6ax6kBRZSHJL1IJ41Hq6ji1p8i0pMg4XDe3Ol0bhJLjwpg1tgF8x6Wj51y
NMBrfywQAhZuLkURdUZ+
=dZON
-----END PGP SIGNATURE-----
More information about the nix-dev
mailing list