gdbm.so fails to dynamically link with libgdbm
R7RS Scheme scripting engine
Status: Beta
Brought to you by:
shirok
libgdbm can not be always found in system run-path. On
my platform (NetBSD 2.0), libgdbm is a 3rd party
package and is located in /usr/pkg/lib, where gdbm.so
needs to know in prior. That is, a run-path option
against there needs to be passed to the command-line
linking gdbm.so.
I think this could be done in the same way as
ICONV_LDFLAGS.
No patch from me. Sorry.
Logged In: YES
user_id=126450
Can you try --with-local=/usr/pkg at configuration time?
Didn't it work?
Logged In: NO
Thanks for the reply. Even with --with-local, libgdbm is
not dynamically linked. The point is whether "-Wl,-R..." is
passed to cc or not. "-Wl,-L..." is already passed to cc,
so static linking is succeeding.
Logged In: YES
user_id=126450
I see the problem. Will fix in the next release. Thanks
for reporting.