Hi all,
I'm running an up to date Void Linux 64 bit rig with GNU C libraries.
[slitt@mydesk tests]$ uname -a
Linux mydesk 5.12.17_1 #1 SMP 1626323534 x86_64 GNU/Linux
[slitt@mydesk tests]$
I just git cloned Harbour tonight (7/25/2021 at 2:05 AM New York time).
I did make, and then later did make install. When I did hbmk2 hello.prg
and then tried to run ./hello, things didn't go well, as shown below:
[slitt@mydesk tests]$ hbmk2 hello.prg
[slitt@mydesk tests]$ ./hello
./hello: error while loading shared libraries: libharbour.so.3.2:
cannot open shared object file: No such file or directory
[slitt@mydesk tests]$
So no problem, I used -L to include the directory containing
libharbour.so.3.2 :
[slitt@mydesk tests]$ locate libharbour.so.3.2 | grep local
/usr/local/lib/libharbour.so.3.2
/usr/local/lib/libharbour.so.3.2.0
/usr/local/lib/harbour/libharbour.so.3.2
[slitt@mydesk tests]$ hbmk2 -L/usr/local/lib hello.prg
hbmk2: Processing local make script: hbmk.hbm
Harbour 3.2.0dev (r2104281802)
Copyright (c) 1999-2021,
https://harbour.github.io/
Compiling 'hello.prg'...
Lines 7, Functions/Procedures 1
Generating C source output to '/tmp/hbmk_f1n63l.dir/hello.c'... Done.
[slitt@mydesk tests]$ ./hello
./hello: error while loading shared libraries: libharbour.so.3.2:
cannot open shared object file: No such file or directory
[slitt@mydesk tests]$
So what do I need to do to get it to find libharbour.so.3.2?
Thanks,
SteveT
Steve Litt
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist
http://www.troubleshooters.com/techniques