• error loading shared libraries

    From Michael Pierce@1:105/81 to All on Thu Mar 11 23:09:58 2021

    Hello everybody!

    compiling on a new setup
    getting the following error running hpt or htick


    hpt: error while loading shared libraries: libareafix.so.1.9: cannot open shared object file: No such file or directory

    everything compiled without errors


    system os manjaro xfce

    Thanks for any ideas

    Michael







    Michael


    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: Our Awesome Net - Portland, OR - awesome.abon.us (1:105/81)
  • From Michael Dukelsky@2:5020/1042 to Michael Pierce on Fri Mar 12 11:52:32 2021
    Hello Michael,

    Thursday March 11 2021, Michael Pierce wrote to All:

    hpt: error while loading shared libraries: libareafix.so.1.9: cannot
    open shared object file: No such file or directory

    libareafix.so.1.9 should be a symlink to libareafix.so.1.9.0 but it is missing. Just create the symlink.

    Michael

    ... node (at) f1042 (dot) ru
    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: Moscow, Russia (2:5020/1042)
  • From andrew clarke@3:633/267 to Michael Pierce on Fri Mar 12 20:49:44 2021
    On 2021-03-11 23:09:58, Michael Pierce (1:105/81) wrote to All:

    compiling on a new setup
    getting the following error running hpt or htick


    hpt: error while loading shared libraries: libareafix.so.1.9: cannot
    open shared object file: No such file or directory

    everything compiled without errors

    Set the LD_LIBRARY_PATH envvar to the location of libareafix.so, then run hpt.

    For example:

    $ ls -l $HOME/opt/husky/lib/
    total 1M
    lrwxrwxrwx 1 ozzmosis ozzmosis 19 Mar 11 20:49 libareafix.so -> libareafix.so.1.9.0
    -rw-r--r-- 1 ozzmosis ozzmosis 124496 Mar 11 20:53 libareafix.so.1.9.0 lrwxrwxrwx 1 ozzmosis ozzmosis 22 Mar 11 20:49 libfidoconfig.so -> libfidoconfig.so.1.9.0
    -rw-r--r-- 1 ozzmosis ozzmosis 230960 Mar 11 20:53 libfidoconfig.so.1.9.0 lrwxrwxrwx 1 ozzmosis ozzmosis 17 Mar 11 20:48 libhusky.so -> libhusky.so.1.9.0
    -rw-r--r-- 1 ozzmosis ozzmosis 92784 Mar 11 20:53 libhusky.so.1.9.0
    lrwxrwxrwx 1 ozzmosis ozzmosis 17 Mar 11 20:48 libsmapi.so -> libsmapi.so.2.5.0
    -rw-r--r-- 1 ozzmosis ozzmosis 141960 Mar 11 20:53 libsmapi.so.2.5.0

    $ export LD_LIBRARY_PATH=$HOME/opt/husky/lib

    $ cd $HOME/opt/husky/bin/

    $ ./hpt
    hpt/lnx 1.9.0-cur 2021-03-11

    --- GoldED+/BSD 1.1.5-b20180707
    * Origin: Blizzard of Ozz, Melbourne, Victoria, Australia (3:633/267)
  • From Michael Pierce@1:105/81 to andrew clarke on Fri Mar 12 07:49:52 2021

    Hello andrew!

    12 Mar 21 20:49, you wrote to me:

    On 2021-03-11 23:09:58, Michael Pierce (1:105/81) wrote to All:

    compiling on a new setup
    getting the following error running hpt or htick


    hpt: error while loading shared libraries: libareafix.so.1.9:
    cannot open shared object file: No such file or directory

    everything compiled without errors

    Set the LD_LIBRARY_PATH envvar to the location of libareafix.so, then
    run hpt.

    For example:

    $ ls -l $HOME/opt/husky/lib/


    $ cd $HOME/opt/husky/bin/

    export LD_LIBRARY_PATH=/usr/local/lib/

    that fixed it, thanks, now to fix it systemwide


    Michael


    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: Our Awesome Net - Portland, OR - awesome.abon.us (1:105/81)
  • From andrew clarke@3:633/267 to Michael Pierce on Sat Mar 13 19:41:42 2021
    On 2021-03-12 07:49:52, Michael Pierce (1:105/81) wrote to andrew clarke:

    export LD_LIBRARY_PATH=/usr/local/lib/

    that fixed it, thanks, now to fix it systemwide

    In Linux I believe the default ldconfig paths are configured in /etc/ld.so.conf.d/

    Evidently in FreeBSD you can do similar by setting ldconfig_paths= in /etc/rc.conf, though I've not tried it.

    --- GoldED+/BSD 1.1.5-b20180707
    * Origin: Blizzard of Ozz, Melbourne, Victoria, Australia (3:633/267)