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

[WIP] Try containerfile #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Timoses
Copy link

@Timoses Timoses commented May 12, 2022

Since I always find it hell to install all build dependencies on a host machine -> Try container.

Can be built and run with:

> podman run -it --rm --ipc=host $(podman build -q -f Containerfile .)                                                                                                                                                             
root@3cad866455fb:/# i3-easyfocus
i3-easyfocus: error while loading shared libraries: libi3ipc-glib-1.0.so.0: cannot open shared object file: No such file or directory

(alias podman=docker possible if you use Docker).

Any idea why it can't find the shared library?

@Timoses Timoses changed the title Try containerfile [WIP] Try containerfile May 12, 2022
&& cd i3ipc-glib \
&& ./autogen.sh \
&& make \
&& make install
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one seems to work:

Suggested change
&& make install
&& make prefix=/usr install

It does not seem to look for libraries inside /usr/local/lib, so the above makes it write to /usr/lib. Might alternatively work to set the LIBRARY_PATH (or similar).

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

Successfully merging this pull request may close these issues.

2 participants