Operating System - HP-UX
1825061 Members
5093 Online
109679 Solutions
New Discussion юеВ

Reinstall ndbm library without original CD

 
Andrew Lee_5
Occasional Advisor

Reinstall ndbm library without original CD

After installed gdbm, it has replaced the original ndbm.h in my system. So some of my previous cpp files cannot be compiled.
I want to re-install the ndbm again. But I don't have the original installer CD. I'd searched though hp.com but not found. Where can I get the installer? Or may anyone post it on here?
Thanks.

Andrew Lee
3 REPLIES 3
Stefan Farrelly
Honored Contributor

Re: Reinstall ndbm library without original CD


If you installed gdbm using Software Distributor then it should have kept a copy of any files replaced. You can search for it by going to;
cd /var/adm/sw
find . -print|grep ndbm.h

You should find it there. Or try running the find in /usr/newconfig

If you still cant find it I can post it to you but you need to tell me what version youre after - 10.20/11/11i
Im from Palmerston North, New Zealand, but somehow ended up in London...
Andrew Lee_5
Occasional Advisor

Re: Reinstall ndbm library without original CD

Thanks for your reply.
I can't find the backup file.
So would you please post yours to here?
I am using HP-UX 11i.
I am a newbie to HP-UX. So, I want to confirm these:
1. Is it ok if I just overwrite the ndbm.h file?
2. Should I install the whole library again?

Thanks!

Andrew Lee
Stefan Farrelly
Honored Contributor

Re: Reinstall ndbm library without original CD


Just replacing the header file might not be sufficient to get your old stuff to compile, but as its easy to try I would give it a go. Heres the file.

Im from Palmerston North, New Zealand, but somehow ended up in London...