Philipp Thomas pth-at-suse.de |suse-amd64| wrote:
* Stephen Williams (1mc9i5i02@sneakemail.com) [20050118 17:27]:
On a 64bit machine, I compile Icarus Verilog vvp for 64bit *and* 32bit, the latter for compatibility with 32bit vpi code. But I cannot seem to find a 32bit libhistory.so? I think I remember having to hunt for it on SLES8 too. Why wasn't it just installed?
The libhistory.so is a symlink pointing to the actual library to use. As this link needs to be in /usr/lib for linker to find it, there can only be one present at a time.
The only workaround I can think of is readjusting the symlink for the 32bit compile and changing it back afterwards, i.e.
ln -sf /lib/libhistory.so.5 /usr/lib/libhistory.so <32bit compile> ln -sf /lib64/libhistory.so.5 /usr/lib/libhistory.so
That makes no sense, as that is what the /usr/lib64 directory is for. And there is already a /usr/lib64/libhistory.so file there. I'm looking for the 32bit libhistory.so file to install in /usr/lib. It turns out that there is a /lib/libhistory.so.5, so maybe that's what I need and I wonder why the normal link is not picking it up? Perhaps I wasn't clear. I make seperate vvp binaries, a normal vvp and a vvp32. The latter obviously needs to link to 32bit versions of libraries. -- Steve Williams "The woods are lovely, dark and deep. steve at .......... But I have promises to keep, http://www........... and lines to code before I sleep, http://www.picturel.com And lines to code before I sleep."