Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-15-2009, 08:02 AM
|
#1
|
LQ Newbie
Registered: Dec 2008
Posts: 11
Rep:
|
error in compilation of berkeley DB
hi all,
i am installing Berkeley Db using the HLFS book. I get the following error when i run make:
creating db_archive
/bin/sh ./libtool --mode=execute true db_archive
make: *** [db_archive] Segmentation fault
make: *** Deleting file `db_archive'
i scanned through the ./libtool file to find "--mode=execute true" but dint get the clear picture.
Can anyone please help me solve this ? and also explain the libtool command line options [ execute and true ]
The following is the details:
processor : AMD64
db version : db-4.5.20 [ even tried 4.4.20 and 4.6.18 ]
configured as : ../dist/configure --prefix=/usr --enable-compat185
--enable-cxx
let me know if more details are needed
--
Thank you
|
|
|
04-15-2009, 01:41 PM
|
#2
|
Member
Registered: Dec 2008
Location: Newark Ohio
Distribution: Fedora Core
Posts: 270
Rep:
|
You should review the logs and they will point you to what is missing, I'm sure you don't have everything installed that needs to be in respect to devel or lib packages.
|
|
|
04-15-2009, 01:50 PM
|
#3
|
Senior Member
Registered: Jan 2006
Posts: 4,363
Rep: 
|
It would probably help if we knew your distro, version, and arch.
|
|
|
04-16-2009, 12:23 AM
|
#4
|
LQ Newbie
Registered: Dec 2008
Posts: 11
Original Poster
Rep:
|
Thanks for the replies..
@lazlow
Here are the details:
arch : amd athlon 64 bit
distro : general linux (compiled using HLFS book)
linux kernel version : 2.6.24.7
@kentyler:
I have installed linux from scratch and now installing the required application package. So i hope i have installed all the required packages. As given in LFS book there are optional dependencies for DB (tcl and JDK) which i ahve installed. The error says seg fault and nothing more in the log.
|
|
|
04-16-2009, 12:33 AM
|
#5
|
Senior Member
Registered: Jan 2006
Posts: 4,363
Rep: 
|
Did you compile it 32bit or 64bit (you can do either with your hardware)?
|
|
|
04-16-2009, 08:50 AM
|
#6
|
Member
Registered: Dec 2008
Location: Newark Ohio
Distribution: Fedora Core
Posts: 270
Rep:
|
there should be a config.log created in that directory which will have the details prior to the segmentation fault.
|
|
|
04-17-2009, 12:54 AM
|
#7
|
LQ Newbie
Registered: Dec 2008
Posts: 11
Original Poster
Rep:
|
@lazlow:
i have done it for 64-bit(using --disable-multilib)
Thank you
|
|
|
04-17-2009, 01:04 AM
|
#8
|
LQ Newbie
Registered: Dec 2008
Posts: 11
Original Poster
Rep:
|
@kentyler:
i hope config.log contains the details of the configuration for which the package is being installed, such as cache variables, output variables blha blha. So there is no means to get the details of compilation in config.log. If i am wrong please do correct me.
Thank you
|
|
|
All times are GMT -5. The time now is 09:34 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|