no dependency information for libGL.so

no dependency information for libGL.so

Postby phishsauce on Tue Oct 02, 2012 3:31 pm

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
phishsauce
Level 1
Level 1
 
Posts: 18
Joined: Tue Jan 04, 2011 7:18 pm

Linux Mint is funded by ads and donations.
 

Re: no dependency information for libGL.so

Postby phishsauce on Tue Oct 02, 2012 8:03 pm

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.
phishsauce
Level 1
Level 1
 
Posts: 18
Joined: Tue Jan 04, 2011 7:18 pm

Re: no dependency information for libGL.so

Postby dalcde on Tue Oct 09, 2012 7:27 am

As a workaround, you can delete the libGL.so.1 in /usr/lib/ and then make a symbolic link from /usr/lib/nvidia-current/libGL.so.1 to /usr/lib/libGL.so.1 (you might be using nvidia-current-updates instead. Change accordingly). This way dpkg will recognize libGL.so.1 as a library from the nvidia driver package.
dalcde
Level 4
Level 4
 
Posts: 211
Joined: Fri May 13, 2011 8:15 am

Re: no dependency information for libGL.so

Postby mockturtl on Mon Nov 25, 2013 8:34 pm

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

http://stackoverflow.com/a/19396446

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

http://stackoverflow.com/a/14992359
Image
User avatar
mockturtl
Level 4
Level 4
 
Posts: 437
Joined: Sat Oct 09, 2010 8:51 pm


Return to Cinnamon

Who is online

Users browsing this forum: No registered users and 3 guests