Cursor-0.43.6 ( chat, compose, or source control) broken

Describe the Bug

Running on ubuntu machine I cant access chat, compose, or source control.

Steps to Reproduce

./cursor-0.43.6-build-241206z7j6me2e2-x86_64.AppImage

Expected Behaviour

(base) sahand@sahand-System-Product-Name:~$ ./cursor-0.43.6-build-241206z7j6me2e2-x86_64\ .AppImage
Error: /lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.30' not found (required by /tmp/.mount_cursorYA2qVU/resources/app/node_modules.asar.unpacked/@vscode/spdlog/build/Release/spdlog.node) at process.func [as dlopen] (node:electron/js2c/node_init:2:2214) at Module._extensions..node (node:internal/modules/cjs/loader:1470:18) at Object.func [as .node] (node:electron/js2c/node_init:2:2441) at Module.load (node:internal/modules/cjs/loader:1215:32) at Module._load (node:internal/modules/cjs/loader:1031:12) at c._load (node:electron/js2c/node_init:2:13801) at Module.require (node:internal/modules/cjs/loader:1240:19) at N (/tmp/.mount_cursorYA2qVU/resources/app/out/main.js:2:647) at bindings (/tmp/.mount_cursorYA2qVU/resources/app/node_modules.asar/bindings/bindings.js:112:48) at Object.<anonymous> (/tmp/.mount_cursorYA2qVU/resources/app/node_modules.asar/@vscode/spdlog/index.js:3:35) at l._compile (/tmp/.mount_cursorYA2qVU/resources/app/out/main.js:2:1261) at Module._extensions..js (node:internal/modules/cjs/loader:1432:10) at Module.load (node:internal/modules/cjs/loader:1215:32) at Module._load (node:internal/modules/cjs/loader:1031:12) at c._load (node:electron/js2c/node_init:2:13801) at Module.require (node:internal/modules/cjs/loader:1240:19) at require (node:internal/modules/helpers:179:18) at F (/tmp/.mount_cursorYA2qVU/resources/app/out/main.js:3:98) at e.load (/tmp/.mount_cursorYA2qVU/resources/app/out/main.js:2:1642) at p.load (/tmp/.mount_cursorYA2qVU/resources/app/out/main.js:1:13512) at l (/tmp/.mount_cursorYA2qVU/resources/app/out/main.js:3:9339) at Object.errorback (/tmp/.mount_cursorYA2qVU/resources/app/out/main.js:3:9458) at p.triggerErrorback (/tmp/.mount_cursorYA2qVU/resources/app/out/main.js:1:13806) at /tmp/.mount_cursorYA2qVU/resources/app/out/main.js:1:13557 at e.load (/tmp/.mount_cursorYA2qVU/resources/app/out/main.js:2:1659) at p.load (/tmp/.mount_cursorYA2qVU/resources/app/out/main.js:1:13512) at l (/tmp/.mount_cursorYA2qVU/resources/app/out/main.js:3:9339) at a._loadModule (/tmp/.mount_cursorYA2qVU/resources/app/out/main.js:3:9467) at a._resolve (/tmp/.mount_cursorYA2qVU/resources/app/out/main.js:4:452) at a.defineModule (/tmp/.mount_cursorYA2qVU/resources/app/out/main.js:3:5561) at a._relativeRequire (/tmp/.mount_cursorYA2qVU/resources/app/out/main.js:3:6185) at D (/tmp/.mount_cursorYA2qVU/resources/app/out/main.js:3:8517) at /tmp/.mount_cursorYA2qVU/resources/app/out/vs/code/electron-main/main.js:72:41096 at new Promise (<anonymous>) at D (/tmp/.mount_cursorYA2qVU/resources/app/out/vs/code/electron-main/main.js:72:41076) at S.r (/tmp/.mount_cursorYA2qVU/resources/app/out/vs/code/electron-main/main.js:72:42199) at new S (/tmp/.mount_cursorYA2qVU/resources/app/out/vs/code/electron-main/main.js:72:42074) at I.q (/tmp/.mount_cursorYA2qVU/resources/app/out/vs/code/electron-main/main.js:72:42747) at I.createLogger (/tmp/.mount_cursorYA2qVU/resources/app/out/vs/code/electron-main/main.js:71:5364) at I.createLogger (/tmp/.mount_cursorYA2qVU/resources/app/out/vs/code/electron-main/main.js:72:43149) at /tmp/.mount_cursorYA2qVU/resources/app/out/vs/code/electron-main/main.js:107:1579 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Me.a (/tmp/.mount_cursorYA2qVU/resources/app/out/vs/code/electron-main/main.js:107:1276) { code: 'ERR_DLOPEN_FAILED', phase: 'loading', moduleId: '@vscode/spdlog', neededBy: [ '===anonymous2===' ] } Error: /lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.30’ not found (required by /tmp/.mount_cursorYA2qVU/resources/app/node_modules.asar.unpacked/@vscode/spdlog/build/Release/spdlog.node)

