[CentOS] Trying to compile, incompatible libraries? Cento4

Peter Arremann loony at loonybin.org
Thu Jul 21 00:02:52 UTC 2005


On Wednesday 20 July 2005 15:50, Edward Croft wrote:
> How would I find out if libdl.so.2 have _dl_lookup_symbol included? What is
> nm? Forgive me, I am not a programmer anymore. I last programmed in COBOL
> days. I am the systems person and we upgraded to CentOS from RHAS21 and now
> the programmer can't compile. He gave it to me to figure it out. I
> understand makefiles, et al to a point that I have to compile drivers and
> such, but my expertise is limited in this area. But always willing to learn
> a new trick.

Hmmm - it looks for a symbol that is no longer available in that version... 
From the error and your statement I guess that your app is linked against a 
3rd party library or an internal piece of code that you did not recompile, 
correct? 

If you can't recomipile the code you probably will not be happy. If you are 
trying to access symbols that were exported but aren't any longer and stuff 
like that you might be ok with exporting LD_ASSUME_KERNEL=2.2.5 but that will 
in your case most likely just change the error, not get rid of it. Especially 
c_type_b... The other thing you can try is install a 6.2 compat glibc. Since 
6.2 is so old, its not even part of the distribution anymore, but you can 
usually get away loading an older glibc-compat (i.e. I loaded the 
compat-glibc-6.2-2.1.3.2.i386.rpm from RH7.3 on a Fedora Core 1 box)... 

Either way, it comes down to your application simply being too old - try get 
an upgrade to whatever lib holds you back... 

Peter.



More information about the CentOS mailing list