V5.1.5 Installing problem

Hello! Please, help me to resolve the installation issue.
I tryed to install kicad 5.1.5 from repository in my openSUSE Tumbleweed.
I get a message “Nothing provides libGLEW.so.2.1 for kicad package”
I tried to install glew with this library separately. But problem not going away.
What I can do for install kicad?

What version of the packages were installed? I’m on Debian Stable and show these:
/usr
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libGLEW.so.2.1
/usr/lib/x86_64-linux-gnu/libGLEW.so.2.1.0
/usr/share
/usr/share/doc
/usr/share/doc/libglew2.1
/usr/share/doc/libglew2.1/changelog.Debian.gz
/usr/share/doc/libglew2.1/copyright

Did you use the 1-click installer from this page? https://software.opensuse.org/package/kicad

i tried to use YAST in system in OOS repo and electronics repo.
Are installing is different from 1-click install?

It’s in the official Tumbleweed repo so you shouldn’t need to use the Electronics repo which may drag in other, newer packages not in the official repo. Try disabling the Electronics temporarily then installing.

Before add a electronic repo I tried to install from OSS repo Tumbleweed.

What does zypper info kicad output? For me I get:

Loading repository data...
Reading installed packages...

Information for package kicad:
------------------------------
Repository     : Electronics                                              
Name           : kicad                                                    
Version        : 5.1.5-lp151.78.1                                         
Arch           : x86_64                                                   
Vendor         : obs://build.opensuse.org/electronics                     
Installed Size : 87.9 MiB                                                 
Installed      : Yes                                                      
Status         : up-to-date                                               
Source package : kicad-5.1.5-lp151.78.1.src                               
Summary        : EDA software suite for the creation of schematics and PCB
Description    :                                                          
    Kicad is an open source (GPL) software for the creation of electronic
    schematic
    diagrams and printed circuit with up to 32 copper layers and additional
    techinical layers.

    KiCad includes a project manager and four main independent software tools:
    - Eeschema: schematic editor.
    - Pcbnew: printed circuit board editor.
    - Gerbview: GERBER file viewer (photoplotter documents).
    - Cvpcb: footprint selector for components association.

I’m using Electronics because I’m on 15.1 where kicad is not in the main repo. For you it should indicate that it’s in the OSS repo.

Before install kicad libGLEW is not installed.
If I install glew separately:
(can’t hide output in spoiler)
/usr/bin/glewinfo
/usr/bin/visualinfo
/usr/share/doc/packages/glew
/usr/share/doc/packages/glew/advanced.html
/usr/share/doc/packages/glew/basic.html
/usr/share/doc/packages/glew/build.html
/usr/share/doc/packages/glew/credits.html
/usr/share/doc/packages/glew/github.png
/usr/share/doc/packages/glew/glew.css
/usr/share/doc/packages/glew/glew.html
/usr/share/doc/packages/glew/glew.png
/usr/share/doc/packages/glew/glew.txt
/usr/share/doc/packages/glew/glxew.html
/usr/share/doc/packages/glew/gpl.txt
/usr/share/doc/packages/glew/index.html
/usr/share/doc/packages/glew/install.html
/usr/share/doc/packages/glew/khronos.txt
/usr/share/doc/packages/glew/log.html
/usr/share/doc/packages/glew/mesa.txt
/usr/share/doc/packages/glew/new.png
/usr/share/doc/packages/glew/ogl_sm.jpg
/usr/share/doc/packages/glew/travis.png
/usr/share/doc/packages/glew/wglew.html
/usr/share/licenses/glew
/usr/share/licenses/glew/LICENSE.txt

/usr/lib64/libGLEW.so.2.2
/usr/lib64/libGLEW.so.2.2.0

From oss

Сведения — пакет kicad:

Репозиторий : Основной репозиторий (OSS)
Имя : kicad
Версия : 5.1.5-1.4
Архитектура : x86_64
Поставщик : openSUSE
Размер после установки : 65,0 MiB
Установлено : Нет
Состояние : не установлен
Пакет с исходным кодом : kicad-5.1.5-1.4.src
Заключение : EDA software suite for the creation of schematics and PCB
Описание :
Kicad is an open source (GPL) software for the creation of electronic
schematic
diagrams and printed circuit with up to 32 copper layers and additional
techinical layers.

