Topic: dpkg-shlibdeps Problem building deb Package
Hello everyone,
maybe someone can give me a hint what I am missing but I have a problem getting libnfc build in a package. I am running a Ubuntu 10.04 system and I follow the steps described at this link: http://www.libnfc.org/documentation/installation
I would like to create a package, so here are the steps I performed:
wget hxxp://libnfc.googlecode.com/files/libnfc-1.5.1.tar.gz
tar -xvzf libnfc-1.5.1.tar.gz
cd libnfc-1.5.1/
svn checkout hxxp://libnfc.googlecode.com/svn/tags/libnfc-1.5.1/debian
dpkg-buildpackage -b -us -ucI some point of the last step, I get the following error:
...
dh_strip
dh_makeshlibs
dh_shlibdeps
dpkg-shlibdeps: error: no dependency information found for /usr/local/lib/libpcsclite.so.1 (used by debian/libnfc2/usr/lib/libnfc.so.2.0.0).
dh_shlibdeps: dpkg-shlibdeps -Tdebian/libnfc2.substvars debian/libnfc2/usr/lib/libnfc.so.2.0.0 returned exit code 2
make: *** [binary] Error 9
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2I tried to fix that with a file "shlibs.local" but I am not quite sure where to put it neither what the content should be. So far I tried to put it in the folder "libnfc-1.5.1/debian" as well as in "libnfc-1.5.1/"
As content I tried
libpcsclite 2 libnfcand
libpcsclite 2 libnfc.so.2.0.0unfortunatelly without success ... ![]()
When I am doing pcscd -v I get the following:
pcsc-lite version 1.8.2.
Copyright (C) 1999-2002 by David Corcoran <corcoran@linuxnet.com>.
Copyright (C) 2001-2011 by Ludovic Rousseau <ludovic.rousseau@free.fr>.
Copyright (C) 2003-2004 by Damien Sauveron <sauveron@labri.fr>.
Report bugs to <muscle@lists.musclecard.com>.
Enabled features: Linux i686-pc-linux-gnu serial usb libudev usbdropdir=/usr/local/lib/pcsc/drivers ipcdir=/var/run/pcscd configdir=/usr/local/etc/reader.conf.dSo I assume libpcsclite is installed, and libusb-config --version gives me 0.1.12, what also should be fine.
sudo apt-get install libusb-dev libpcsclite-dev
sudo apt-get install libusb-0.1-4 libpcsclite1 libccid pcscdtells me everything is already the newest version ...
Does anyone has an idea?
cheers ![]()