Ntpq & ld-elf.so.1



  • Hi guys,

    Running 2.1-DEVELOPMENT (amd64) built on Tue Mar 13 16:16:20 CET 2012….

    When I try to run "ntpq" or "ntpdc" I get these errors:

    /libexec/ld-elf.so.1: /usr/bin/ntpq: Undefined symbol "readline"
    /libexec/ld-elf.so.1: /usr/sbin/ntpdc: Undefined symbol "readline"

    Any way to fix?

    -Will


  • LAYER 8 Global Moderator

    dig you install ntp?

    Im running

    2.1-DEVELOPMENT (i386)
    built on Mon Mar 12 15:35:05 CET 2012

    But I also installed ntp package

    [2.1-DEVELOPMENT][root@pfsense.local.lan]/root(2): pkg_info
    bsdinstaller-2.0.2012.0227 BSD Installer mega-package
    gettext-0.18.1.1    GNU gettext package
    grub-0.97_4        GRand Unified Bootloader
    libiconv-1.13.1_1  A character set conversion library
    nano-2.2.6          Nano's ANOther editor, an enhanced free Pico clone
    ntp-4.2.6p5        The Network Time Protocol Distribution

    no problem running it
    [2.1-DEVELOPMENT][root@pfsense.local.lan]/root(3): ntpq
    ntpq> pe
        remote          refid      st t when poll reach  delay  offset  jitter

    *private.ssl119. .CDMA.          1 u  160  512  377  14.287  -1.816  1.330
    +nist.netservice .ACTS.          1 u  103  512  377  18.293  -0.250  0.910
    +saturn.netwrx1. .PPS.            1 u  100  512  377  43.179  -4.848  5.141
    -ntp.mya.org    128.252.19.1    2 u  133  512  377  21.268  -1.620  6.232
    -ntp-1.gw.illino 128.174.38.133  2 u    6  512  377  36.078  -13.127  14.242
    LOCAL(0)        .LOCL.          10 l  57  64  377    0.000    0.000  0.004



  • Hi johnpoz,

    No, I'm using the ntp that's included with pfsense.

    Where did you install the package from?

    -Will


  • LAYER 8 Global Moderator


  • Rebel Alliance Developer Netgate

    We use OpenNTPD and not FreeBSD's ntp, though we include binaries for both. ntpq and such do not work with OpenNTPD.



  • I also think that pfSense is worthy of full ntp daemon http://ntp.org, but not simplistic OpenNTP and FreeBSD ntpd. If only because of the remote administration and monitoring.


Log in to reply