i386 6.x binaries not working on AMD64 7.x (with compat)
I have installed freebsd 7 AMD64 and need to run a vendor program compiled on freebsd 6 i386 (no source supplied).
I have installed the port misc/compat6x. But for some reason, it does not recognise to use the 32 bit libraries.
I have added the libraries supplied to ldconfig.
[root@glue Base]# ldconfig -32 -r
/var/run/ld-elf32.so.hints:
search directories: /usr/lib32:/usr/local/lib32/compat:/opt/hds/Base
ld fails with this error (but works perfectly on freebsd7 i386 with compat6x installed).
[root@glue Base]# ld cvfwd
ld: warning: i386 architecture of input file `cvfwd' is incompatible with i386:x86-64 output
ld: warning: cannot find entry symbol _start; defaulting to 00000000004017d8
I think I have not configured something with ld.
Any help would be appreciated.
thanks,
les
|