Показать сообщение отдельно
  #1  
Старый 08.09.2016, 22:30
serge lazaretov
Guest
 
Сообщений: n/a
По умолчанию не собирается hpt 1.9

serge lazaretov написал(а) к All в Sep 16 04:17:34 по местному времени:

Нi, All.

выпрямите мне руки ))

система centos7
при попытке собрать rpm в итоге имеем:

rpmbuild -ta hpt.tar.gz

[...skipped...]
/usr/bin/ld: cannot find -lperl
/usr/lib64/libfidoconfig.a(line.o): In function `parseOwner':
(.text+0x12fa): warning: Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib64/libfidoconfig.a(line.o): In function `parseOwner':
(.text+0x12d6): warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib64/libhusky.a(ioutil.o): In function `shell_expand':
(.text+0x235): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib64/libhusky.a(temp.o): In function `MKSTEMPS':
(.text+0x56): warning: the use of `mktemp' is dangerous, better use `mkstemp'
collect2: error: ld returned 1 exit status
make: * [hpt] Error 1
ошибка: Неверный код возврата из /var/tmp/rpm-tmp.nSBqY2 (%build)

я так понимаю не видит libperl.so, но при этом

ld -lperl --verbose

[...skipped...]
attempt to open /usr/x86_64-redhat-linux/lib64/libperl.so failed
attempt to open /usr/x86_64-redhat-linux/lib64/libperl.a failed
attempt to open /usr/local/lib64/libperl.so failed
attempt to open /usr/local/lib64/libperl.a failed
attempt to open /lib64/libperl.so succeeded
-lperl (/lib64/libperl.so)
libresolv.so.2 needed by /lib64/libperl.so
found libresolv.so.2 at /lib64/libresolv.so.2
libnsl.so.1 needed by /lib64/libperl.so
found libnsl.so.1 at /lib64/libnsl.so.1
libdl.so.2 needed by /lib64/libperl.so
found libdl.so.2 at /lib64/libdl.so.2
libm.so.6 needed by /lib64/libperl.so
found libm.so.6 at /lib64/libm.so.6
libcrypt.so.1 needed by /lib64/libperl.so
found libcrypt.so.1 at /lib64/libcrypt.so.1
libutil.so.1 needed by /lib64/libperl.so
found libutil.so.1 at /lib64/libutil.so.1
libpthread.so.0 needed by /lib64/libperl.so
found libpthread.so.0 at /lib64/libpthread.so.0
libc.so.6 needed by /lib64/libperl.so
found libc.so.6 at /lib64/libc.so.6
ld-linux-x86-64.so.2 needed by /lib64/libdl.so.2
found ld-linux-x86-64.so.2 at /lib64/ld-linux-x86-64.so.2
libfreebl3.so needed by /lib64/libcrypt.so.1
found libfreebl3.so at /lib64/libfreebl3.so
ld: warning: cannot find entry symbol _start; not setting start address

чего он от меня в итоге хочет?

//sl.
--- golded++
Ответить с цитированием