[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

An unwanted link to a library getting generated automatically



hi

i m trying to pack a module in scratchbox
currently i m not cross compiling it. 

When i run dpkg-buildpackage -rfakeroot, the package builds successfully
but when i type
dpkg --contents ../libamrnb0-dev_0.0.1-1_i386.deb 

following contents are displayed

drwxr-xr-x root/root         0 2007-10-05 15:18:12 ./
drwxr-xr-x root/root         0 2007-10-05 15:18:12 ./usr/
drwxr-xr-x root/root         0 2007-10-05 15:18:12 ./usr/local/
drwxr-xr-x root/root         0 2007-10-05 15:18:12 ./usr/local/lib/
-rw-r--r-- root/root    231650 2007-10-05 15:18:12
./usr/local/lib/libamrnb.a
-rwxr-xr-x root/root       801 2007-10-05 15:18:11
./usr/local/lib/libamrnb.la
drwxr-xr-x root/root         0 2007-10-05 15:18:12 ./usr/local/include/
drwxr-xr-x root/root         0 2007-10-05 15:18:12
./usr/local/include/amrnb/
-rw-r--r-- root/root       978 2007-10-05 15:18:11
./usr/local/include/amrnb/interf_enc.h
-rw-r--r-- root/root       472 2007-10-05 15:18:11
./usr/local/include/amrnb/typedef.h
-rw-r--r-- root/root    129904 2007-10-05 15:18:11
./usr/local/include/amrnb/rom_dec.h
-rw-r--r-- root/root     23541 2007-10-05 15:18:11
./usr/local/include/amrnb/interf_rom.h
-rw-r--r-- root/root      1423 2007-10-05 15:18:11
./usr/local/include/amrnb/sp_enc.h
-rw-r--r-- root/root    208844 2007-10-05 15:18:11
./usr/local/include/amrnb/rom_enc.h
-rw-r--r-- root/root      1576 2007-10-05 15:18:11
./usr/local/include/amrnb/sp_dec.h
-rw-r--r-- root/root       870 2007-10-05 15:18:11
./usr/local/include/amrnb/interf_dec.h
lrwxrwxrwx root/root         0 2007-10-05 15:18:12
./usr/local/lib/libamrnb.so -> libamrnb.so.0.0.0
lrwxrwxrwx root/root         0 2007-10-05 15:18:12 ./libamrnb.so.0.0.0 ->
/libamrnb.so.0


you can see an unwanted link (last one) getting generated
i checked my rules file but found every thing ok.

i have used "dh_link -a libamrnb.so libamrnb.so.0.0.0" and dh_link -a
libamrnb.so.0 libamrnb.so.0.0.0 in order to generate the links for
libamrnb-dev and libamrnb resp.

kindly help
varun

-- 
View this message in context: http://www.nabble.com/An-unwanted-link-to-a-library-getting-generated-automatically-tf4574144.html#a13056344
Sent from the Debian Embedded mailing list archive at Nabble.com.



Reply to: