[CentOS] Trying to compile, incompatible libraries? Cento4

Edward Croft croftale at gmail.com
Wed Jul 20 19:50:22 UTC 2005


On 7/20/05, Bruno Delbono <Bruno.S.Delbono at mail.ac> wrote:
> +++ Edward Croft [Tue Jul 19, 2005 at 01:42:50PM -0400]:
> > I get the errors:
> > zip4_lnx.a(generic.o)(.text+0xb16): more undefined references to
> > `__ctype_b' follow
> > zip4_lnx.a(libdl.so): undefined reference to `_dl_close at GLIBC_2.0'
> > zip4_lnx.a(libdl.so): undefined reference to `_dl_catch_error at GLIBC_2.0'
> > zip4_lnx.a(libdl.so): undefined reference to `_dl_addr at GLIBC_2.0'
> > zip4_lnx.a(libdl.so): undefined reference to
> > `_dl_lookup_versioned_symbol_skip at GLIBC_2.0'
> > zip4_lnx.a(libdl.so): undefined reference to
> > `_dl_lookup_versioned_symbol at GLIBC_2.0'
> > zip4_lnx.a(libdl.so): undefined reference to `_dl_lookup_symbol at GLIBC_2.0'
> > zip4_lnx.a(libdl.so): undefined reference to `_dl_loaded at GLIBC_2.1'
> > zip4_lnx.a(libdl.so): undefined reference to `_dl_open at GLIBC_2.0'
> > zip4_lnx.a(libdl.so): undefined reference to `_dl_signal_error at GLIBC_2.0'
> > zip4_lnx.a(libdl.so): undefined reference to `_dl_global_scope at GLIBC_2.0'
> > zip4_lnx.a(libdl.so): undefined reference to `_dl_lookup_symbol_skip at GLIBC_2.0'
> >
> > I have the compatibility libraries installed. I have tried using
> > gcc296, gcc, and gcc4 and still get the message. The
> > library,libdl.so.2 is in /lib with a symlink to /usr/lib/libdl.so
> > Using CentOS 4.0.
> 
> does libdl.so.2 have _dl_lookup_symbol included? Could nm the libs in the
> path to ensure that these symbols are correctly being found and linked?
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 

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.

-- 
If the sane say the insane are insane, 
What if the sane are insane?
Would that make the insane sane? 
Explains a lot in Washington!
  --E. Croft



More information about the CentOS mailing list