all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sam Lee <samlee746@yahoo.com>
To: guix-devel@gnu.org
Subject: Error when compiling file using Bigloo Scheme
Date: Thu, 7 Jul 2022 15:56:49 +0000	[thread overview]
Message-ID: <20220707155649.zmegt2ncimhroxxx@localhost> (raw)
In-Reply-To: 20220707155649.zmegt2ncimhroxxx.ref@localhost

I installed Bigloo version 4.3g using Guix, but there is always an error
when trying to compile a Scheme program:

    $ bigloo myfile.scm
    /usr/bin/ld: cannot find -lunistring
    collect2: error: ld returned 1 exit status

Contents of myfile.scm:

    (module mymodule
            (main start))

    (define (start argv)
      (display "Hello!")
      (newline))

Is there something wrong with Bigloo's package definition in Guix?

I tried to "solve" the problem by installing libunistring-dev on my OS
(sudo apt-get install libunistring-dev). But I get a different error:

--8<---------------cut here---------------start------------->8---
$ bigloo myfile.scm
/usr/bin/ld: warning: libpcre.so.1, needed by /gnu/store/nnkm3cg8k28c3i2vsclwhkzp3jd6cgxr-bigloo-4.3g/lib/bigloo/4.3g/libbigloo_s-4.3g.so, may conflict with libpcre.so.3
/usr/bin/ld: /gnu/store/nnkm3cg8k28c3i2vsclwhkzp3jd6cgxr-bigloo-4.3g/lib/bigloo/4.3g/libbigloo_s-4.3g.so: undefined reference to `fstat@GLIBC_2.33'
/usr/bin/ld: /gnu/store/nnkm3cg8k28c3i2vsclwhkzp3jd6cgxr-bigloo-4.3g/lib/bigloo/4.3g/libbigloo_s-4.3g.so: undefined reference to `lstat@GLIBC_2.33'
/usr/bin/ld: /gnu/store/nnkm3cg8k28c3i2vsclwhkzp3jd6cgxr-bigloo-4.3g/lib/bigloo/4.3g/libbigloo_s-4.3g.so: undefined reference to `stat@GLIBC_2.33'
collect2: error: ld returned 1 exit status
--8<---------------cut here---------------end--------------->8---


       reply	other threads:[~2022-07-08 13:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20220707155649.zmegt2ncimhroxxx.ref@localhost>
2022-07-07 15:56 ` Sam Lee [this message]
2022-07-08 14:25   ` Error when compiling file using Bigloo Scheme zimoun
2022-07-08 15:42     ` Sam Lee
2022-07-08 16:53       ` Liliana Marie Prikler
2022-07-11  7:29         ` zimoun

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=20220707155649.zmegt2ncimhroxxx@localhost \
    --to=samlee746@yahoo.com \
    --cc=guix-devel@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.