spoonfed has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I'm having some trouble building 5.6.1. Perhaps I just don't understand the deviding line between the C libs and Perl and I'm hoping some of you can help me out, or point me to some documentation at least. More specifically trouble with ODBM_File. Compile reports a note that there is no -ldbm, but probably harmless. I have SuSE's berkley db and db-devel installed, I've gone to SleepyCat and built my own, fixed ld.so to link to new libs, I've added local/BerkleyDB libs to ld path. I've even gone so far as to comment out the offending function in include/dbm.h however <Bold>make test</bold> still gives: perl: error while loading shared libraries: ../lib/auto/ODBM_File/ODBM_File.so: undefined symbol: dbminit After commenting dbminit out of dbm.h I figure OK so it's not using my C libs to make ODBM_File, but I can not seem to find any docs regarding this issue. I've found one reference on the web regarding this same issue on Slowaris, but no replies. Thanks for your wisdom. BTW Hi Nate

Replies are listed 'Best First'.
Re: 5.6.1 Build Trouble
by tfrayner (Curate) on Oct 23, 2001 at 14:04 UTC
    I'm not even remotely sure about this, having been bitten by libdb.so incompatabilities in my previous job. However I'm wondering if the libgdbm.so libraries are what you need (available from SuSE). Either that or perhaps the perl source requires a different libdb.so library version. SuSE desn't offer older versions, as far as I can tell, so you would need to get them from SleepyCat.

    Sorry I can't be of more help, I'm sure there are people around here better qualified to answer than me :-)

    Tim