Ticket #418 (closed defect: fixed)

Opened 3 years ago

Last modified 8 months ago

csi unable to load core libraries in 4.6.0 on amd64

Reported by: ewfalor Owned by:
Priority: major Milestone: 4.9.0
Component: core libraries Version: 4.6.x
Keywords: Cc:

Description

When I attempt to load a core library in csi, I get an error message saying that libchicken.so.5 cannot be found.

% csi -n

#;1> (use lolevel)
; loading library lolevel ...

Error: (load-library) unable to load library
lolevel
"libchicken.so.5: cannot open shared object file: No such file or directory"

Call history:

<syntax> (use lolevel)
<syntax> (##core#require-extension (lolevel) #t)
<syntax> (##core#begin (##core#begin (##sys#load-library (quote lolevel) #f)) (##core#undefined))
<syntax> (##core#begin (##sys#load-library (quote lolevel) #f))
<syntax> (##sys#load-library (quote lolevel) #f)
<syntax> (quote lolevel)
<syntax> (##core#quote lolevel)
<syntax> (##core#undefined)
<eval> (##sys#load-library (quote lolevel) #f) <--

Attachments

rules.make.diff (0.7 kB) - added by ewfalor 3 years ago.
Patch to replace line accidentally deleted in commit 192586843357da2319cd171e827955c75d0ffef4

Change History

Changed 3 years ago by felix

That's a linux system, I assume? What installation prefix did you use? What is the output of ls -l <PREFIX>/lib/libchicken*? Do normal compiled programs work? What exact chicken version did you use?

(you can also run chicken-bug and attach the generated report)

Changed 3 years ago by ewfalor

Patch to replace line accidentally deleted in commit 192586843357da2319cd171e827955c75d0ffef4

Changed 3 years ago by ewfalor

In commit 192586843357da2319cd171e827955c75d0ffef4 felix cleaned up rules.make. It appears that while refactoring a big REMOVE_COMMAND he missed handling LIBCHICKEN_SO_FILE

Changed 3 years ago by felix

Argh. Thanks for the patch (applied in "experimental" branch). If this solves the problem for you, then please close the ticket.

Changed 3 years ago by ewfalor

  • status changed from new to closed
  • resolution set to fixed

Built commit 3fb553cdddb6c7d120666e6d0f5af355233e38db, and the bug is gone.

Changed 2 years ago by felix

  • milestone changed from 4.7.0 to 4.8.0

Milestone 4.7.0 deleted

Changed 8 months ago by felix

  • milestone changed from 4.8.0 to 4.9.0

Milestone 4.8.0 deleted

Note: See TracTickets for help on using tickets.