Hey guys
I have a solaris 10 OS, with a zone configured. In that zone, I am trying to install an Oracle Client. However, when I run the oracle installer, I get the following error:
ld.so.1: java: fatal: libexpat.so.0: open failed: No such file or directory
ld.so.1: java: fatal: libfreetype.so.6: open failed: No such file or directory
ld.so.1: java: fatal: libexpat.so.0: open failed: No such file or directory
ld.so.1: java: fatal: relocation error: file /usr/lib/64/libfontconfig.so: symbol XML_ParserCreate: referenced symbol not found
I have googled and googled for hours. It looks like the issue is that the runtime linker ld expects libexpat.so.0 and libfreetype.so.6 to be somewhere else, but I have no idea about the last one, libfontconfig.so. So i tried setting LD_LIBRARY_PATH which didn't work. I then tried adding the path to these libraries using crle, but that didn't work either. Finally, I tried adding a link to the libraries, in where ld was looking for them. First, from within the zone:
-bash-3.00# ln -s /usr/local/lib/libexpat.so.0 /usr/lib
ln: cannot create /usr/lib/libexpat.so.0: Read-only file system
and again from the global zone:
-bash-3.00# cd /export/home/zonename/root/
-bash-3.00# ln -s usr/local/lib/libexpat.so.0 usr/lib
ln: cannot create usr/lib/libexpat.so.0: Read-only file system
So... can anyone help me:
- Change the zone's /lib to read/write
- add the library to the crle / library path and have it work
- Tell me if I'm on the right track at least (ie, that it is a problem with where ld is looking)
- anything else to help fix it.
On a side note, the Oracle Client I'm trying to install is 11g. I previously tried 10g and had that work beautifully. Unfortunately, 10g is actually incompatible with the next thing i'll be putting in the zone.
Cheers, I'd appreciate any help you can offer