- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: where can i found the libdb1.a library for lin...
Operating System - Linux
1752679
Members
5424
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2009 09:47 PM
тАО10-21-2009 09:47 PM
where can i found the libdb1.a library for linux Redhat 5 for x86_64 machine.
Hi All,
I have problem with compiling the source code on linux X86_64 bit machine, The ld fails because of unable to find the libdb1.a static library. I search the static library libdb1.a on web for rpm and source for X86-64 machine, I didn't find the this rpm or source code for this library , please suggest me where can get this rpm or source code for this library (libdb1.a) on redhat linux 5 for x86-64 bit machine.
Error is below:
./usr/bin/ld: cannot find -ldb1
collect2: ld returned 1 exit status
Thanks & Regards
Gavi
I have problem with compiling the source code on linux X86_64 bit machine, The ld fails because of unable to find the libdb1.a static library. I search the static library libdb1.a on web for rpm and source for X86-64 machine, I didn't find the this rpm or source code for this library , please suggest me where can get this rpm or source code for this library (libdb1.a) on redhat linux 5 for x86-64 bit machine.
Error is below:
./usr/bin/ld: cannot find -ldb1
collect2: ld returned 1 exit status
Thanks & Regards
Gavi
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2009 03:09 AM
тАО10-22-2009 03:09 AM
Re: where can i found the libdb1.a library for linux Redhat 5 for x86_64 machine.
If the source code was developed at your site, you should know what it requires. If it was developed elsewhere, see the README files and any other documentation that came with the source code to get more information about the pre-requisites for compiling the software.
"libdb1" might be a very old version of Berkeley database library. The current version is db4, available in the standard RHEL 5 distribution (package "db4" for binaries, "db4-devel" for the appropriate .h and .a files for compiling software that uses the library.
RHEL 5 also has a "compat-db" package that provides the libdb1 libraries (.so files only). The package description says this package is created to provide binary compatibility with *RedHat 7.x*, which is very old and out of support.
The compat-db package is for running old software for which you have no source code.
No new software should be compiled with libdb1 any more: the software should be updated to use the newer version of the library.
I don't know what you're trying to compile, but I think it would be a really good idea to try and find a newer version of the source code... hopefully with db4 support already integrated.
If you really must, find the libdb1 source RPM for RedHat 7.x in RedHat's old product archive:
ftp://archive.download.redhat.com/pub/redhat/linux/
Use the "rpmbuild" command with the old source RPM to compile a new set of binary RPMs for your RHEL 5. The command should automatically generate at least two RPM packages: a libdb1 RPM with the binaries and a libdb1-devel RPM with the .a and .h files.
MK
"libdb1" might be a very old version of Berkeley database library. The current version is db4, available in the standard RHEL 5 distribution (package "db4" for binaries, "db4-devel" for the appropriate .h and .a files for compiling software that uses the library.
RHEL 5 also has a "compat-db" package that provides the libdb1 libraries (.so files only). The package description says this package is created to provide binary compatibility with *RedHat 7.x*, which is very old and out of support.
The compat-db package is for running old software for which you have no source code.
No new software should be compiled with libdb1 any more: the software should be updated to use the newer version of the library.
I don't know what you're trying to compile, but I think it would be a really good idea to try and find a newer version of the source code... hopefully with db4 support already integrated.
If you really must, find the libdb1 source RPM for RedHat 7.x in RedHat's old product archive:
ftp://archive.download.redhat.com/pub/redhat/linux/
Use the "rpmbuild" command with the old source RPM to compile a new set of binary RPMs for your RHEL 5. The command should automatically generate at least two RPM packages: a libdb1 RPM with the binaries and a libdb1-devel RPM with the .a and .h files.
MK
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2009 04:32 AM
тАО10-23-2009 04:32 AM
Re: where can i found the libdb1.a library for linux Redhat 5 for x86_64 machine.
Hi Matti,
Thanks for your suggestion. As per your suggestion i downloaded the open suse linux db1 and db1-devl rpms(we didn't find el5 rpms) and tried to compile my source code, some modules successful and one module unable to link this static library because the one intermediate module generated without -fPIC options, Becuase of this it fails. Then we plan to go higher version db4 databases, we modified our source code and compile and generated rpms. Still we didn't tested this new rpm files on x86_64 bit machine.
Thanks for your help.
Thanks & Regards
Gavi
Thanks for your suggestion. As per your suggestion i downloaded the open suse linux db1 and db1-devl rpms(we didn't find el5 rpms) and tried to compile my source code, some modules successful and one module unable to link this static library because the one intermediate module generated without -fPIC options, Becuase of this it fails. Then we plan to go higher version db4 databases, we modified our source code and compile and generated rpms. Still we didn't tested this new rpm files on x86_64 bit machine.
Thanks for your help.
Thanks & Regards
Gavi
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP