Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#418 closed defect (fixed)

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:
Estimated difficulty:

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 (1)

rules.make.diff (749 bytes) - added by ewfalor 13 years ago.
Patch to replace line accidentally deleted in commit 192586843357da2319cd171e827955c75d0ffef4

Download all attachments as: .zip

Change History (7)

comment:1 Changed 13 years ago by felix winkelmann

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 13 years ago by ewfalor

Attachment: rules.make.diff added

Patch to replace line accidentally deleted in commit 192586843357da2319cd171e827955c75d0ffef4

comment:2 Changed 13 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

comment:3 Changed 13 years ago by felix winkelmann

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

comment:4 Changed 13 years ago by ewfalor

Resolution: fixed
Status: newclosed

Built commit 3fb553cdddb6c7d120666e6d0f5af355233e38db, and the bug is gone.

comment:5 Changed 13 years ago by felix winkelmann

Milestone: 4.7.04.8.0

Milestone 4.7.0 deleted

comment:6 Changed 12 years ago by felix winkelmann

Milestone: 4.8.04.9.0

Milestone 4.8.0 deleted

Note: See TracTickets for help on using tickets.