Ticket #160 (new defect)

Opened 10 months ago

Linux shared library (.so) symlinks generated with invalid targets

Reported by: Ralith Assigned to: Gregor
Priority: major Milestone:
Component: DSSS Version:
Keywords: linux shared library so symlinks Cc:

Description

Example dsss.conf entry leading to issue:

[plugins/echo.d]
type=library
shared

echo.so.0.0.0 is built and output to libplugins/ (which I had to create manually; the build died with an error until I did so), and symlinks are generated in the same directory, but targeted as if they were in ./. For example, libplugins/echo.so would have the target libplugins/echo.so.0.0.0, leading to the system attempting to access libplugins/libplugins/echo.so.0.0.0, which does not exist. Symlinking libplugins/ to libplugins/libplugins remedies the situation, if hackishly, so long as there are no further subdirectories containing other plugins.