Subject: 2.0.6 on OpenBSD, dynamic-link fails to find .la
From: "Taylan Ulrich B." <[email-masked]>
To: [email-masked]
Date: Sun, 22 Jul 2012 02:07:00 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Testing 2.0.6 on OpenBSD, three tests fail due to dynamic-link failing
to locate .la files.
The libtest-foo.la files are certainly there in test-suite/standalone.

(On a sidenote, the link to lt_dlopenext on this page
http://www.gnu.org/software/guile/manual/html_node/Foreign-Libraries.html
is a 404.)

Regards,
Taylan

Backtrace:
In ice-9/boot-9.scm:
 157: 9 [catch #t #<catch-closure 3c1a67c0> ...]
In unknown file:
   ?: 8 [apply-smob/1 #<catch-closure 3c1a67c0>]
In ice-9/boot-9.scm:
  63: 7 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 414: 6 [eval # #]
In ice-9/boot-9.scm:
2131: 5 [save-module-excursion #<procedure 3c164160 at ice-9/boot-9.scm:3660:3 ()>]
3667: 4 [#<procedure 3c164160 at ice-9/boot-9.scm:3660:3 ()>]
1456: 3 [%start-stack load-stack ...]
1461: 2 [#<procedure 3c1be960 ()>]
In unknown file:
   ?: 1 [primitive-load "/home/tub/src/guile-2.0.6/test-suite/standalone/./test-asmobs"]
   ?: 0 [load-extension "./libtest-asmobs" "libtest_asmobs_init"]

ERROR: In procedure load-extension:
ERROR: In procedure dynamic-link: file: "./libtest-asmobs", message: "file not found"
FAIL: test-asmobs

Backtrace:
In ice-9/boot-9.scm:
 157: 10 [catch #t #<catch-closure 3c1a67c0> ...]
In unknown file:
   ?: 9 [apply-smob/1 #<catch-closure 3c1a67c0>]
In ice-9/boot-9.scm:
  63: 8 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 414: 7 [eval # #]
In ice-9/boot-9.scm:
2131: 6 [save-module-excursion #<procedure 3c164160 at ice-9/boot-9.scm:3660:3 ()>]
3667: 5 [#<procedure 3c164160 at ice-9/boot-9.scm:3660:3 ()>]
1456: 4 [%start-stack load-stack ...]
1461: 3 [#<procedure 3c1be960 ()>]
In unknown file:
   ?: 2 [primitive-load "/home/tub/src/guile-2.0.6/test-suite/standalone/./test-ffi"]
In ice-9/eval.scm:
 435: 1 [eval # ()]
In unknown file:
   ?: 0 [dynamic-link "./libtest-ffi"]

ERROR: In procedure dynamic-link:
ERROR: In procedure dynamic-link: file: "./libtest-ffi", message: "file not found"
FAIL: test-ffi

Backtrace:
In ice-9/boot-9.scm:
 157: 9 [catch #t #<catch-closure 3c1a67c0> ...]
In unknown file:
   ?: 8 [apply-smob/1 #<catch-closure 3c1a67c0>]
In ice-9/boot-9.scm:
  63: 7 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 414: 6 [eval # #]
In ice-9/boot-9.scm:
2131: 5 [save-module-excursion #<procedure 3c164160 at ice-9/boot-9.scm:3660:3 ()>]
3667: 4 [#<procedure 3c164160 at ice-9/boot-9.scm:3660:3 ()>]
1456: 3 [%start-stack load-stack ...]
1461: 2 [#<procedure 3c1be948 ()>]
In unknown file:
   ?: 1 [primitive-load "/home/tub/src/guile-2.0.6/test-suite/standalone/./test-extensions"]
   ?: 0 [load-extension "./libtest-extensions" "libtest_extensions_init"]

ERROR: In procedure load-extension:
ERROR: In procedure dynamic-link: file: "./libtest-extensions", message: "file not found"
FAIL: test-extensions