public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* camlp4o Fatal error: cannot load shared library dllunix
@ 2017-05-05  7:15 Andy Li
  2017-05-05  7:47 ` Marco Atzeri
  0 siblings, 1 reply; 2+ messages in thread
From: Andy Li @ 2017-05-05  7:15 UTC (permalink / raw)
  To: cygwin

Hi,

I'm having issue with the camlp4 Cygwin package
(ocaml-camlp4-4.04+1-1) in the 64-bit Cygwin.
When I run camlp4o, it returns an error:

> $ camlp4o
> Fatal error: cannot load shared library dllunix
> Reason: flexdll error: cannot relocate RELOC_REL32, target is too far: 0xfffffffc0dad8b5f  0xdad8b5f

I tried rebaseall, but it didn't help.

I notice that ocaml-camlp4 depends on ocaml-base, which is "Obsoleted
by ocaml" according to
https://cygwin.com/cgi-bin2/package-grep.cgi?grep=ocaml-base&arch=x86_64
Could it be the source of error?

Interestingly, camlp4o works correctly in my 32-bit Cygwin, but not 64-bit one.

I wonder if anyone can reproduce the problem, or it's just my
machine's issue? Any help is appreciated.

Best regards,
Andy

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: camlp4o Fatal error: cannot load shared library dllunix
  2017-05-05  7:15 camlp4o Fatal error: cannot load shared library dllunix Andy Li
@ 2017-05-05  7:47 ` Marco Atzeri
  0 siblings, 0 replies; 2+ messages in thread
From: Marco Atzeri @ 2017-05-05  7:47 UTC (permalink / raw)
  To: cygwin

On 05/05/2017 09:15, Andy Li wrote:
> Hi,
>
> I'm having issue with the camlp4 Cygwin package
> (ocaml-camlp4-4.04+1-1) in the 64-bit Cygwin.
> When I run camlp4o, it returns an error:
>
>> $ camlp4o
>> Fatal error: cannot load shared library dllunix
>> Reason: flexdll error: cannot relocate RELOC_REL32, target is too far: 0xfffffffc0dad8b5f  0xdad8b5f
>
> I tried rebaseall, but it didn't help.
>
> I notice that ocaml-camlp4 depends on ocaml-base, which is "Obsoleted
> by ocaml" according to
> https://cygwin.com/cgi-bin2/package-grep.cgi?grep=ocaml-base&arch=x86_64
> Could it be the source of error?
>
> Interestingly, camlp4o works correctly in my 32-bit Cygwin, but not 64-bit one.
>
> I wonder if anyone can reproduce the problem, or it's just my
> machine's issue? Any help is appreciated.
>
> Best regards,
> Andy
>

known issue, see workaround on
https://cygwin.com/ml/cygwin-apps/2017-04/msg00003.html

Regards
Marco

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-05-05  7:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-05  7:15 camlp4o Fatal error: cannot load shared library dllunix Andy Li
2017-05-05  7:47 ` Marco Atzeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).