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
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.
I am not sure if other i386 binaries are working, everything else I have installed using compat6x is a 64bit version.
[root@glue Base]# ldd cvfwd
ldd: cvfwd: can't read program header
ldd: cvfwd: not a dynamic executable
its-les-vm# ldd cvfwd
libpthread.so.2 => /usr/local/lib/compat/libpthread.so.2 (0x2809c000)
libc.so.6 => /usr/local/lib/compat/libc.so.6 (0x280c1000)
|Thread||Thread Starter||Forum||Replies||Last Post|
|Anyone with AMD64 random panics on i386?||indiocolifa||FreeBSD General||13||24th March 2009 01:53 AM|
|HDD formatted UFS under AMD64 experiences weirdness under I386||Gemini||FreeBSD General||4||9th December 2008 04:27 AM|
|Allow i386 and amd64 to boot from extended DOS partitions||lvlamb||OpenBSD General||4||16th July 2008 03:24 PM|
|i386 drivers on amd64||kienjakenobi||FreeBSD Ports and Packages||5||25th June 2008 05:37 PM|
|Revert from AMD64 to i386||chavez243||FreeBSD General||6||6th May 2008 12:24 PM|