Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

symbol lookup error: /lib/libgdal.so.26: undefined symbol: TIFFReadRGBATileExt #128

Open
Lihatoo opened this issue Oct 29, 2024 · 1 comment

Comments

@Lihatoo
Copy link

Lihatoo commented Oct 29, 2024

/home/lihatoo/sim_ws/devel/lib/esim_ros/esim_node --data_source=2 \
--path_to_output_bag=/home/lihatoo/afile/esim/out.bag \
--path_to_data_folder=/home/lihatoo/afile/esim/frames \
--ros_publisher_frame_rate=60 \
--exposure_time_ms=10.0 \
--use_log_image=1 \
--log_eps=0.1 \
--contrast_threshold_pos=0.15 \
--contrast_threshold_neg=0.15

error:

/home/lihatoo/sim_ws/devel/lib/esim_ros/esim_node: symbol lookup error: /lib/libgdal.so.26: undefined symbol: TIFFReadRGBATileExt, version LIBTIFF_4.0

Why did the program still throw an error even though it compiled successfully? The issue was resolved during the compilation process by adding the following lines to the CMakeLists.txt:

find_package(GDAL REQUIRED)  # Added search for GDAL
find_package(TIFF REQUIRED)   # Added search for TIFF

What could be the reason for this?

@Lihatoo
Copy link
Author

Lihatoo commented Oct 29, 2024

have Resolved
just use

export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libtiff.so.5

to reload dynamic link library

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant