[newbies] RPATH contains standard library path "/usr/lib64"

Stas stas.grumbler на gmail.com
Вс Апр 10 21:23:07 MSK 2016


Хэшером пытаюсь собрать megatools.
Получаю ошибку на стадии автоматической проверки в %install - verify-elf 
сообщает о недоспустимом значении RPATH  - /usr/lib64
Как с этим бороться? Неужели нужно "родную" бибилиотеку пакета 
засовывать в подкаталог относитлеьно /usr/lib64 ?


=================
+ /usr/lib/rpm/brp-alt
Cleaning files in /usr/src/tmp/megatools-buildroot (auto)
removed './usr/lib64/libmega.la'
mode of './usr/lib64/libmega.so.0.0.0' changed from 0755 (rwxr-xr-x) to 
0644 (rw-r--r--)
Verifying and fixing files in /usr/src/tmp/megatools-buildroot 
(binconfig,pkgconfig,libtool,desktop)
/usr/lib64/pkgconfig/libmega.pc: Cflags: '-I${includedir}' --> ''
/usr/lib64/pkgconfig/libmega.pc: Libs: '-L${libdir} -lmega' --> '-lmega'
Compressing files in /usr/src/tmp/megatools-buildroot (auto)
Adjusting library links in /usr/src/tmp/megatools-buildroot
./usr/lib64:
     libmega.so.0 -> libmega.so.0.0.0
Verifying ELF objects in /usr/src/tmp/megatools-buildroot 
(arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
verify-elf: ERROR: ./usr/bin/megarm: RPATH contains standard library 
path "/usr/lib64": /usr/lib64
verify-elf: ERROR: ./usr/bin/megafs: RPATH contains standard library 
path "/usr/lib64": /usr/lib64
verify-elf: ERROR: ./usr/bin/megadl: RPATH contains standard library 
path "/usr/lib64": /usr/lib64
verify-elf: ERROR: ./usr/bin/megaget: RPATH contains standard library 
path "/usr/lib64": /usr/lib64
verify-elf: ERROR: ./usr/bin/megadf: RPATH contains standard library 
path "/usr/lib64": /usr/lib64
verify-elf: ERROR: ./usr/bin/megaput: RPATH contains standard library 
path "/usr/lib64": /usr/lib64
verify-elf: ERROR: ./usr/bin/megals: RPATH contains standard library 
path "/usr/lib64": /usr/lib64
verify-elf: ERROR: ./usr/bin/megareg: RPATH contains standard library 
path "/usr/lib64": /usr/lib64
verify-elf: ERROR: ./usr/bin/megacopy: RPATH contains standard library 
path "/usr/lib64": /usr/lib64
verify-elf: ERROR: ./usr/bin/megamkdir: RPATH contains standard library 
path "/usr/lib64": /usr/lib64
error: Bad exit status from /usr/src/tmp/rpm-tmp.66587 (%install)
=================



-- 
Станислав Дёгтев
Служба "Ваш админ"
  Мои контакты:
  - jabber: grumbler на grumbler.org
  - email: stas.grumbler на gmail.com и stas на vashadmin.su
  - телефоны в Е-бурге +79045430461 и +79222112259



Подробная информация о списке рассылки devel-newbies