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

Symbol Lookup Error #120

Open
softgrass opened this issue Oct 22, 2017 · 12 comments
Open

Symbol Lookup Error #120

softgrass opened this issue Oct 22, 2017 · 12 comments

Comments

@softgrass
Copy link

When I run main (any part of the command), I get this error
maim: symbol lookup error: maim: undefined symbol: _ZN4slop13SlopSelectionC1Effffi
I am running Ubuntu 17.10 and I installed maim using apt-get install

@naelstrof
Copy link
Owner

Make sure you have slop installed and that it has the library slopy.

You might want to try installing manually from instructions in the readme

@softgrass
Copy link
Author

softgrass commented Oct 22, 2017

I manually installed slop. When I tried installing maim (using the instruction from the README) I get the following error:

-- Found the following ICU libraries:
--   uc (required)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
XCOMPOSITE_INCLUDE_DIR (ADVANCED)
   used as include directory in directory /home/liam/maim
   used as include directory in directory /home/liam/maim
   used as include directory in directory /home/liam/maim
   used as include directory in directory /home/liam/maim
   used as include directory in directory /home/liam/maim
   used as include directory in directory /home/liam/maim
   used as include directory in directory /home/liam/maim
XCOMPOSITE_LIBRARY (ADVANCED)
    linked by target "maim" in directory /home/liam/maim

-- Configuring incomplete, errors occurred!
See also "/home/liam/maim/CMakeFiles/CMakeOutput.log".
See also "/home/liam/maim/CMakeFiles/CMakeError.log".

@naelstrof
Copy link
Owner

You need to install the xcomposite libraries.

@moodboom
Copy link

moodboom commented Nov 8, 2017

since when? what packages?

@moodboom
Copy link

moodboom commented Nov 8, 2017

fwiw, the webm video capture works fine, it's just the png that is crashing on me. ubuntu 17.10. was working previously (ubuntu 17.04 maybe?).

@lyze237
Copy link

lyze237 commented Nov 8, 2017

Running ubuntu 17.10 as well and getting the same error:

lyze@mini:~$ maim
maim: symbol lookup error: maim: undefined symbol: _ZN4slop13SlopSelectionC1Effffi

lyze@mini:~$ sudo apt install maim
Reading package lists... Done
Building dependency tree       
Reading state information... Done
maim is already the newest version (5.4.64-1.1).

lyze@mini:~$ sudo apt install slop
Reading package lists... Done
Building dependency tree       
Reading state information... Done
slop is already the newest version (7.3.49-1).

lyze@mini:~$ sudo apt install libxcomposite1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libxcomposite1 is already the newest version (1:0.4.4-2).

@danclien
Copy link

I have the same issue as @lyze237. Building from source was the only thing that fixed the issue for me.

A few libraries I had to install to get the build to work on Ubuntu 17.10 (YMMV):

sudo apt-get install libjpeg-dev libgl1-mesa-dev

I used slop from the repo so I only did the following (from README.md) to build:

git clone https://github.com/naelstrof/maim.git
cd maim
cmake -DCMAKE_INSTALL_PREFIX="/usr" ./
make && sudo make install

@iturdikulov
Copy link

iturdikulov commented Dec 9, 2017

Looks like need more libs for Ubuntu to compile
sudo apt install libjpeg-dev libgl1-mesa-dev cmake libicu-dev libxrandr-dev libxfixes-dev libglm-dev libxcomposite-dev

@joshmorel
Copy link

Built from source as well. Thanks. On top of those packages mentioned by inomoz, I also needed sudo apt install zlib1g-dev libpng-dev on Ubuntu 17.10

@moodboom
Copy link

moodboom commented Jan 5, 2018

Built from source, all is well here:

cd ~/apps && git clone https://github.com/naelstrof/maim.git && cd maim
cmake -DCMAKE_INSTALL_PREFIX="/usr" ./
sudo apt install libjpeg-dev libxcomposite-dev libxrandr-dev libglm-dev
make && sudo make install

@chasebolt
Copy link

also having this issue with maim on ubuntu 17.10 from repository

@j3ky
Copy link

j3ky commented Feb 7, 2018

Same here, ubuntu server 17.10. Maim from Ubuntu's official repository!

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

9 participants