[Slackbuilds-users] Help with guile-dbi.

Duncan Roe duncan_roe at optusnet.com.au
Fri Jul 14 04:41:42 UTC 2023

Hi Vladimir,

On Fri, Jul 14, 2023 at 10:00:28AM +0800, Lockywolf wrote:
> Hello, everyone
> I really should ask for help at guile-dbi or guile's channels, but I
> have already done so, and they are not particularly active.
> So, I have two slackbuilds:
> https://gitlab.com/Lockywolf/lwfslackbuilds/-/tree/master/guile-dbi
> https://gitlab.com/Lockywolf/lwfslackbuilds/-/tree/master/guile-dbd-mysql
> They compile and install fine, however, using the guile-dbi module fails
> with a cryptic error:
> scheme@(guile-user)> (load "/dbi/dbi.scm")
> guile: symbol lookup error: /usr/lib64/libguile-dbi.so: undefined symbol: lt_dlinit
> Indeed, nm'ing /usr/lib64/libguile-dbi.so I find lt_dlinit being U for
> "undefined".
> I have never seen such an error before. I know that libtool is not
> expected to be simple, but I have never ever seen libtool errors.
> Can someone sugges a debugging method?
> --
> Your sincerely,
> Vladimir Nikishkin (MiEr, lockywolf)
> (Laptop)
> _______________________________________________
Not sure if this helps you but lt_dlinit is provided by libltdl.so (use -ldtl
in the build).

Found by grepping all files (but not symlinks) under /usr/lib64. In particular:

> php/build/libtool.m4:2671:  AC_CHECK_LIB(ltdl, lt_dlinit,
> grep: ./libltdl.so.7.3.1: binary file matches
> $ findit libltdl.so lt_dlinit
> Found lt_dlinit in libltdl.so at 0x7fcb8c28bfc0

(findit is from git at github.com:duncan-roe/command_line_tools)

Cheers ... Duncan.

More information about the SlackBuilds-users mailing list