fix: oxd-server is missing couchbase-spanner libs
External couchbase and spanner libs should be symlinked to oxd lib dir
diff --git a/setup_app/installers/jetty.py b/setup_app/installers/jetty.py
index 4ef3e628..15734bf4 100644
--- a/setup_app/installers/jetty.py
+++ b/setup_app/installers/jetty.py
@@ -391,7 +391,7 @@ class JettyInstaller(BaseInstaller, SetupUtils):
         war_zip = zipfile.ZipFile(target_war_fn)
         for builtin_path in war_zip.namelist():
             if  builtin_path.endswith('.jar'):
-                builtin_libs.append(os.path.basename( builtin_path))
+                builtin_libs.append(os.path.basename(builtin_path))
         war_zip.close()
 
         def in_war(name):
diff --git a/setup_app/installers/oxd.py b/setup_app/installers/oxd.py
index b23ccce0..d533d866 100644
--- a/setup_app/installers/oxd.py
+++ b/setup_app/installers/oxd.py
@@ -3,6 +3,7 @@ import glob
 import socket
 import ruamel.yaml
 import tempfile
+import pathlib
 
 from setup_app import paths
 from setup_app.static import AppType, InstallOption, fapolicyd_rule_tmp
@@ -93,6 +94,8 @@ class OxdInstaller(SetupUtils, BaseInstaller):
 
             self.run([paths.cmd_chown, '{}:{}'.format(oxd_user, Config.gluu_group), os.path.join(Config.osDefault, self.service_name)])
 
+        self.configure_extra_libs()
+
         self.enable()
 
     def get_yaml_config(self):
@@ -291,3 +294,19 @@ class OxdInstaller(SetupUtils, BaseInstaller):
         if not os.path.exists(self.oxd_root):
             self.run([paths.cmd_mkdir, self.oxd_root])
 
+
+    def configure_extra_libs(self):
+
+        if Config.cb_install:
+            common_lib_dir = base.current_app.CouchbaseInstaller.common_lib_dir
+        elif Config.rdbm_install and Config.rdbm_type == 'spanner':
+            common_lib_dir = base.current_app.RDBMInstaller.common_lib_dir
+        else:
+            return
+
+        target_path = pathlib.Path(self.oxd_root).joinpath('lib')
+
+        for common_lib in pathlib.Path(common_lib_dir).glob('*.jar'):
+            target_lib = target_path.joinpath(common_lib.name)
+            if not target_lib.exists():
+                target_lib.symlink_to(common_lib)
['setup_app/installers/oxd.py', 'setup_app/installers/jetty.py']