My oracle-instantclient-basic-11.2.0.0.2 installation contains some symlinks for libs but lacks the corresponding lib files: # ls -l /usr/lib64/oracle/11.2.0.0.2/client/lib/*.so* lrwxrwxrwx 1 root root 57 Jan 3 20:53 /usr/lib64/oracle/11.2.0.0.2/client/lib/libclntsh.so -> /usr/lib64/oracle/11.2.0.0.2/client/lib/libclntsh.so.11.2 -rw-r--r-- 1 root root 9128 Jan 3 20:53 /usr/lib64/oracle/11.2.0.0.2/client/lib/libheteroxa11.so -rw-r--r-- 1 root root 2901720 Jan 3 20:53 /usr/lib64/oracle/11.2.0.0.2/client/lib/libnnz11.so lrwxrwxrwx 1 root root 55 Jan 3 20:53 /usr/lib64/oracle/11.2.0.0.2/client/lib/libocci.so -> /usr/lib64/oracle/11.2.0.0.2/client/lib/libocci.so.11.2 -rw-r--r-- 1 root root 87837544 Jan 3 20:53 /usr/lib64/oracle/11.2.0.0.2/client/lib/libociei.so -rw-r--r-- 1 root root 137064 Jan 3 20:53 /usr/lib64/oracle/11.2.0.0.2/client/lib/libocijdbc11.so Looking at the build log: >>> Install oracle-instantclient-basic-11.2.0.0.2 into /var/tmp/portage/dev-db/oracle-instantclient-basic-11.2.0.0.2/image/ category dev-db install: cannot stat `*.so.11.2': No such file or directory !!! doins: *.so.11.2 does not exist >>> Completed installing oracle-instantclient-basic-11.2.0.0.2 into /var/tmp/portage/dev-db/oracle-instantclient-basic-11.2.0.0.2/image/ * QA Notice: file does not exist: * * doins: *.so.11.2 does not exist As a consequence, the build is pretty unusable, and other packages trying to compile against it (e.g. dev-lang/php-5.2.12[oci8-instant-client]) will fail to do so. Looking at the unpacked work dir, it seems that the libs in question still use the 11.1 sonames, despite the changed package version number. Which seems a good thing, as e.g. php explicitely checks for 11.1 and would fail otherwise. So the solution is simple, change the doins to *.so.11.1 or *.so.11.*.
Created attachment 215140 [details, diff] Revert from CVS 1.2 to 1.1 (In reply to comment #0) > So the solution is simple, change the doins to *.so.11.1 or *.so.11.*. ... and adjust the "fixes symlinks" section. Looks like everything was all right in CVS rev 1.1 of that ebuild, but 1.2 broke things while according to the commit message it was supposed to "Fix doins". So the diff to fix this is there already, albeit reversed: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/oracle-instantclient-basic/oracle-instantclient-basic-11.2.0.0.2.ebuild?r1=1.1&r2=1.2 I've attached it as a forward case for your convenience. When fixing this you should bump the revision, as the issue affects the runtime behaviour of the installed package.
(In reply to comment #1) > As a consequence, the build is pretty unusable, and other packages trying to > compile against it (e.g. dev-lang/php-5.2.12[oci8-instant-client]) will fail to > do so. It installs broken links for me, as well. I've pulled the more recent build of 11.2.0.1 and libocci.so and libclntsh.so are both broken, so that dev-db/tora-2.1.0 and dev-db/tora-2.1.1 do not build.
Fixed in CVS.