FS#49113 - [bigloo] error while loading shared libraries
Attached to Project:
Arch Linux
Opened by tetsumi (tetsumi) - Wednesday, 27 April 2016, 14:40 GMT
Last edited by Jürgen Hötzel (juergen) - Sunday, 05 June 2016, 11:51 GMT
Opened by tetsumi (tetsumi) - Wednesday, 27 April 2016, 14:40 GMT
Last edited by Jürgen Hötzel (juergen) - Sunday, 05 June 2016, 11:51 GMT
|
Details
Description:
Neither The compiler (static) nor a compiled executable (dynamic) can't find bigloo's libraries. Steps to reproduce: 1. Sample code foo.scm (module bench (library pthread) (main main)) (define (main args) (define a (instantiate::pthread (body (lambda () (print "Thread a"))))) (define b (instantiate::pthread (body (lambda () (print "Thread b"))))) (thread-start-joinable! a) (thread-start-joinable! b) (thread-join! a) (thread-join! b)) *** With dynamic linking *** 2. Compile with `bigloo foo.scm -o foo` 3. Executing ./foo gives the message ./foo: error while loading shared libraries: libbigloogc-4.2c.so: cannot open shared object file: No such file or directory *** With static linking *** 2. Compiling with `bigloo -static-bigloo foo.scm` gives the message *** WARNING:bigloo:bigloo Can't find library "libbigloo_s-4.2c.a" in path "(. /usr/lib/bigloo/4.2c)" *** ERROR:bigloo: Can't find any `bigloo' library -- (. /usr/lib/bigloo/4.2c) |
This task depends upon
libbigloo_s-4.2c.so => /usr/lib/bigloo/4.2c/libbigloo_s-4.2c.so => /usr/lib/bigloo/4.2c/libbigloogc-4.2c.so
so RUNPATH must also be set on the direct references. I just released
-> bigloo-4.2c-4-i686.pkg.tar.xz (i686)
-> bigloo-4.2c-4-x86_64.pkg.tar.xz (x86_64)