guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Error when compiling file using Bigloo Scheme


From: Sam Lee
Subject: Error when compiling file using Bigloo Scheme
Date: Thu, 7 Jul 2022 15:56:49 +0000

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 via email to

[Prev in Thread] Current Thread [Next in Thread]