Sample Header Ad - 728x90

db2 - What is purpose of db2ln and its file system symbolic links?

0 votes
1 answer
388 views
On Linux/x86-64 I have Db2 v11.1 installed. When I tried to install Db2 v11.5 alongside existing Db2 installation I got error "*DBI1004W /usr/lib/libdb2.so detected*". I checked and I see symbolic links on paths: ls -l /usr/lib | grep "/opt/ibm/db2/" ls -l /usr/include | grep "/opt/ibm/db2" In error description is suggestion to delete those links. After using db2rmln command those links are removed. Installation of Db2 v11.5 was now successful. But I have checked and those symbolic links are not recreated. According to https://www.ibm.com/docs/en/db2/11.5?topic=servers-multiple-db2-copies-one-system-linux-unix this works as intended. Info: "*Links must not be created when multiple Db2 copies are intended to coexist.*" It is so fine those symbolic links do not exist if multiple copies of Db2 resist on the same Linux. My question is, what is purpose of those symbolic links and can I expect some problems not having them any more?
Asked by folow (523 rep)
Apr 13, 2022, 09:28 AM
Last activity: Apr 13, 2022, 10:46 AM