giovedì 23 maggio 2013

Oracle 11gR2: fix linking/compilation errors on Debian Wheezy


In Debian Wheezy some libraries have been moved from their standard location (maybe due to multiarch support).


If you are installing Oracle 11gR2 on a Debian 7.0 Wheezy system be sure to create these symbolic links before launching Oracle Universal Installer.

# 64-bit systems
ln -s /usr/lib/x86_64-linux-gnu/libpthread_nonshared.a /usr/lib64/
ln -s /usr/lib/x86_64-linux-gnu/libc_nonshared.a /usr/lib64/
ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /usr/lib64/
ln -s /lib/x86_64-linux-gnu/libgcc_s.so.1 /lib64/

# 32-bit systems
ln -s /usr/lib/i386-linux-gnu/libpthread_nonshared.a /usr/lib/
ln -s /usr/lib/i386-linux-gnu/libc_nonshared.a /usr/lib/
ln -s /usr/lib/i386-linux-gnu/libstdc++.so.6 /usr/lib/
ln -s /lib/i386-linux-gnu/libgcc_s.so.1 /lib/

It is possible you will still get one linking error but it should not stop/break your installation: simply ignore it.

Nessun commento: