Quantcast
Channel: Intel® Software - Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1175

icpc incorrectly links to symbolic linked library

$
0
0

We are using icpc to dynamically link to an oracle library as follows:

icpc -shared -m64 -static-intel  -Wl,--version-script .... (object list) ... -L/home/oracle/app/oracle/product/12.1.0/dbhome_1/lib -lclntsh

In the directory /home/oracle/app/oracle/product/12.1.0/dbhome_1/lib, we have the symbolic link:

lrwxrwxrwx 1 oracle oinstall    69 May 8 2017 libclntsh.so -> /home/oracle/app/oracle/product/12.1.0/dbhome_1/lib/libclntsh.so.12.1

 

We assume that this link will produce a library which will dependant on libclntsh.so .  But the resulted library is dependent on libclntsh.so.12.1, which is the symolic linked library. This causes our library not to be version in dependent.

Please advise.

Thanks in advanced


Viewing all articles
Browse latest Browse all 1175

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>