Bug#614838: libdevmapper-dev: ld cannot find -ldevmapper

Ritesh Raj Sarraf rrs at debian.org
Wed Feb 23 18:22:53 UTC 2011


Package: libdevmapper-dev
Version: 2:1.02.63-1
Severity: normal
Tags: sid

Hello Bastian,

With this latest update of libdevmapper, ld cannot link.


23:43:02 rrs at champaran:/tmp/junk/multipath$ make
cc -pipe -g -Wall -Wunused -Wstrict-prototypes -fPIC -DLIB_STRING=\"lib64\" -I../libmultipath -c -o main.o main.c
cc -pipe -g -Wall -Wunused -Wstrict-prototypes -fPIC -DLIB_STRING=\"lib64\" -I../libmultipath main.o -o multipath -lpthread -ldevmapper -ldl -lmultipath -L../libmultipath
/bin/gzip -9 -c multipath.8 > multipath.8.gz
/bin/gzip -9 -c multipath.conf.5 > multipath.conf.5.gz
23:43:04 rrs at champaran:/tmp/junk/multipath$ make clean
rm -f core *.o multipath *.gz


23:46:23 rrs at champaran:/tmp/junk/multipath$ sudo aptitude -t unstable install libdevmapper-dev
The following packages will be upgraded: 
  libdevmapper-dev libdevmapper1.02.1 
2 packages upgraded, 0 newly installed, 0 to remove and 318 not upgraded.
Need to get 0 B/130 kB of archives. After unpacking 28.7 kB will be used.
Do you want to continue? [Y/n/?] 
Reading package fields... Done           
Reading package status... Done
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Reading changelogs... Done
apt-listchanges: Do you want to continue? [Y/n] 
debconf: unable to initialize frontend: Kde
debconf: (Unable to load QtGui -- is libqtgui4-perl installed?)
debconf: falling back to frontend: Dialog
(Reading database ... 257662 files and directories currently installed.)
Preparing to replace libdevmapper-dev 2:1.02.48-5 (using .../libdevmapper-dev_2%3a1.02.63-1_amd64.deb) ...
Unpacking replacement libdevmapper-dev ...
Preparing to replace libdevmapper1.02.1 2:1.02.48-5 (using .../libdevmapper1.02.1_2%3a1.02.63-1_amd64.deb) ...
Unpacking replacement libdevmapper1.02.1 ...
Setting up libdevmapper1.02.1 (2:1.02.63-1) ...
Setting up libdevmapper-dev (2:1.02.63-1) ...
                                         
Current status: 0 broken [-1], 318 updates [-2].



23:46:54 rrs at champaran:/tmp/junk/multipath$ make
cc -pipe -g -Wall -Wunused -Wstrict-prototypes -fPIC -DLIB_STRING=\"lib64\" -I../libmultipath -c -o main.o main.c
cc -pipe -g -Wall -Wunused -Wstrict-prototypes -fPIC -DLIB_STRING=\"lib64\" -I../libmultipath main.o -o multipath -lpthread -ldevmapper -ldl -lmultipath -L../libmultipath
/usr/bin/ld: cannot find -ldevmapper
collect2: ld returned 1 exit status
make: *** [multipath] Error 1


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libdevmapper-dev depends on:
ii  libdevmapper1.02.1           2:1.02.63-1 The Linux Kernel Device Mapper use
ii  libselinux1-dev              2.0.96-1    SELinux development headers

libdevmapper-dev recommends no packages.

libdevmapper-dev suggests no packages.

-- no debconf information





More information about the pkg-lvm-maintainers mailing list