Screenshots / Screen Recordings

Operating System

Linux

Current Cursor Version (Menu → Abount Cursor → Copy)

Version: 0.43.6
VSCode Version: 1.93.1
Commit: a846435528b4b760494a836f96f0739889253530
Date: 2024-12-06T05:11:55.168Z
Electron: 30.5.1
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Linux x64 5.15.0-117-generic

Additional Infomation

I had no issues with the previous versions. I still have no issue with version cursor-0.42.5-build-24111460bf2loz1-x86_64. I believe i had no issue with version 0.43.5 as well, since i was using compose and agents successfully for the last week.

Does this stop you from using Cursor

Yes - Cursor is unusable

7 Likes

you system is too old. you need upgrade you system

Same issue nothings works, about:

Version: 0.43.6
VSCode Version: 1.93.1
Commit: a846435528b4b760494a836f96f0739889253530
Date: 2024-12-06T05:11:55.168Z
Electron: 30.5.1
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Linux x64 5.13.0-35-generic

The error you’re encountering is related to a missing version of the GNU C++ Library (libstdc++) on your system - a lib which upgraded Cursor IDE was compiled with.
You can see your GLIBCXX versions executing:

strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX

I have Ubuntu 20.04 and what fixed the issue for me was:

sudo add-apt-repository ppa:ubuntu-toolchain-r/test 
sudo apt-get update
sudo apt-get upgrade

An original solution here: ppa - GLIBCXX_3.4.20 not found, how to fix this error? - Ask Ubuntu

:v:

2 Likes

I did:

sudo apt-add-repository "deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial main"

 sudo apt update
sudo apt dist-upgrade

and now I am not getting the error previously described, but chat is stil not working

I also had this issue. I’m on Mint 20.3. The following fixed it:

sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt upgrade
2 Likes

Same problem on Ubuntu 20.04, broke everything, including recognising that I had a pro account.

Fixed with the above solution.

Some better error reporting here would be nice as on the surface Cursor still loaded and looked ok, it was just that none of the useful features worked :melting_face:

Is chat working for you ??

It is, yes

Great, greemos answer worked for me as well - Ubuntu 20.04 with Cursor 0.43.6.

I had noticed the issue as the Docker extension showed “There is no data provider registered that can provide view data.” Just in case someone else comes across this.

1 Like

Thank you my issue is also resolved.

fixed only with all these commands:

sudo add-apt-repository ppa:ubuntu-toolchain-r/test 
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

dist-upgrate install GLIBCXX_3.4.30 up to GLIBCXX_3.4.32 for me on ubuntu 20.04

To the cursor dev team:

This is not a solution. Forcing users to upgrade a widely used LTS ubuntu version far from EOL is unacceptable. I’ve met similar problem in other opensource projects, most likely this is because you are (unnecessarily) using a very new version of gcc toolchain in your CI environment.

3 Likes

greemo’s commands did the trick.

Agreed though, these are some pretty core libs that made me feel uneasy to upgrade to.

Entering the first line of the command results in an error.Cannot add PPA: ‘ppa:~ubuntu-toolchain-r/ubuntu/test’.
ERROR: ‘~ubuntu-toolchain-r’ user or team does not exist.

Do you use ubuntu 20.04? Command you run exactly sudo add-apt-repository ppa:ubuntu-toolchain-r/test?
It seems that you add ~ in this command after ppa: or use another OS

Hey all,

We’ve identified that the platform we use for distribution upped a minimum dependency in their installer, which caused this error to occur for you all!

We have raised this, and we have had that dependency downgraded again, to enable Cursor to work on more platforms.

For now, 43.5 is the last working version without doing the solutions above, but we hope to release a new version very soon with this fixed!

I will report back when a new version is available that can be used on older installations of Linux/Ubuntu (e.g. 20.04)

1 Like

Perhaps a minimalist approach is to just upgrade the required library.

sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt-get install libstdc++6

But I agree with @pkulijing we should not have to upgrade LTS dist

Ubuntu 20.04 LTS | Cursor 0.43.6