New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ndbm gdbm problem in make test #6906
Comments
From warrend@mdhost.cse.tek.comCreated by warren.dodge@tek.comI am mailing this on Solaris because the Linux email is not working. I just built perl-5.8.1 and had the following error five times during the make perl: relocation error: In looking at NDBM_File.so with ldd I see libgdbm.so.3 => /proj/wdt/i686_linux2.4/lib/libgdbm.so.3 (0x40009000) Notice it is using the libgdbm (gnu) library. This doesn't seem right. There Ther is a /usr/lib/libndbm.so file on Linux. I have installed gdbm as seen I found this in the following file ext/NDBM_File/hints/linux.pl # Some distributions have both gdbm and ndbm Perhaps there is a logic problem in here somewhere?? This is the first time I have built perl on Linux so I can't tell you if it Let me know what information I can provide or what I can do to help solve Perl Info
|
From @rgsWarren L Dodge (via RT) wrote:
You have two options : It depends on your need for NDBM_File.
API compatibility between *dbm libraries is left as an exercise to the |
From warren.dodge@tektronix.comOk, I tried two things in this ndbm/gdbm area. I turned off the ext/NDBM_File/hints/linux.pl file. I did a new configure and So the new errors are like this one. lib/AnyDBM_File......................ndbm store returned -1, errno 22, key "" I also did a new configure and removed ndbm info from the list of libs and So, I don't know what to do/think. I would think, if each of the libraries Also, this all works fine on Solaris 8 using all the default choices in the
|
From @TuxOn Tue 11 Nov 2003 21:41, Warren L Dodge <warrend@mdhost.cse.tek.com> wrote:
<bells ringin'> Do you get anything like this: # nm /usr/lib/libndbm.a Remove /usr/lib/libndbm.a and /usr/lib/libndbm.so, both likely to be of size
-- |
From warrend@mdhost.cse.tek.comll /usr/lib/libndb* ll -L /usr/lib/libndb* Each of these do the nm just fine. The system I am using is a "standard" linux distribution. It is also a Here is the output of one test run ./perl lib/AnyDBM_File.t This is doing $h{''} = 'bar'; I can't figure out how to trace this error down. I really don't understand all the "dbm" formats or how to use them so I am In the past on solaris I just ran the default Configure and everything |
From @nwc10On Wed, Nov 12, 2003 at 09:28:57AM -0800, Warren L Dodge wrote:
Was there ever a version of ndbm that didn't allow empty keys? Nicholas Clark |
From @schwernOn Wed, Nov 12, 2003 at 09:28:57AM -0800, Warren L Dodge wrote:
The great thing about standard Linux distributions is there's so many to Knowing which Linux distribution you're using would help. -- |
From warrend@mdhost.cse.tek.comIf you are asking me about this, I have no idea.
|
From swtaylor@gentoo.orggdbm-1.8.3 moved the "old" ndbm functions from libgdbm.so to --- perl-5.8.2/ext/NDBM_File/hints/linux.pl.orig 2003-11-11 |
From warren.dodge@tektronix.comThis seemed to work fine. I also had to adjust the ODBM hints file to make What I found was that the Redhat release we are using does not provide the I built gdbm and installed the compat lib to make it work. Perhaps this is an omission in the Linux release? uname -a
|
From swtaylor@gentoo.orgI ran into this issue when gdbm-1.8.3 was added to the unstable tree of Blue root # uname -a These are the packages that I would merge, in order: Calculating dependencies ...done!
|
@smpeters - Status changed from 'open' to 'resolved' |
From @smpetersOn Thu Jan 22 16:16:05 2004, swtaylor wrote:
This was resolved with change #22892. Steve |
Migrated from rt.perl.org#24444 (status was 'resolved')
Searchable as RT24444$
The text was updated successfully, but these errors were encountered: