Menu

#44 gdbm.so fails to dynamically link with libgdbm

open
None
5
2004-09-27
2004-09-25
Anonymous
No

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.

Discussion

  • Shiro Kawai

    Shiro Kawai - 2004-09-27
    • assigned_to: nobody --> shirok
     
  • Shiro Kawai

    Shiro Kawai - 2004-09-27

    Logged In: YES
    user_id=126450

    Can you try --with-local=/usr/pkg at configuration time?
    Didn't it work?

     
  • Nobody/Anonymous

    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.

     
  • Shiro Kawai

    Shiro Kawai - 2004-10-14

    Logged In: YES
    user_id=126450

    I see the problem. Will fix in the next release. Thanks
    for reporting.

     

Log in to post a comment.

MongoDB Logo MongoDB