KiCad includes a project manager and four main independent software tools:
- Eeschema: schematic editor.
- Pcbnew: printed circuit board editor.
- Gerbview: GERBER file viewer (photoplotter documents).
- Cvpcb: footprint selector for components association.

repository electronics

Сведения — пакет kicad:

Репозиторий : Electronics stuff and development (openSUSE_Tumbleweed)
Имя : kicad
Версия : 5.1.5-78.17
Архитектура : x86_64
Поставщик : obs://build.opensuse.org/electronics
Размер после установки : 71,0 MiB
Установлено : Нет
Состояние : не установлен
Пакет с исходным кодом : kicad-5.1.5-78.17.src
Заключение : EDA software suite for the creation of schematics and PCB
Описание :
Kicad is an open source (GPL) software for the creation of electronic schematic
diagrams and printed circuit with up to 32 copper layers and additional techinical layers.

KiCad includes a project manager and four main independent software tools:
- Eeschema: schematic editor.
- Pcbnew: printed circuit board editor.
- Gerbview: GERBER file viewer (photoplotter documents).
- Cvpcb: footprint selector for components association.

maybe I can download some libGLEW.so.2.1 manually and place it in /usr/lib?


1: Nothing provides libGLEW.so.2.1()(64bit); needed for kicad package
2: Damage kicad-5…, ignore some of its dependencies

1 Like

Unfortunately I don’t read Russian but it looks like it is trying to install the latest version which is from Electronics, rather than OSS and this will drag in a newer version of libGLEW which is currently from OSS. So either 1. you should not install from Electronics but from OSS, or 2. you should allow yast to satisfy all the dependencies as it’s asking you. There is a tiny chance that the newer libGLEW will break other packages using it.

When you use yast to install, it will resolve dependencies, but it will ask you if you want to change the “vendor” if replacements have to come from another repository.

When you use 1-click install, it will install exactly the version requested, which is why I recommended it.

And no, you should never install libraries manually. For one thing the path you give is wrong, it’s not /usr/lib.

In general this isn’t a good solution with most Linux distros. It may work but if it works, it may cause other problems. At least it should be compiled for that distribution.

1 Like

1-click install and install from OSS via yast - same problem.

maebe rpm?

zypper runs on top of rpm so no use going there.

It looks like you disturbed things by installing libGLEW separately. You should have let yast do it automatically. Disable the Electronics repo which you did not do otherwise it would not have shown the -78.17 package from there. Downgrade libGLEW to 2.1 which is the version needed. They try to install kicad again, this time from the OSS repo.

I disable electronic repo.
Tried install with broken libGLEW 2.2


I will think how to downgrade the library…

Install libGLEW but only the 2.1 version.

OK.
I can’t found the 2.1 version (Yesterday I updated the distribution). ver. 2.2 only.
I install kicad with damaged packge (without libGLEW)
I just copyed libGLEW.so.2.1 in /usr/lib64

> ls -la /usr/lib64/ |grep libGLEW
> lrwxrwxrwx   1 root root        16 янв 30  2019 libGLEW.so.2.1 -> libGLEW.so.2.1.0
> -rwxr-xr-x   1 root root    698464 янв 30  2019 libGLEW.so.2.1.0
> lrwxrwxrwx   1 root root        16 мая  2 23:33 libGLEW.so.2.2 -> libGLEW.so.2.2.0
> -rwxr-xr-x   1 root root    710600 мая  2 23:33 libGLEW.so.2.2.0

and…
IT’S WORK!!! Victory.
Yes. it’s not linux way, but I can not make it. I do not have experience. I will waiting for maintainers fix.
BUT!!!
Yesterday’s update broke python-wxWidgets


now it is python3-wxWidgets
DAMN!
After pressing “OK” button, pcbnew generally works. test it.

Tumbleweed is not for people who want stability.