Tiny Core Extensions > TCE Bugs

libreadline should be linked to libncurses ?

(1/1)

Arslan S.:

--- Code: ---tc@box:~$ seed

** (seed:7431): CRITICAL **: Line 2 in /usr/local/share/seed/repl.js: ModuleError Error loading native module at /usr/local/lib/seed/libseed_readline.so: /usr/local/lib/libreadline.so.6: undefined symbol: BC
--- End code ---

temporary fix

--- Code: ---tc@box:~$ export LD_PRELOAD=/lib/libncurses.so
tc@box:~$ seed
> print("Hello");
Hello
>
--- End code ---

permanent fix is to build readline with

--- Code: ---make SHLIB_LIBS=-lncurses
--- End code ---

this way libreadline is forced to link against libncurses

maybe this is a problem which is specific to seed, but libreadline usually depends on libncurses in other linux distributions

note: seed is not in repo yet, :)

danielibarnes:
Sounds like a good idea. I'll rebuild and resubmit.

Navigation

[0] Message Index

Go to full version