diff --git a/xCAT-client/bin/db2sqlsetup b/xCAT-client/bin/db2sqlsetup index 4b147419e..fd231bef2 100755 --- a/xCAT-client/bin/db2sqlsetup +++ b/xCAT-client/bin/db2sqlsetup @@ -1629,7 +1629,7 @@ sub setupODBC $sharedlibaix = "$::databaseloc/sqllib/lib/libdb2.so"; } else { $sharedlib32="$::databaseloc/sqllib/lib32/libdb2.so"; - $sharedlib64="/var/lib/db2/sqllib/lib/libdb2o.so"; + $sharedlib64="$::databaseloc/sqllib/lib/libdb2o.so"; } $cmd = "fgrep -i DB2 $odbcinstfile "; xCAT::Utils->runcmd($cmd, -1);