maim
maim copied to clipboard
Symbol Lookup Error
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
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
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".
You need to install the xcomposite libraries.
since when? what packages?
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?).
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).
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
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
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
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
also having this issue with maim on ubuntu 17.10 from repository
Same here, ubuntu server 17.10. Maim from Ubuntu's official repository!