Re: [OT] Berkely DB shared library




"Igor S. Livshits" <igorl@life.uiuc.edu> writes:

> I apologize for this somewhat off-topic post, but I recall a 
> discussion earlier concerning Berkeley DB and my other sources are 
> turning out to be fruitless.
> 
> Anyway, I am trying to compile a shared library version Berkeley DB 
> 2.6.4.10 using gcc-2.8.1 installed from scratch on my RedHat 5.2 
> system. The static library works fine, but the shared library fails 
> to link with the following error (sendmail example):
> 
> sendmail: error in loading shared libraries
>: undefined symbol: __register_frame_info
> 
> 
> Folks at Sleepy Cat suggested that my compiler may be the problem. 
> Yet, this would be the first compiler problem after using it to 
> compile dozens of other packages.

This is the classic symptom of using gcc-2.8 (or egcs) to 
compile a library but gcc-2.7 to compile executables 
against that library. Perhaps that will help you figure
out what is going on.

(And yes, it is off topic...)

Regards,
                                        Owen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]