libreadline.so.5: undefined symbol: PC

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • libreadline.so.5: undefined symbol: PC

    Hi,

    i'm running slackware 13.37. i tried a binary package of libreadline and compiled it by myself but when i try to execute the JLinkEXE i get the following error regarding libreadline.so

    Source Code

    1. ./JLinkExe: symbol lookup error: /usr/local/lib/libreadline.so.5: undefined symbol: PC


    On the other hand JLinkGDBServer seems to start allright

    Source Code

    1. ./JLinkGDBServer
    2. SEGGER J-Link GDB Server V4.34a
    3. JLinkARM.dll V4.34a (DLL compiled Aug 31 2011 11:51:40)
    4. Listening on TCP/IP port 2331
    5. ERROR: Can not connect to J-Link.

    however i can't connect for any reasons...

    Does anyone know what to do?

    Best Regards,

    Armin Sch.

    The post was edited 1 time, last by knallerbse ().

  • RE: libreadline.so.5: undefined symbol: PC

    Hello,

    Slackware requires interactive programs to be linked with ncurses. So just preload it.

    LD_PRELOAD=/usr/lib/libncurses.so ./JLinkExe

    :)

    Eric

    knallerbse wrote:

    I'm running slackware 13.37. i tried a binary package of libreadline and compiled it by myself but when i try to execute the JLinkEXE i get the following error regarding libreadline.so

    Source Code

    1. ./JLinkExe: symbol lookup error: /usr/local/lib/libreadline.so.5: undefined symbol: PC