/usr/bin/ld: cannot find -lc
Syed Ahsan Ali Bokhari
Fri Feb 1 07:18:00 GMT 2013
32 bit libraries are required because I want to install some
application which do not build if 32 bit gfortran libraries are not
On Fri, Feb 1, 2013 at 12:13 PM, Ian Lance Taylor <firstname.lastname@example.org> wrote:
> On Thu, Jan 31, 2013 at 11:07 PM, Syed Ahsan Ali Bokhari
> <email@example.com> wrote:
>> The system is RHEL5.3 x86_64
>> folloing commands were used
>> tar xzf gcc-4.7.2.tar.gz
>> cd gcc-4.7.2
>> cd ..
>> mkdir objdir
>> cd objdir
>> What is the package name for 32 bit c library.
>> I cannot disable multilib becase shared libraries support is required
> Multilib and shared libraries are two different things. In GCC,
> multilib means building additional libraries for specific compilation
> parameters. In this case, building 32-bit libraries even though you
> have a 64-bit system. The 32-bit libraries are required if you want
> to be able to compile and link with the -m32 option. If you never
> want to use the -m32 option, then you could configure with
> I'm no expert on RHEL, but I think the 32-bit libraries are going to
> be something like glibc-NNNN.i686 and glibc-devel-NNNN.i686. The NNNN
> should be the same as the glibc RPM's you have installed already.
Engr. Syed Ahsan Ali Bokhari
Electronic Engineer (EE)
Research & Development Division
Pakistan Meteorological Department H-8/2, Islamabad.
Phone # off +92518358714
Cell # +923155145014
More information about the Gcc-help