Page 1 of 1

no dependency information for libGL.so

Posted: Tue Oct 02, 2012 3:31 pm
by phishsauce
Hi, When I build Cinnamon from GitHub, I receive the following error message:

dpkg-shlibdeps: error: no dependency information found for /usr/lib/libGL.so.1 (used by debian/cinnamon/usr/lib/cinnamon/libcinnamon.so).

My sys info is below, I am running nvidia 304.51 and I can get past this build error when I remove the driver. Everything works after compilation and I can replace the nvidia driver.

If there is any known work around to this issue I would love to know :)

Code: Select all

System:    Host hactar Kernel 3.5.0-4.dmz.1-liquorix-amd64 x86_64 (64 bit) Distro Linux Mint Debian Edition
CPU:       Dual core Intel Core i5-2520M (-HT-MCP-) clocked at 2501.00 MHz 
Graphics:  Card NVIDIA GF119 [Quadro NVS 4200M] X.Org 1.12.1.902 Res: 1920x1080@60.0hz, 1920x1080@60.0hz 
           GLX Renderer NVS 4200M/PCIe/SSE2 GLX Version 4.2.0 NVIDIA 304.51
Disks:     HDD Total Size: 240.1GB (-)
Info:      Processes 168 Uptime 36 min Memory 2053.5/8000.9MB Client Shell inxi 1.4.23

Re: no dependency information for libGL.so

Posted: Tue Oct 02, 2012 8:03 pm
by phishsauce
I determined, with the help of some folks on IRC, that this is a packing problem (building with dpkg-buildpackage).

I grepped through the source code packages and surfed the man pages about the tools looking for a way to pass --ignore-missing-info to dpkg-shlibdeps but to no avail.

As a hack, I simply temporarily modifed this script (which is just perl) and set the default to 1 and was able to build and package without any further hiccups.

If anyone knows these toolsets and a way to pass the option through from dpkg-buildpackage it would be appreciated.

Some alternative solutions I'll like explore as a better way around this is to look at the xorg-edgers ppa and see if I can get the nvidia drivers from there instead.

Re: no dependency information for libGL.so

Posted: Mon Nov 25, 2013 8:34 pm
by mockturtl
I got the error building cinnamon-session.

Setting this variable to pass the option to dh_shlibdeps fixes the problem:

Code: Select all

export DEB_DH_SHLIBDEPS_ARGS_ALL=--dpkg-shlibdeps-params=--ignore-missing-info
[url]http://stackoverflow.com/a/19396446[/url]

It's a good idea to

Code: Select all

unset DEB_DH_SHLIBDEPS_ARGS_ALL
before you build other packages.

Note this fix won't work for muffin or cinnamon; you need to pass the option directly in debian/rules:

Code: Select all

dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
[url]http://stackoverflow.com/a/14992359[/url]