security/libssh does not install ssh_threads

Peter Klett peter at netkey.at
Wed Jan 15 21:07:01 UTC 2014


Am 2014-01-14 13:41, schrieb Dima Panov:
> Please update. libssh-0.5.5_1 installs both standard and threaded libs.

Thank you!

unfortunately I'm getting an error while linking:
net-p2p/retroshare/work/retroshare-0.5.5/src/retroshare-nogui/src/ssh/rssshd.cc:38: 
undefined reference to `ssh_threads_get_pthread'

I installed libssh from port, installed version is libssh-0.5.5_1

# ls -l /usr/local/lib/libssh*
-rw-r--r--  1 root  wheel  542052 15 Jan 20:17 /usr/local/lib/libssh.a
lrwxr-xr-x  1 root  wheel      11 15 Jan 21:27 /usr/local/lib/libssh.so 
-> libssh.so.4
lrwxr-xr-x  1 root  wheel      15 15 Jan 21:27 
/usr/local/lib/libssh.so.4 -> libssh.so.4.2.5
-rwxr-xr-x  1 root  wheel  254984 15 Jan 21:27 
/usr/local/lib/libssh.so.4.2.5
-rw-r--r--  1 root  wheel    1072 15 Jan 20:17 
/usr/local/lib/libssh_threads.a
lrwxr-xr-x  1 root  wheel      19 15 Jan 21:27 
/usr/local/lib/libssh_threads.so -> libssh_threads.so.4
lrwxr-xr-x  1 root  wheel      23 15 Jan 21:27 
/usr/local/lib/libssh_threads.so.4 -> libssh_threads.so.4.2.5
-rwxr-xr-x  1 root  wheel    3976 15 Jan 21:27 
/usr/local/lib/libssh_threads.so.4.2.5


# objdump -T /usr/local/lib/libssh_threads.so.4.2.5

/usr/local/lib/libssh_threads.so.4.2.5:     file format 
elf64-x86-64-freebsd

DYNAMIC SYMBOL TABLE:
0000000000000420 l    d  .init  0000000000000000              .init
0000000000000000  w   DF *UND*  00000000000001f1  FBSD_1.0    
__cxa_finalize
0000000000000000  w   D  *UND*  0000000000000000              
_Jv_RegisterClasses
00000000002007c0 g    D  *ABS*  0000000000000000  Base        _end
00000000002007b8 g    D  *ABS*  0000000000000000  Base        _edata
00000000002007b8 g    D  *ABS*  0000000000000000  Base        
__bss_start
0000000000000420 g    DF .init  0000000000000000  Base        _init
0000000000000518 g    DF .fini  0000000000000000  Base        _fini

I think I'm still missing something.

Any hints?

Thanks Peter


More information about the freebsd-ports mailing list