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

-ldl seems to be missing from the Linux rules #20

Open
cicicice opened this issue Jul 24, 2019 · 0 comments
Open

-ldl seems to be missing from the Linux rules #20

cicicice opened this issue Jul 24, 2019 · 0 comments

Comments

@cicicice
Copy link

Hi,

I found the project gets stuck "out of the box" on all 3 of OSX, Ubuntu and Centos/Oracle. Clion on Windows runs OK with VS17 and VS19. No progress with OSX libsdl errors yet on my part. It appears that a universal problem on Linux was not linking with libdl, the error being "undefined reference to symbol 'dlclose@@GLIBC_2.2.5'". I am not sure where the -ldl switch has to go in the CMake files, but manually fixing it on Oracle Linux 8 gave me a whole bunch of libpng errors, which turned out to depend on -lpng16 and missing symbolic links for libpng:
sudo ln -s /usr/lib64/libpng16.so.16 /usr/lib64/libpng16.so

Again I am not sure what would be the way to "fix" the CMake files for this.

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

1 participant