Undefined symbol: GEOSConcaveHull_r error

I’m getting this error when trying to run a ros2 node in a conda enviroment. I use Ros2 Humble and this is the error I’m getting
Traceback (most recent call last):
File “/home/vignesh/ros2ws_behav/src/behav/landmark_detector_ROS2.py”, line 324, in
main()
File “/home/vignesh/ros2ws_behav/src/behav/landmark_detector_ROS2.py”, line 315, in main
rclpy.spin(node)
File “/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/init.py”, line 222, in spin
executor.spin_once()
File “/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/executors.py”, line 739, in spin_once
self._spin_once_impl(timeout_sec)
File “/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/executors.py”, line 736, in _spin_once_impl
raise handler.exception()
File “/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/task.py”, line 239, in call
self._handler.send(None)
File “/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/executors.py”, line 437, in handler
await call_coroutine(entity, arg)
File “/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/executors.py”, line 362, in _execute_subscription
await await_or_execute(sub.callback, msg)
File “/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/executors.py”, line 107, in await_or_execute
return callback(*args)
File “/home/vignesh/ros2ws_behav/src/behav/landmark_detector_ROS2.py”, line 70, in image_callback
cv_image = self.bridge.imgmsg_to_cv2(msg, desired_encoding=‘passthrough’)
File “/opt/ros/humble/local/lib/python3.10/dist-packages/cv_bridge/core.py”, line 169, in imgmsg_to_cv2
dtype, n_channels = self.encoding_to_dtype_with_channels(img_msg.encoding)
File “/opt/ros/humble/local/lib/python3.10/dist-packages/cv_bridge/core.py”, line 104, in encoding_to_dtype_with_channels
return self.cvtype2_to_dtype_with_channels(self.encoding_to_cvtype2(encoding))
File “/opt/ros/humble/local/lib/python3.10/dist-packages/cv_bridge/core.py”, line 96, in encoding_to_cvtype2
from cv_bridge.boost.cv_bridge_boost import getCvType
ImportError: /lib/x86_64-linux-gnu/libgdal.so.32: undefined symbol: GEOSConcaveHull_r

I tried reinstalling GDAL and GEOS but still the error is persisting