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

Guido Günther agx at sigxcpu.org
Thu Feb 24 08:27:55 UTC 2011


severity 614838 grave
thanks

On Wed, Feb 23, 2011 at 11:52:53PM +0530, Ritesh Raj Sarraf wrote:
[..snip..] 
> 
> 
> 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

The symlink points to nowhere:

$ ls -l /usr/lib/libdevmapper.so 
lrwxrwxrwx 1 root root 104 23. Feb 21:12 /usr/lib/libdevmapper.so -> /build/buildd-lvm2_2.02.84-1-i386-wdjrZ2/lvm2-2.02.84/debian/build/install_deb/liblibdevmapper.so.1.02.1

Cheers,
 -- Guido





More information about the pkg-lvm-maintainers mailing list