Netvault on FreeBSD-7.2 AMD64
Karsten Thygesen
karthy at netic.dk
Wed Jul 1 07:16:39 UTC 2009
Hi
Thanks a lot to all of you, who responded on my query. The solution
was to install lib32 (I still wonder why I did de-select them during
installation) as many of you pointed out.
When I did this, the Netvault binaries could almost run, but they had
problems finding their dynamic libraries, and after quite a lot of
googling, I figured out, that I had to set LD_32_LIBRARY_PATH instead
of LD_LIBRARY_PATH - that little, but crusial, difference took quite
some hours to figure out. But after we got this knowledge, everything
seems to work and we do now have Netvault on FreeBSD-7.2-amd64 (but it
is an unsupported platform from Bakbone - come on, Bakbone, get up to
speed!).
A small wish is, that it would be wonderful if the FreeBSD handbook
could be extended with a small chapter on how to run 32 bit binaries
on 64 bit platforms - especially hints like LD_32_LIBRARY_PATH would
be nice to know about... :-)
But thanks guys - the FreeBSD community is the best!!
Karsten
On Jun 29, 2009, at 20:26 , Roland Smith wrote:
> On Mon, Jun 29, 2009 at 12:19:44PM +0200, Karsten Thygesen wrote:
>> Hi
>>
>> We use FreeBSD-7.2 (p2, amd64) but it turns out, that there is
>> problems running Netvault.
>>
>> Netvault only support FreeBSD in 32bit (and I can verify, that it
>> works just fine here), so we are on out own with 64bit support.
>>
>> I'm quite new to 64bit edition of FreeBSD, so there might be
>> something
>> simple, that I do not know about, but when I try to run one of the
>> netvault binaries, I get this error:
>>
>> [karthy at karthywork ~]$ ./txtconfig
>> ELF interpreter /libexec/ld-elf.so.1 not found
>> Abort trap: 6
>
> AFAIK, a 32-bit app should be looking for /libexec/ld-elf32.so.1!
>
> Does /libexec/ld-elf32.so.1 exist? Are there any libraries in /usr/
> lib32?
> If not, you need to install or build 32-bit compatible libraries. Not
> just the system libraries (you should be able to get those from the
> install CD with sysinstall), but also any 3rd party libraries that
> netvault requires!
>
>> [karthy at karthywork ~]$ ls -l /libexec/ld-elf.so.1
>> -r-xr-xr-x 1 root wheel 198456 Jun 29 11:32 /libexec/ld-elf.so.1
>
>> [karthy at karthywork ~]$ file txtconfig
>> txtconfig: ELF 32-bit LSB executable, Intel 80386, version 1
>> (FreeBSD), dynamically linked (uses shared libs), stripped
>>
>> [karthy at karthywork ~]$ uname -a
>> FreeBSD karthywork.netic.dk 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0:
>> Wed Jun 24 00:14:35 UTC 2009 root at amd64-builder.daemonology.net:/
>> usr/obj/usr/src/sys/GENERIC amd64
>
> Seems that you are using a GENERIC kernel. That does include 32-bit
> compatibility.
>
> Roland
> --
> R.F.Smith http://www.xs4all.nl/~rsmith/
> [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much
> appreciated]
> pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID:
> C321A725)
More information about the freebsd-amd64
mailing list