At 12:53 AM 5/23/2006 +0200, Axel Weiß wrote:
Alberto Massari wrote:
> At 10:35 PM 5/22/2006 +0200, Axel Weiß wrote:
> >Alberto Massari wrote:
> > > can you check if the binary outputs are really 64
> > > bit? I am not sure that configure generates by
> > > default the proper command line options to force a 64 bit build.
> >
> >Hi Alberto,
> >
> >[EMAIL PROTECTED]:/usr/local/lib> file libxerces-3.0.so
> >libxerces-3.0.so: ELF 64-bit LSB shared object, AMD x86-64, version 1
> > (SYSV), not stripped
> >
> >:)
>
> Good :-)
> Can you check if rpmbuild instead needs some
> specific switch? According to the bug reporter,
> using {%_lib} in the spec file should be enough
> to be compatible with both 32 and 64 bit environments.
Don't know how to make rpmbuild (grep for 'rpm' gave no hits in Makefile).
However, in trunk/Makefile, line 247: libdir = ${exec_prefix}/lib
trunk/Makefile.in, line 247: libdir = @libdir@
shows that @libdir@ is set wrong.
Hi Axel,
rpmbuild is an utility that reads the
xerces-c.spec file and executes the instructions found there.
The spec file specifies this line
make prefix=$RPM_BUILD_ROOT%{prefix}
libdir=$RPM_BUILD_ROOT%{prefix}/%{_lib} install
that overwrites the libdir variable found in the Makefile.
So, provided that %{_lib} is expanded into "lib64", it should work.
Alberto
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]