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

Unable to execute application on Linux (Ubuntu)... #253

Open
htartisan opened this issue Jan 22, 2025 · 1 comment
Open

Unable to execute application on Linux (Ubuntu)... #253

htartisan opened this issue Jan 22, 2025 · 1 comment

Comments

@htartisan
Copy link

I built an application using the "libconfig" code on Windows. That seemed to go pretty well.

I then tried to build the same (cross-platform) application code on Linux (Ubuntu). After reolving a few issues, I got it to build. However, when I try to run the application, I get the following error:
error while loading shared libraries: liblibconfig++.so.1: cannot open shared object file: No such file or directory

NOTE: code was built using the latest version of Gnu g++, and I am running it on Ubuntu 20.04.

I have verified that the libconfig shared libraries (liblibconfig++.so and liblibconfig++.so.1) are in the same folder (CWD) as the application.

I also tried doing the libconfig "install" that is mentioned in the "INSTALL" document (`make install'), but I still get the same results.

Any thoughts on how I can resolve this?

@htartisan htartisan changed the title Unable to execute application on Linux (Ubunto)... Unable to execute application on Linux (Ubuntu)... Jan 22, 2025
@pconroy328
Copy link

did you run ldconfig?
are you sure its supposed to be liblibconfig? Is your Makefile directive -l libconfig or just -lconfig?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants