* [Caml-list] Can't run the program with ocamlrun
@ 2015-09-25 2:57 =?gb18030?B?0MTI59byueI=?=
2015-09-25 8:32 ` Mr. Herr
0 siblings, 1 reply; 2+ messages in thread
From: =?gb18030?B?0MTI59byueI=?= @ 2015-09-25 2:57 UTC (permalink / raw)
To: =?gb18030?B?Y2FtbC1saXN0?=
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb18030", Size: 339 bytes --]
Hi,everybody,
I wanna run the program with ocamlrun.After that I input "./paparazzi"in the directory, it just returns:"-bash: ./paparazzi: /opt/local/bin/ocamlrun: bad interpreter: No such file or directory" And I have installed opam and ocaml with homebrew for my osx(10.10.5).What may cause the problem like this?Thank you!
Yours!
[-- Attachment #2: Type: text/html, Size: 634 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Caml-list] Can't run the program with ocamlrun
2015-09-25 2:57 [Caml-list] Can't run the program with ocamlrun =?gb18030?B?0MTI59byueI=?=
@ 2015-09-25 8:32 ` Mr. Herr
0 siblings, 0 replies; 2+ messages in thread
From: Mr. Herr @ 2015-09-25 8:32 UTC (permalink / raw)
To: caml-list
[-- Attachment #1: Type: text/plain, Size: 773 bytes --]
On 25.09.2015 04:57, 心如烛光 wrote:
> Hi,everybody,
> I wanna run the program with ocamlrun.After that I input "./paparazzi"in the
> directory, it just returns:"-bash: ./paparazzi: /opt/local/bin/ocamlrun: bad
> interpreter: No such file or directory" And I have installed opam and ocaml
> with homebrew for my osx(10.10.5).What may cause the problem like this?Thank you!
>
> Yours!
Hi,
your description about what you exactly did, how the program was compiled, is not
very clear,
so this is a guess:
Maybe your executable was compiled with a version of ocamlc different from the
version of ocamlrun.
Solution: recompile.
Recommendation: if compiling with "ocamlc -o someexe ..." add option -custom to avoid
the version problem.
/Str.
[-- Attachment #2: Type: text/html, Size: 1491 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-25 8:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-25 2:57 [Caml-list] Can't run the program with ocamlrun =?gb18030?B?0MTI59byueI=?=
2015-09-25 8:32 ` Mr. Herr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox