Can't build: readline package issue?

Hello, I’ve ran into a weird issue. I’m using the pros extension with the open source version of vs-code on my manjaro (linux) machine. When attempting to build a freshly created project, I get this error:

/bin/sh: symbol lookup error: /bin/sh: undefined symbol: rl_trim_arg_from_keyseq
/bin/sh: symbol lookup error: /bin/sh: undefined symbol: rl_trim_arg_from_keyseq
/bin/sh: symbol lookup error: /bin/sh: undefined symbol: rl_trim_arg_from_keyseq
/bin/sh: symbol lookup error: /bin/sh: undefined symbol: rl_trim_arg_from_keyseq
/bin/sh: symbol lookup error: /bin/sh: undefined symbol: rl_trim_arg_from_keyseq
/bin/sh: symbol lookup error: /bin/sh: undefined symbol: rl_trim_arg_from_keyseq
/bin/sh: symbol lookup error: /bin/sh: undefined symbol: rl_trim_arg_from_keyseq
/bin/sh: symbol lookup error: /bin/sh: undefined symbol: rl_trim_arg_from_keyseq
/bin/sh: symbol lookup error: /bin/sh: undefined symbol: rl_trim_arg_from_keyseq
/bin/sh: symbol lookup error: /bin/sh: undefined symbol: rl_trim_arg_from_keyseq
/bin/sh: symbol lookup error: /bin/sh: undefined symbol: rl_trim_arg_from_keyseq
/bin/sh: symbol lookup error: /bin/sh: undefined symbol: rl_trim_arg_from_keyseq
/bin/sh: symbol lookup error: /bin/sh: undefined symbol: rl_trim_arg_from_keyseq
/bin/sh: symbol lookup error: /bin/sh: undefined symbol: rl_trim_arg_from_keyseq
/bin/sh: symbol lookup error: /bin/sh: undefined symbol: rl_trim_arg_from_keyseq
/bin/sh: symbol lookup error: /bin/sh: undefined symbol: rl_trim_arg_from_keyseq
/bin/sh: symbol lookup error: /bin/sh: undefined symbol: rl_trim_arg_from_keyseq
/bin/sh: symbol lookup error: /bin/sh: undefined symbol: rl_trim_arg_from_keyseq
/bin/sh: symbol lookup error: /bin/sh: undefined symbol: rl_trim_arg_from_keyseq
/bin/sh: symbol lookup error: /bin/sh: undefined symbol: rl_trim_arg_from_keyseq
/bin/sh: symbol lookup error: /bin/sh: undefined symbol: rl_trim_arg_from_keyseq
/bin/sh: symbol lookup error: /bin/sh: undefined symbol: rl_trim_arg_from_keyseq
/bin/sh: symbol lookup error: /bin/sh: undefined symbol: rl_trim_arg_from_keyseq
/bin/sh: symbol lookup error: /bin/sh: undefined symbol: rl_trim_arg_from_keyseq
/bin/sh: symbol lookup error: /bin/sh: undefined symbol: rl_trim_arg_from_keyseq
/bin/sh: symbol lookup error: /bin/sh: undefined symbol: rl_trim_arg_from_keyseq
/bin/sh: symbol lookup error: /bin/sh: undefined symbol: rl_trim_arg_from_keyseq
/bin/sh: symbol lookup error: /bin/sh: undefined symbol: rl_trim_arg_from_keyseq
make: *** [common.mk:229: bin/cold.package.elf] Error 127
ERROR - pros.cli.build:make - Failed to make project: Exit Code 2 - pros-cli version:3.4.3
PROS-CLI Version:  3.4.3
PROS-Kernel Version: 3.8.0
Something went wrong while sending analytics!
Error: Failed to build

This appears to be something related to the readline package. Also, the command make all works fine.
Any help would be appreciated.

I removed libreadline.so.8 from ~/.config/“Code OSS”/User/globalStorage/sigbots.pros/install/pros-cli-linux/ and pointed it to my local libreadline package which is the newest (8.2). This worked :person_shrugging:

4 Likes

I have the same problem on my manjaro linux and it is the libreadline. I do not know how you point to your local library, but I just copy my local library to that directory and rename from libreadline.so.8.2 to libreadline.so.8.
libreadline.so.8.2 is in /lib/libreadline.so.8.2 by the way.

Nice! I hope my post helped you. By “pointing”, I meant making a link to libreadline, instead of copying, Like ln -s libreadline.so.8 /usr/lib/libreadline.so.8.2. That way, if the local libreadline gets updated, pros’s copy of it uses the updated version. Although this probably won’t work bc if it gets updated, it’ll have a new name

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.