Antonio Larrosa bd97973ce0 registry, ptp: Canonicalize the library path returned by dladdr
On systems using UsrMerge (like openSUSE or Fedora), /lib64 is
a symlink to /usr/lib64. So dladdr is returning the path to
the gstreamer library in /lib64 in priv_gst_get_relocated_libgstreamer.
Later gst_plugin_loader_spawn tries to build the path to the
gst-plugin-scanner helper from /lib64 and ends up trying to use
/lib64/../libexec/gstreamer-1.0/gst-plugin-scanner which doesn't exist.

By canonicalizing the path with a call to realpath, gst-plugin-scanner
is found correctly under
/usr/lib64/../libexec/gstreamer-1.0/gst-plugin-scanner

Similar change applied to gstreamer/libs/gst/net/gstptpclock.c

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6322>
2024-03-12 15:51:36 +00:00
..
2023-12-17 16:13:26 +00:00
2023-06-26 19:56:55 +02:00
2022-11-09 16:03:58 +00:00
2022-12-20 14:03:35 +00:00
2023-01-24 15:25:05 +00:00
2023-01-24 15:25:05 +00:00
2023-01-24 15:25:05 +00:00
2023-01-24 15:25:05 +00:00
2024-02-20 12:30:39 +00:00
2024-02-20 19:16:54 +00:00
2024-02-20 19:16:54 +00:00
2022-10-22 22:06:13 +09:00
2023-01-24 15:25:05 +00:00
2023-06-22 23:24:58 +00:00
2023-01-24 15:25:06 +00:00
2023-01-24 15:25:05 +00:00