You will likely need to check /etc/ld.so.conf.d/* to ensure that
/usr/local/lib is in the default search path for the dynamic linker. Not
really related to Kea, just an issue whenever you install shared libraries
into /usr/local.

On Tue, Apr 26, 2022 at 11:55 AM John Gammon <[email protected]>
wrote:

> Good morning,
>
> I am rebuilding my test bed to work with Kea-2.1.4 branch.  I have
> downloaded the tar ball from isc.org.
>
> I get my environment setup and config pgsql server and am going through
> './configure', 'make', 'make install' for the software.
>
> When I launch the 'kea-dhcp4 -c /user/local/etc/kea/kea-dhcp4.conf', I
> received the following error:
>
> kea-dhcp4: error while loading shared libraries: libkea-dhcpsrv.so.65:
> cannot open shared object file: No such file or directory
>
>
> However, I have located the file in the correct location and with the
> proper permissions:
>
> ls /usr/local/lib/libkea-dhcpsrv* -lla
> -rw-r--r-- 1 root root 398874358 Apr 26 13:30
> /usr/local/lib/libkea-dhcpsrv.a
> -rwxr-xr-x 1 root root      1697 Apr 26 13:30 /usr/local/lib/
> libkea-dhcpsrv.la
> lrwxrwxrwx 1 root root        24 Apr 26 13:30
> /usr/local/lib/libkea-dhcpsrv.so -> libkea-dhcpsrv.so.65.0.0
> lrwxrwxrwx 1 root root        24 Apr 26 13:30
> /usr/local/lib/libkea-dhcpsrv.so.65 -> libkea-dhcpsrv.so.65.0.0
> -rwxr-xr-x 1 root root 112768720 Apr 26 13:30
> /usr/local/lib/libkea-dhcpsrv.so.65.0.0
>
>
> I have recompiled and reinstalled the software from a new download of the
> tarball, and am having the same results.  By the way, this is a new install
> and config of my test server with Ubuntu server 20.04.4, with all patches
> available installed.
>
> Suggestions of where I should look for additional information is
> appreciated.
>
> Thanks,
>
> John
>
> *John Gammon*
> Network Engineer
>
> Forked Deer Electric Cooperative, Inc./Forked Deer Connect, LLC.
> email:  *[email protected] <[email protected]>*
>
> *John Gammon*
>
> Network Engineer
>
> Office   731-903-4282
>
> [email protected] <[email protected]>
>
> [image: fdec logo]
>
> 1135 North Church Street
>
> PO Box 67
>
> Halls, TN 38040
>
> www.forkeddeer.com
> --
> ISC funds the development of this software with paid support
> subscriptions. Contact us at https://www.isc.org/contact/ for more
> information.
>
> To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
>
> Kea-users mailing list
> [email protected]
> https://lists.isc.org/mailman/listinfo/kea-users
>
-- 
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to