--- Yura Semashko yurand2@gmail.com wrote:
On Monday 10 July 2006 12:55, Lionel B wrote:
For general info, I was able to compile Geany (0.7.1) successfully
from
tarball on a 64-bit arch (Intel Xeon running RH Enterprise Linux
4). As I
recall, the only tweaking required was that I had to point the
linker
explicitly to /usr/lib64 with:
LDFLAGS=-Wl,-rpath /usr/lib64
as it would otherwise search for some system libs (can't recall
which...)
in /usr/lib and reject them as incompatible.
This is strange, does this mean that in order to compile almost *any* software you need to specify this ldflag by hand?
No.
I can't belive 64-bit RH is so broken.
It's not.
(/usr/lib is just symlink to /usr/lib64 here on gentoo)
My RH maintains 64-bit libs in /usr/lib64 and 32-bit libs in /usr/lib, so you have the option to compile code as 64-bit or 32-bit (maybe this is a Xeon thing). Most configure scripts seem to identify the architecture as x86_64 and resolve the correct library path accordingly... not sure why geany's didn't (maybe I should have enabled the-force :)
I have occasionally had similar issues with other tarballs but am an autoconf/automake know-nothing so have no idea why.