public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Marco Atzeri <marco.atzeri@gmail.com>
To: cygwin@cygwin.com
Subject: Re: camlp4o Fatal error: cannot load shared library dllunix
Date: Fri, 05 May 2017 07:47:00 -0000	[thread overview]
Message-ID: <0a7ae94b-af2b-10c1-0c7b-3520123c9996@gmail.com> (raw)
In-Reply-To: <CAM-5HMuhHAeGGb4LT=0oK8hr0dc=c76L7TNHpZ1htNTZS3inTg@mail.gmail.com>

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

      reply	other threads:[~2017-05-05  7:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-05  7:15 Andy Li
2017-05-05  7:47 ` Marco Atzeri [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0a7ae94b-af2b-10c1-0c7b-3520123c9996@gmail.com \
    --to=marco.atzeri@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).