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

Re: rpmbuild for PPC sticks libs in /usr/lib64



Matthew Saltzman wrote:
(I've put gnumeric aside for a bit.)

I tried to build Axel Thimm's f2c RPM for PPC using:

    rpmbuild -bb --target ppc f2c-20031026-2.el4.at.spec

(after fixing a minor spec file issue). When it finishes building on my PPC64 system, it installs the libraries it built into /usr/lib64 instead of /usr/lib. Of course, as these are 32-bit libraries, it wreaks havoc with the linker when it looks for libf2c.a.

Target ppc is definitely 32 bits, so what is causing _libdir to be set to /usr/lib64? Is it a bug? (Nothing that appears relevant is set in the spec file or in my .rpmmacros file.)


what do you have in /etc/rpm/platform ? might be worth looking there to see what rpm's picking up ( hint: rpm --showrc )

--
Karanbir Singh : http://www.karan.org/ : 2522219 icq


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