Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect ODB installation to webserver Docker images #742

Closed
mcserep opened this issue Apr 30, 2024 · 2 comments · Fixed by #756
Closed

Incorrect ODB installation to webserver Docker images #742

mcserep opened this issue Apr 30, 2024 · 2 comments · Fixed by #756
Assignees
Labels
Kind: Bug ⚠️ Kind: Important 🥇 Level: Beginner (1) Target: Developer environment Developer environment issues consist of CodeCompass or 3rd-party build tooling, configuration or CI.

Comments

@mcserep
Copy link
Collaborator

mcserep commented Apr 30, 2024

Running CodeCompass_webserver in the web-pgsql image yields the following error:

CodeCompass_webserver: error while loading shared libraries: libodb-2.5.0-b.25.so: cannot open shared object file: No such file or directory

The runtime-pgsql image is not affected by the bug and works as expected.

@mcserep mcserep added Kind: Bug ⚠️ Target: Developer environment Developer environment issues consist of CodeCompass or 3rd-party build tooling, configuration or CI. Level: Beginner (1) labels Apr 30, 2024
@mcserep mcserep added this to To do in Roadmap via automation Apr 30, 2024
@mcserep mcserep added this to To do in Lab via automation Apr 30, 2024
@Seeker04 Seeker04 self-assigned this May 23, 2024
@Seeker04
Copy link
Collaborator

In the dev container:

ldd $(which CodeCompass_webserver) | grep libodb
	libodb-2.5.0-b.25.so => /usr/local/lib/libodb-2.5.0-b.25.so (0x00007fdd153f6000)
	libodb-sqlite-2.5.0-b.25.so => /usr/local/lib/libodb-sqlite-2.5.0-b.25.so (0x00007fdd153be000)

In the web-pgsql container:

ldd $(which CodeCompass_webserver) | grep libodb
	libodb-2.5.0-b.25.so => not found
	libodb-pgsql-2.5.0-b.25.so => not found

because the shared object simply does not exist in the latter image:

ls /usr/local/lib/libodb-2.5.0-b.25.so /usr/local/lib/libodb-sqlite-2.5.0-b.25.so
ls: cannot access '/usr/local/lib/libodb-2.5.0-b.25.so': No such file or directory
ls: cannot access '/usr/local/lib/libodb-sqlite-2.5.0-b.25.so': No such file or directory

These are the only two missing according to ldd $(which CodeCompass_webserver) | grep "not found".

@mcserep
Copy link
Collaborator Author

mcserep commented May 25, 2024

These are the only two missing according to ldd $(which CodeCompass_webserver) | grep "not found".

@Seeker04 Thanks for investigating this, most likely this issue it that simple.
The task is to locate where the libodb was removed from the web image, and readd it. Key suspect is #644.

Seeker04 pushed a commit to Seeker04/CodeCompass that referenced this issue May 25, 2024
Seeker04 pushed a commit to Seeker04/CodeCompass that referenced this issue May 25, 2024
@mcserep mcserep self-assigned this Jun 30, 2024
Roadmap automation moved this from To do to Done Jul 1, 2024
Lab automation moved this from To do to Done Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Kind: Bug ⚠️ Kind: Important 🥇 Level: Beginner (1) Target: Developer environment Developer environment issues consist of CodeCompass or 3rd-party build tooling, configuration or CI.
Projects
Lab
Done
Development

Successfully merging a pull request may close this issue.

2 participants