cancel
Showing results for 
Search instead for 
Did you mean: 

[ERROR] /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found

04-15-2022 5:32 PM
prabeen_dash Associate
9423 views 9 comments Go to solution
SAP Managed Tags
Subscribe

[ERROR] /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /home/user/projects/ordermanagement/node_modules/sqlite3/lib/binding/napi-v6-linux-x64/node_sqlite3.node) when i run cds watch . Any idea how to resolve this. I have tried installing all NPM package modules multiple times. I have deleted by trial account and installed again. I have rebooted by PC too.

Accepted Solutions (1)

Accepted Solutions (1)

gregorw
SAP Mentor
SAP Mentor

OK, I found the solution. The sqlite3 module was just recently updated to version 5.0.3. As the the standard CAP project template defines

  "devDependencies": {
"sqlite3": "^5.0.2"
}
you will get this version installed. When you change it to:
"devDependencies": {
"sqlite3": "5.0.2"
}
and run npm install again you're back in business.
gregorw
SAP Mentor
SAP Mentor
0 Likes

Check out also the known problems in the sqlite3 v5.0.3 release notes.

prabeen_dash
Associate
Associate
0 Likes

Thanks Gregor. I am able to run cs watch now by changing the sqllite dependencies in package.json.

Thanks again for you time and effort.

Answers (1)

Answers (1)

gregorw
SAP Mentor
SAP Mentor
0 Likes

Did you choose "Full Stack Cloud Application Dev Space" when creating your dev space? I've just did that and created the CAP sample project using the wizard in BAS. No issues there.

Also you should understand that BAS is running in a Container. So rebooting your local computer or using a different access point will not change anything.

prabeen_dash
Associate
Associate
0 Likes

Hi Gregor,

Yes I use full stack CAP application. Do you know any NPM command that can be run in BAS to install this ubuntu version that is missing .

Thanks,

Prabeen

gregorw
SAP Mentor
SAP Mentor
0 Likes

In my freshly created dev space I didn't even ran npm install. Seems that is the trick. After npm install I get the same error:

user: ordermanagement $ node -v
v14.17.6
user: ordermanagement $ npm -v
6.14.15
user: ordermanagement $ cds watch
cds serve all --with-mocks --in-memory?
watching: cds,csn,csv,ts,mjs,cjs,js,json,properties,edmx,xml,env,css,gif,html,jpg,png,svg...
live reload enabled for browsers
_______________________
[cds] - model loaded from 2 file(s):
./db/data-model.cds
./srv/cat-service.cds
[cds] - connect using bindings from: { registry: '~/.cds-services.json' }
[cds] - connect to db > sqlite { database: ':memory:' }
[ERROR] /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /home/user/projects/ordermanagement/node_modules/sqlite3/lib/binding/napi-v6-linux-x64/node_sqlite3.node)
Seems that is something the BAS team has to fix.